Find the answer to your Linux question:
Results 1 to 6 of 6
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' ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630

    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.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You probably need to install the development (devel) package for Xdamage (or libXdamage).

  3. #3
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    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.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    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:
    Linux Mint + IceWM Registered: #371367 New Members: click here

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    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.

  6. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    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.
    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •