It is an annoying mystery to me, but I still get this error:

Undefined                       first referenced
 symbol                             in file
XdmcpWrap                           ../../os/os.O
XdmcpUnwrap                         ../../os/os.O
ld: fatal: Symbol referencing errors. No output written to Xorg


Everything that normally works, doesn't for some reason.


/usr/sfw/bin/gcc -DHAVE_XORG_CONFIG_H -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DXTHREADS -DXUSE_MTSAFE_API -DLG3D -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 -O3 -fno-omit-frame-pointer
-Wall -O0 -mcpu=ultrasparc -m32 -D_FILE_OFFSET_BITS=64 -rdynamic
-Wl,-M -Wl,mapfile.scope -O3 -fno-omit-frame-pointer -Wall -O0
-mcpu=ultrasparc -m32 -D_FILE_OFFSET_BITS=64 -z combreloc -z lazyload
-Wl,-M -Wl,/usr/lib/ld/map.pagealign -Wl,-M
-Wl,/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/../../common/mapfiles/map.noexbss
-Wl,-M -Wl,/usr/lib/ld/map.bssalign -Wl,-M -Wl,/usr/lib/ld/map.noexstk
-Wl,-M 
-Wl,/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/../../common/mapfiles/map.noexbss
-Wl,-B -Wl,direct -o Xorg xorg.o ../../dix/dix.O ../../os/os.O
-L/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/../../../proto-sun4-svr4/usr/lib
-L/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/../../../proto-sun4-svr4/usr/X11/lib
-L/usr/sfw/lib 
-L/media/0A/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/xserver/xorg/../../../proto-sun4-svr4/usr/X11/lib/X11/xserver
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
../../composite/.libs/libcomposite.a ../../mi/.libs/libmi.a
../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXextbuiltin.a
../../GL/glx/.libs/libglx.a ../../GL/mesa/.libs/libGLcore.a
../../render/.libs/librender.a ../../randr/.libs/librandr.a
../../damageext/.libs/libdamageext.a
../../miext/damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a
../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a
../../xkb/.libs/libxkb.a ../../dix/.libs/libxpstubs.a
-L/usr/X11/lib/X11/xserver -L/usr/X11/lib -lXfont -lXau -lfontenc
-lXdmcp dixmods/.libs/libxorgxkb.a -lnsl -lsocket -lm -lproject
-R/usr/sfw/lib -R/usr/X11/lib/X11/xserver -R/usr/X11/lib

does have a "-lXdmcp" already.
The correct new libXdmco.so.6 _is_ in place. For redundancy not only
in the proto area, but also in /usr/X11/lib and /usr/X11/lib/sparcv9.
It does export the right symbols, but when I try to link Xorg ld does
not find them;


bash-3.2$ nm /usr/X11/lib/libXdm*|grep XdmcpWrap
[34]    |      9168|       816|FUNC |LOCL |2    |12     |XdmcpWrap
[38]    |      9984|       600|FUNC |LOCL |2    |12
|_XdmcpWrapperToOddParity
[34]    |      9168|       816|FUNC |LOCL |2    |12     |XdmcpWrap
[38]    |      9984|       600|FUNC |LOCL |2    |12
|_XdmcpWrapperToOddParity
bash-3.2$ nm /usr/X11/lib/libXdm*|grep XdmcpUnwrap
[37]    |      7872|       432|FUNC |LOCL |2    |12     |XdmcpUnwrap
[37]    |      7872|       432|FUNC |LOCL |2    |12     |XdmcpUnwrap


Those names are reported by nm in their full correct name, no hidden
names with any leading "_" or anything.
Not even setting -L or -R to another additional location helps, more:
Not even LD_PRELOAD_32=foo/libXdmco.so.6 gcc ...

Nothing.
I lost so many hours for this unimportant journey.
I have to prepare for my Interview.
I stop this odd thing and disable xdmauth for now.
Hopefully not many bugs are in the actual pkgdefs themselves,
hopefully I have enough time to fix them in a hurry.

--
%martin

Reply via email to