Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Installation
Reload this Page I cannot compile Mesa 3d to save my soul
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Installation Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Reply
 
Thread Tools Display Modes
Old 02-27-2008   #1 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 3,723
Send a message via AIM to Dapper Dan
I cannot compile Mesa 3d to save my soul

I'm trying to get gparted going. Mesa3d is a dependency. Here's what happens:
Code:
make[5]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/src/glu/sgi'
make[4]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/src/glu/sgi'
make[3]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/src/glu'
make[3]: Entering directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/src/glw'
gcc -c -I../../include -I/usr/include/Motif1.2 -I/usr/X11R6/include -Wall -Wmissing-prototypes -std=c99 -ffast-math -O2 -march=i686 -pipe -fPIC -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fno-strict-aliasing GLwDrawA.c
../../bin/mklib -o GLw -linker 'gcc' -ldflags '' \
                -major 1 -minor 0 -patch 0 \
                 -install ../../lib \
                -L../../lib -lGL -L/usr/X11R6/lib -lXt -lX11 GLwDrawA.o
mklib: Making Linux shared library:  libGLw.so.1.0.0
mklib: Installing libGLw.so.1.0.0 libGLw.so.1 libGLw.so in ../../lib
make[3]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/src/glw'
make[2]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/src'
make[2]: Entering directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/progs'
Making programs for linux-dri-x86
make[3]: Entering directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/progs/xdemos'
gcc -I../../include -I/usr/X11R6/include -Wall -Wmissing-prototypes -std=c99 -ffast-math -O2 -march=i686 -pipe -fPIC -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fno-strict-aliasing  glthreads.c -L../../lib -lGLU -lGL -lm -o glthreads
../../lib/libGL.so: undefined reference to `XDamageAdd'
collect2: ld returned 1 exit status
make[3]: *** [glthreads] Error 1
make[3]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/progs/xdemos'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2/progs'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr/ports/xorg/mesa3d/work/src/Mesa-7.0.2'
make: *** [linux-dri-x86] Error 2
=======> ERROR: Building '/usr/ports/xorg/mesa3d/mesa3d#7.0.2-1.pkg.tar.gz' failed.
prt-get: error while install

-- Packages where install failed
mesa3d
The only thing I found on this suggested to do "make linux-x86" rather than "make linux-dri-x86." I still get the same error(s).

Any insight or suggestions appreciated.
Dapper Dan is offline   Reply With Quote
Old 02-28-2008   #2 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,544
You probably need to install the development (devel) package for Xdamage (or libXdamage).
daark.child is offline   Reply With Quote
Old 02-28-2008   #3 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 3,723
Send a message via AIM to Dapper Dan
Good call daark.child. I checked and xorg-libxdamage is installed, but I'll be damned if I can find it! I've done updatedb twice and still don't see it listed anywhere other than in the ports. I even un-installed it and re-installed and it still doesn't show anywhere...

EDIT: Just found it. I wasn't seeing it because it is installed as libXdamage and not libxdamage like the package is listed. Maybe it's looking for it where it's not.
Dapper Dan is offline   Reply With Quote
Old 02-28-2008   #4 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 3,723
Send a message via AIM to Dapper Dan
I don't think it is libXdamage. I've tried to build this over 10 times since last night, using every make configuration I could find. Nothing works. It just won't compile and I don't know why.:drown:
Dapper Dan is offline   Reply With Quote
Old 02-28-2008   #5 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,544
Quote:
Originally Posted by Dapper Dan View Post
I don't think it is libXdamage. I've tried to build this over 10 times since last night, using every make configuration I could find. Nothing works. It just won't compile and I don't know why.:drown:
This error message makes me believe it is
Code:
../../lib/libGL.so: undefined reference to `XDamageAdd'
Search for that error on google and you will find that most people solved the problem by installing libXdamage and its development package.
daark.child is offline   Reply With Quote
Old 02-28-2008   #6 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 3,723
Send a message via AIM to Dapper Dan
Quote:
Originally Posted by daark.child View Post
This error message makes me believe it is
Code:
../../lib/libGL.so: undefined reference to `XDamageAdd'
Search for that error on google and you will find that most people solved the problem by installing libXdamage and its development package.
LibXdamage was already installed. I didn't look for its development package, but finally broke down and installed Mesa 3d from a Slackware package. Here is the result...

Link

I appreciate your help.

EDIT: Interestingly enough, mesa3d lists xorg-libxdamage as a dependency but not its development packages.
Code:
# prt-get depends mesa3d
-- dependencies ([i] = installed)
[i] libdrm
[i] xorg-xproto
[i] xorg-glproto
[i] xorg-xextproto
[i] xorg-xcb-proto
[i] zlib
[i] libpthread-stubs
[i] xorg-xf86bigfontproto
[i] xorg-xtrans
[i] xorg-kbproto
[i] xorg-inputproto
[i] xorg-xf86vidmodeproto
[i] xorg-fixesproto
[i] xorg-damageproto
[i] xorg-makedepend
[i] xorg-libxdmcp
[i] xorg-libxau
[i] libxml2
[i] xorg-libice
[i] libxslt
[i] xorg-libsm
[i] xorg-libxcb
[i] xorg-libx11
[i] xorg-libxext
[i] xorg-libxt
[i] xorg-libxfixes
[i] xorg-libxxf86vm
[i] xorg-libxdamage
[i] mesa3d
I might go find the development packages later and try again just to see if that's what it was begging for, but for now I'm too beat with gparted to try... lol...

Last edited by Dapper Dan; 02-28-2008 at 07:25 PM.
Dapper Dan is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to save files directly on network computer?! MSux SuSE Linux Help 10 11-05-2007 04:31 PM
Intel PRO 2200 power save acting wierdly vnambood Wireless Internet 0 04-12-2007 02:02 PM
i hate windows...please save my wretched soul >.< kannz Linux Newbie 2 01-03-2007 11:27 PM
Cannot SAVE in Crossover Wine MSOffice Delphi123 Wine 2 05-24-2006 07:46 AM
How To Download and Compile Libraries/Programs Tracker Linux Newbie 7 06-06-2005 12:16 AM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 03:47 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0