LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2008, 07:30 PM   #1
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Rep: Reputation: 15
Angry undefined reference to `dlopen' and others


Can't seem to get xorg-server-1.5.1 to compile. I got everything else in the 7.4 release to compile.

Code:
...
make  all-am
make[3]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/vfb'
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT libfbcmap_a-fbcmap_mi.o -MD -MP -MF .deps/libfbcmap_a-fbcmap_mi.Tpo -c -o libfbcmap_a-fbcmap_mi.o `test -f '../../fb/fbcmap_mi.c' || echo './'`../../fb/fbcmap_mi.c
mv -f .deps/libfbcmap_a-fbcmap_mi.Tpo .deps/libfbcmap_a-fbcmap_mi.Po
rm -f libfbcmap.a
ar cru libfbcmap.a libfbcmap_a-fbcmap_mi.o 
ranlib libfbcmap.a
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT InitInput.o -MD -MP -MF .deps/InitInput.Tpo -c -o InitInput.o InitInput.c
InitInput.c: In function 'ProcessInputEvents':
InitInput.c:55: warning: 'miPointerUpdate' is deprecated (declared at ../../mi/mipointer.h:111)
mv -f .deps/InitInput.Tpo .deps/InitInput.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT InitOutput.o -MD -MP -MF .deps/InitOutput.Tpo -c -o InitOutput.o InitOutput.c
InitOutput.c:827: warning: 'miPointerWarpCursor' is deprecated (declared at ../../mi/mipointer.h:92)
mv -f .deps/InitOutput.Tpo .deps/InitOutput.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT dpmsstubs.o -MD -MP -MF .deps/dpmsstubs.Tpo -c -o dpmsstubs.o `test -f '../../Xext/dpmsstubs.c' || echo './'`../../Xext/dpmsstubs.c
mv -f .deps/dpmsstubs.Tpo .deps/dpmsstubs.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT stubs.o -MD -MP -MF .deps/stubs.Tpo -c -o stubs.o `test -f '../../Xi/stubs.c' || echo './'`../../Xi/stubs.c
mv -f .deps/stubs.Tpo .deps/stubs.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT miinitext.o -MD -MP -MF .deps/miinitext.Tpo -c -o miinitext.o `test -f '../../mi/miinitext.c' || echo './'`../../mi/miinitext.c
mv -f .deps/miinitext.Tpo .deps/miinitext.Po
/bin/sh ../../libtool --tag=CC   --mode=link gcc -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -rdynamic  -o Xvfb InitInput.o InitOutput.o dpmsstubs.o stubs.o miinitext.o ../../fb/libfb.la ../../xfixes/libxfixes.la ../../Xext/libXext.la ../../config/libconfig.a ../../dbe/libdbe.la   ../../glx/libglx.la ../../render/librender.la ../../randr/librandr.la ../../damageext/libdamageext.la ../../miext/damage/libdamage.la ../../miext/shadow/libshadow.la ../../Xi/libXi.la ../../xkb/libxkb.la ../../xkb/libxkbstubs.la ../../composite/libcomposite.la ../../dix/libxpstubs.la libfbcmap.a ../../dix/libdix.la ../../config/libconfig.a ../../mi/libmi.la ../../os/libos.la  -lXfont -lXau -lfontenc -lpixman-1 -lXdmcp    -lm  -lrt   -lcrypto -lm  -lrt
mkdir .libs
gcc -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -rdynamic -o Xvfb InitInput.o InitOutput.o dpmsstubs.o stubs.o miinitext.o  ../../fb/.libs/libfb.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a ../../dbe/.libs/libdbe.a ../../glx/.libs/libglx.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../composite/.libs/libcomposite.a ../../dix/.libs/libxpstubs.a libfbcmap.a ../../dix/.libs/libdix.a ../../config/libconfig.a ../../mi/.libs/libmi.a ../../os/.libs/libos.a /usr/lib/libXfont.so /usr/lib/libfreetype.so /usr/lib/libXau.so /usr/lib/libfontenc.so -lz /usr/lib/libpixman-1.so /usr/lib/libXdmcp.so -lcrypto -lm -lrt  
../../glx/.libs/libglx.a(glxdriswrast.o): In function `__glXDRIscreenProbe':
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:476: undefined reference to `dlopen'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:483: undefined reference to `dlsym'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:531: undefined reference to `dlclose'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:485: undefined reference to `dlerror'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:478: undefined reference to `dlerror'
../../glx/.libs/libglx.a(glxdriswrast.o): In function `__glXDRIscreenDestroy':
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:255: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[3]: *** [Xvfb] Error 1
make[3]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/vfb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/vfb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw'
make: *** [all-recursive] Error 1
 
Old 10-29-2008, 09:10 PM   #2
plpl303
Member
 
Registered: Oct 2008
Posts: 31

Rep: Reputation: 15
I think the functions in question are in libdl.so -- so the program should have

-ldl

added to the compile command to link in the dynamic linking library code. It's strange that it's not there automatically, however. Can you manually add -ldl to the LDFLAGS in the Makefile?
 
Old 10-30-2008, 10:17 AM   #3
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Well, I appreciate the help. I really thought that was going to work, based on some of my other searches, but it did not. I got the same error.

Code:
--- Makefile.old	2008-10-30 10:02:55.000000000 -0400
+++ Makefile	2008-10-30 10:03:22.000000000 -0400
@@ -181,7 +181,7 @@
 KDRIVE_PURE_INCS = 
 KDRIVE_PURE_LIBS = 
 LAUNCHD = no
-LDFLAGS = 
+LDFLAGS = -ldl
 LD_EXPORT_SYMBOLS_FLAG = -rdynamic
 LEX = flex
 LEXLIB = -lfl
More of the output:
Code:
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/ioport'
Making all in kbd_mode
make[5]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/kbd_mode'
make  all-am
make[6]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/kbd_mode'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/kbd_mode'
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/kbd_mode'
Making all in xorgcfg
make[5]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgcfg'
make  all-am
make[6]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgcfg'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgcfg'
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgcfg'
Making all in xorgconfig
make[5]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgconfig'
/usr/bin/cpp -undef -traditional -D__vendorversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__xorgversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__mandir__=/usr/share/man -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__= -D__xlogfile__= -D__xservername__=Xorg  -D__XCONFIGFILE__=xorg.conf -D__XSERVERNAME__=Xorg < xorgconfig.man.pre | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > xorgconfig.man
make  all-am
make[6]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgconfig'
gcc -DHAVE_CONFIG_H -I. -I../../../../include    -DCARD_DATABASE_FILE='"/usr/lib/X11/Cards"' -DPROJECTROOT='"/usr"' -DFILEMANSUFFIX='"5"' -DXVERSIONSTRING='"xorg-server 1.5.1"' -g -O2 -MT xorgconfig-cards.o -MD -MP -MF .deps/xorgconfig-cards.Tpo -c -o xorgconfig-cards.o `test -f 'cards.c' || echo './'`cards.c
mv -f .deps/xorgconfig-cards.Tpo .deps/xorgconfig-cards.Po
gcc -DHAVE_CONFIG_H -I. -I../../../../include    -DCARD_DATABASE_FILE='"/usr/lib/X11/Cards"' -DPROJECTROOT='"/usr"' -DFILEMANSUFFIX='"5"' -DXVERSIONSTRING='"xorg-server 1.5.1"' -g -O2 -MT xorgconfig-xorgconfig.o -MD -MP -MF .deps/xorgconfig-xorgconfig.Tpo -c -o xorgconfig-xorgconfig.o `test -f 'xorgconfig.c' || echo './'`xorgconfig.c
mv -f .deps/xorgconfig-xorgconfig.Tpo .deps/xorgconfig-xorgconfig.Po
/bin/sh ../../../../libtool --tag=CC   --mode=link gcc -DCARD_DATABASE_FILE='"/usr/lib/X11/Cards"' -DPROJECTROOT='"/usr"' -DFILEMANSUFFIX='"5"' -DXVERSIONSTRING='"xorg-server 1.5.1"' -g -O2   -o xorgconfig xorgconfig-cards.o xorgconfig-xorgconfig.o -lxkbfile -lX11   -lm  -lrt
mkdir .libs
gcc -DCARD_DATABASE_FILE=\"/usr/lib/X11/Cards\" -DPROJECTROOT=\"/usr\" -DFILEMANSUFFIX=\"5\" "-DXVERSIONSTRING=\"xorg-server 1.5.1\"" -g -O2 -o xorgconfig xorgconfig-cards.o xorgconfig-xorgconfig.o  /usr/lib/libxkbfile.so /usr/lib/libX11.so /usr/lib/libxcb-xlib.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lm -lrt
rm -f xorgconfig.1
ln -s xorgconfig.man xorgconfig.1
make[6]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgconfig'
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils/xorgconfig'
make[5]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils'
make[4]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/utils'
Making all in doc
make[4]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/doc'
Making all in man
make[5]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/doc/man'
/usr/bin/cpp -undef -traditional -D__vendorversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__xorgversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__mandir__=/usr/share/man -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__= -D__xlogfile__= -D__xservername__=Xorg  -D__logdir__=/var/log < Xorg.man.pre | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[   ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > Xorg.man
rm -f Xorg.1
ln -s Xorg.man Xorg.1
/usr/bin/cpp -undef -traditional -D__vendorversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__xorgversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__mandir__=/usr/share/man -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__= -D__xlogfile__= -D__xservername__=Xorg  -D__logdir__=/var/log < xorg.conf.man.pre | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[        ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > xorg.conf.man
rm -f xorg.conf.5
ln -s xorg.conf.man xorg.conf.5
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/doc/man'make[5]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/doc'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/doc'
make[4]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86/doc'
make[4]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86 -I../../hw/xfree86/include -I../../hw/xfree86/common -I../../hw/xfree86/os-support -I../../hw/xfree86/os-support/bus -I../../os    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb  -DHAVE_XORG_CONFIG_H   -DXF86PM   -g -O2 -MT osandcommon.lo -MD -MP -MF .deps/osandcommon.Tpo -c -o osandcommon.lo osandcommon.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86 -I../../hw/xfree86/include -I../../hw/xfree86/common -I../../hw/xfree86/os-support -I../../hw/xfree86/os-support/bus -I../../os -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -DHAVE_XORG_CONFIG_H -DXF86PM -g -O2 -MT osandcommon.lo -MD -MP -MF .deps/osandcommon.Tpo -c osandcommon.c  -fPIC -DPIC -o .libs/osandcommon.o
mv -f .deps/osandcommon.Tpo .deps/osandcommon.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb  -DHAVE_XORG_CONFIG_H   -DXF86PM   -g -O2   -o libosandcommon.la  osandcommon.lo os-support/libxorgos.la common/libcommon.la -lm  -lrt
rm -fr .libs/libosandcommon.lax
mkdir .libs/libosandcommon.lax
rm -fr .libs/libosandcommon.lax/libxorgos.a
mkdir .libs/libosandcommon.lax/libxorgos.a
(cd .libs/libosandcommon.lax/libxorgos.a && ar x /sources2/xc/xorg-server-1.5.1/hw/xfree86/os-support/.libs/libxorgos.a)
rm -fr .libs/libosandcommon.lax/libcommon.a
mkdir .libs/libosandcommon.lax/libcommon.a
(cd .libs/libosandcommon.lax/libcommon.a && ar x /sources2/xc/xorg-server-1.5.1/hw/xfree86/common/.libs/libcommon.a)
ar cru .libs/libosandcommon.a .libs/osandcommon.o  .libs/libosandcommon.lax/libxorgos.a/xorgos.o .libs/libosandcommon.lax/libxorgos.a/lnx_init.o .libs/libosandcommon.lax/libxorgos.a/lnx_video.o .libs/libosandcommon.lax/libxorgos.a/lnx_mouse.o .libs/libosandcommon.lax/libxorgos.a/lnx_pci.o .libs/libosandcommon.lax/libxorgos.a/lnx_agp.o .libs/libosandcommon.lax/libxorgos.a/lnx_kmod.o .libs/libosandcommon.lax/libxorgos.a/lnx_bell.o .libs/libosandcommon.lax/libxorgos.a/bios_mmap.o .libs/libosandcommon.lax/libxorgos.a/VTsw_usl.o .libs/libosandcommon.lax/libxorgos.a/posix_tty.o .libs/libosandcommon.lax/libxorgos.a/vidmem.o .libs/libosandcommon.lax/libxorgos.a/sigio.o .libs/libosandcommon.lax/libxorgos.a/stdResource.o .libs/libosandcommon.lax/libxorgos.a/lnx_acpi.o .libs/libosandcommon.lax/libxorgos.a/lnx_apm.o .libs/libosandcommon.lax/libxorgos.a/lt1-lnx_apm.o .libs/libosandcommon.lax/libxorgos.a/Pci.o .libs/libosandcommon.lax/libxorgos.a/linuxPci.o .libs/libosandcommon.lax/libxorgos.a/xf86_Util.o .libs/libosandcommon.lax/libxorgos.a/Delay.o .libs/libosandcommon.lax/libxorgos.a/BUSmemcpy.o .libs/libosandcommon.lax/libxorgos.a/IODelay.o .libs/libosandcommon.lax/libxorgos.a/SlowBcopy.o  .libs/libosandcommon.lax/libcommon.a/xf86Configure.o .libs/libosandcommon.lax/libcommon.a/xf86Bus.o .libs/libosandcommon.lax/libcommon.a/xf86Config.o .libs/libosandcommon.lax/libcommon.a/xf86Cursor.o .libs/libosandcommon.lax/libcommon.a/xf86DGA.o .libs/libosandcommon.lax/libcommon.a/xf86DPMS.o .libs/libosandcommon.lax/libcommon.a/xf86DoProbe.o .libs/libosandcommon.lax/libcommon.a/xf86Events.o .libs/libosandcommon.lax/libcommon.a/xf86Globals.o .libs/libosandcommon.lax/libcommon.a/xf86AutoConfig.o .libs/libosandcommon.lax/libcommon.a/xf86MiscExt.o .libs/libosandcommon.lax/libcommon.a/xf86Option.o .libs/libosandcommon.lax/libcommon.a/xf86VidMode.o .libs/libosandcommon.lax/libcommon.a/xf86fbman.o .libs/libosandcommon.lax/libcommon.a/xf86cmap.o .libs/libosandcommon.lax/libcommon.a/xf86Helper.o .libs/libosandcommon.lax/libcommon.a/xf86PM.o .libs/libosandcommon.lax/libcommon.a/xf86Mode.o .libs/libosandcommon.lax/libcommon.a/xorgHelper.o .libs/libosandcommon.lax/libcommon.a/xf86Versions.o .libs/libosandcommon.lax/libcommon.a/xf86xv.o .libs/libosandcommon.lax/libcommon.a/xf86xvmc.o .libs/libosandcommon.lax/libcommon.a/xf86isaBus.o .libs/libosandcommon.lax/libcommon.a/xf86pciBus.o .libs/libosandcommon.lax/libcommon.a/xf86fbBus.o .libs/libosandcommon.lax/libcommon.a/xf86noBus.o .libs/libosandcommon.lax/libcommon.a/xf86XKB.o .libs/libosandcommon.lax/libcommon.a/xf86Xinput.o .libs/libosandcommon.lax/libcommon.a/xisb.o .libs/libosandcommon.lax/libcommon.a/xf86RandR.o .libs/libosandcommon.lax/libcommon.a/xf86DefModeSet.o
ranlib .libs/libosandcommon.a
rm -fr .libs/libosandcommon.lax
creating libosandcommon.la
(cd .libs && rm -f libosandcommon.la && ln -s ../libosandcommon.la libosandcommon.la)
gcc -DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86 -I../../hw/xfree86/include -I../../hw/xfree86/common -I../../hw/xfree86/os-support -I../../hw/xfree86/os-support/bus -I../../os    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb  -DHAVE_XORG_CONFIG_H   -DXF86PM   -g -O2 -MT xorg.o -MD -MP -MF .deps/xorg.Tpo -c -o xorg.o xorg.c
mv -f .deps/xorg.Tpo .deps/xorg.Po
/bin/sh ../../libtool --tag=CC   --mode=link gcc -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb  -DHAVE_XORG_CONFIG_H   -DXF86PM   -g -O2 -rdynamic  -o Xorg xorg.o ../../dix/libdix.la ../../config/libconfig.a ../../mi/libmi.la ../../os/libos.la common/libinit.a loader/libloader.a libosandcommon.la rac/librac.a parser/libxf86config.a dixmods/libdixmods.la modes/libxf86modes.a ramdac/libramdac.a ddc/libddc.a i2c/libi2c.a dixmods/libxorgxkb.la ../../mi/libmi.la ../../os/libos.la ../../composite/libcomposite.la ../../xfixes/libxfixes.la ../../Xext/libXextbuiltin.la ../../glx/libglx.la ../../render/librender.la ../../randr/librandr.la ../../damageext/libdamageext.la ../../miext/damage/libdamage.la ../../miext/shadow/libshadow.la ../../Xi/libXi.la ../../xkb/libxkb.la ../../dix/libxpstubs.la dixmods/libxorgxkb.la -lpciaccess   -ldl  -ldl   -lXfont -lXau -lfontenc -lpixman-1 -lXdmcp    -lm  -lrt   -lcrypto -lm  -lrt
gcc -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -DHAVE_XORG_CONFIG_H -DXF86PM -g -O2 -rdynamic -o Xorg xorg.o  ../../dix/.libs/libdix.a ../../config/libconfig.a common/libinit.a loader/libloader.a ./.libs/libosandcommon.a rac/librac.a parser/libxf86config.a dixmods/.libs/libdixmods.a modes/libxf86modes.a ramdac/libramdac.a ddc/libddc.a i2c/libi2c.a ../../mi/.libs/libmi.a ../../os/.libs/libos.a ../../composite/.libs/libcomposite.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXextbuiltin.a ../../glx/.libs/libglx.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../dix/.libs/libxpstubs.a dixmods/.libs/libxorgxkb.a /usr/lib/libpciaccess.so -ldl /usr/lib/libXfont.so /usr/lib/libfreetype.so /usr/lib/libXau.so /usr/lib/libfontenc.so -lz /usr/lib/libpixman-1.so /usr/lib/libXdmcp.so -lcrypto -lm -lrt
make[4]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86'
make[3]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86'
make[2]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/xfree86'
Making all in vfb
make[2]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/vfb'
/usr/bin/cpp -undef -traditional -D__vendorversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__xorgversion__="\"xorg-server 1.5.1\" \"X Version 11\"" -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__mandir__=/usr/share/man -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__= -D__xlogfile__= -D__xservername__=Xorg   < Xvfb.man.pre | sed -e '/^#  *[0-9][0-9]* *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > Xvfb.man
make  all-am
make[3]: Entering directory `/sources2/xc/xorg-server-1.5.1/hw/vfb'
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT libfbcmap_a-fbcmap_mi.o -MD -MP -MF .deps/libfbcmap_a-fbcmap_mi.Tpo -c -o libfbcmap_a-fbcmap_mi.o `test -f '../../fb/fbcmap_mi.c' || echo './'`../../fb/fbcmap_mi.c
mv -f .deps/libfbcmap_a-fbcmap_mi.Tpo .deps/libfbcmap_a-fbcmap_mi.Po
rm -f libfbcmap.a
ar cru libfbcmap.a libfbcmap_a-fbcmap_mi.o
ranlib libfbcmap.a
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT InitInput.o -MD -MP -MF .deps/InitInput.Tpo -c -o InitInput.o InitInput.c
InitInput.c: In function 'ProcessInputEvents':
InitInput.c:55: warning: 'miPointerUpdate' is deprecated (declared at ../../mi/mipointer.h:111)
mv -f .deps/InitInput.Tpo .deps/InitInput.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT InitOutput.o -MD -MP -MF .deps/InitOutput.Tpo -c -o InitOutput.o InitOutput.c
InitOutput.c:827: warning: 'miPointerWarpCursor' is deprecated (declared at ../../mi/mipointer.h:92)
mv -f .deps/InitOutput.Tpo .deps/InitOutput.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT dpmsstubs.o -MD -MP -MF .deps/dpmsstubs.Tpo -c -o dpmsstubs.o `test -f '../../Xext/dpmsstubs.c' || echo './'`../../Xext/dpmsstubs.c
mv -f .deps/dpmsstubs.Tpo .deps/dpmsstubs.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT stubs.o -MD -MP -MF .deps/stubs.Tpo -c -o stubs.o `test -f '../../Xi/stubs.c' || echo './'`../../Xi/stubs.c
mv -f .deps/stubs.Tpo .deps/stubs.Po
gcc -DHAVE_CONFIG_H -I. -I../../include    -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -MT miinitext.o -MD -MP -MF .deps/miinitext.Tpo -c -o miinitext.o `test -f '../../mi/miinitext.c' || echo './'`../../mi/miinitext.c
mv -f .deps/miinitext.Tpo .deps/miinitext.Po
/bin/sh ../../libtool --tag=CC   --mode=link gcc -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS  -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1     -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -rdynamic  -o Xvfb InitInput.o InitOutput.o dpmsstubs.o stubs.o miinitext.o ../../fb/libfb.la ../../xfixes/libxfixes.la ../../Xext/libXext.la ../../config/libconfig.a ../../dbe/libdbe.la   ../../glx/libglx.la ../../render/librender.la ../../randr/librandr.la ../../damageext/libdamageext.la ../../miext/damage/libdamage.la ../../miext/shadow/libshadow.la ../../Xi/libXi.la ../../xkb/libxkb.la ../../xkb/libxkbstubs.la ../../composite/libcomposite.la ../../dix/libxpstubs.la libfbcmap.a ../../dix/libdix.la ../../config/libconfig.a ../../mi/libmi.la ../../os/libos.la  -lXfont -lXau -lfontenc -lpixman-1 -lXdmcp   -lm  -lrt   -lcrypto -lm  -lrt
mkdir .libs
gcc -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -rdynamic -o Xvfb InitInput.o InitOutput.o dpmsstubs.o stubs.o miinitext.o  ../../fb/.libs/libfb.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a ../../dbe/.libs/libdbe.a ../../glx/.libs/libglx.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../composite/.libs/libcomposite.a ../../dix/.libs/libxpstubs.a libfbcmap.a ../../dix/.libs/libdix.a ../../config/libconfig.a ../../mi/.libs/libmi.a ../../os/.libs/libos.a /usr/lib/libXfont.so /usr/lib/libfreetype.so /usr/lib/libXau.so /usr/lib/libfontenc.so -lz /usr/lib/libpixman-1.so /usr/lib/libXdmcp.so -lcrypto -lm -lrt
../../glx/.libs/libglx.a(glxdriswrast.o): In function `__glXDRIscreenProbe':
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:476: undefined reference to `dlopen'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:483: undefined reference to `dlsym'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:531: undefined reference to `dlclose'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:485: undefined reference to `dlerror'
/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:478: undefined reference to `dlerror'
../../glx/.libs/libglx.a(glxdriswrast.o): In function `__glXDRIscreenDestroy':/sources2/xc/xorg-server-1.5.1/glx/glxdriswrast.c:255: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[3]: *** [Xvfb] Error 1
make[3]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/vfb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw/vfb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources2/xc/xorg-server-1.5.1/hw'
make: *** [all-recursive] Error 1

Last edited by versaulis; 10-30-2008 at 10:42 AM.
 
Old 10-30-2008, 11:10 PM   #4
plpl303
Member
 
Registered: Oct 2008
Posts: 31

Rep: Reputation: 15
But interestingly enough, the line that fails does NOT seem to have -ldl in it (though others in the dump do).

Perhaps the LDFLAGS in

/sources2/xc/xorg-server-1.5.1/hw/vfb/Makefile

need to have -ldl added as well?
 
Old 10-30-2008, 11:48 PM   #5
giftlftr_23
Member
 
Registered: Oct 2008
Location: I live where I'm currently standing on
Distribution: fedora, opensuse
Posts: 34

Rep: Reputation: 17
try to run the configure script this way

export LIBS=-ldl && ./configure
 
Old 10-31-2008, 10:31 AM   #6
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by giftlftr_23 View Post
try to run the configure script this way

export LIBS=-ldl && ./configure
That worked really well, thanks!
 
Old 08-10-2009, 02:17 PM   #7
western1
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Cool Thanks for help on xorg-server!!!

Tried adding the export LIBS=-ldl and it worked.
Excellent!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
undefined reference to dlopen, dlclose, dlsym and dlerror patrickdepingui Slackware 5 02-14-2010 09:55 AM
undefined reference to.... crapodino Programming 1 01-13-2008 08:05 PM
Dlopen function - UNDEFINED REFERENCE mamthababu Programming 1 07-19-2005 11:20 AM
Undefined Reference ChemicalBurn Programming 2 02-14-2005 04:01 AM
undefined reference mp4-10 Programming 3 01-25-2005 01:38 PM


All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration