Build problems (RTLD_DEFAULT)

Adam K Kirchhoff adamk at
Tue Jan 9 05:03:17 PST 2007

Hello all,

I've managed to get Xorg built, using jhbuild, on two boxes now, and am
moving on to a third.  All three boxes are ubunty edgy.  On this
particular box, though, I've run into a new problem:

        gcc -DHAVE_CONFIG_H -I. -I. -I../../../include
-I../../../include -I../../../include -I../../../include
-I../../../include -I../../../include -I../../../include
-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 -I./../parser
-I./../dixmods/extmod -I./../vbe -I../../../miext/cw -I./../int10
-I./../ddc -I./../i2c   -DIN_LOADER -DHAVE_DIX_CONFIG_H -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -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 -I/opt/xorg/include
-DXF86PM -g -O2 -c dlloader.c
dlloader.c: In function 'DLFindSymbol':
dlloader.c:116: error: 'RTLD_DEFAULT' undeclared (first use in this
dlloader.c:116: error: (Each undeclared identifier is reported only once
dlloader.c:116: error: for each function it appears in.)
make[4]: *** [dlloader.o] Error 1

I've checked, and dlloader.c includes dlfcn.h, which appears to define

Again, I didn't encounter this error on either of my other two boxes,
but I'm not sure if that's because I built Xorg last week on those and
something has changed since then, or if there's just something else
strange going on.  Any ideas?  Thanks!


More information about the xorg mailing list