XdmcpWrap

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
Torg
New Member
Posts: 5
Joined: Tue Jun 16, 2009 12:32 am

XdmcpWrap

Post by Torg »

68b3 is failing to compile on my system complaining of a undefined reference to XdmcpWrap.

Code: Select all

 make[9]: Entering directory `/home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/script/xorg-7.4/libXpm/work/build.d/libXpm-3.5.7/sxpm'
/bin/bash ../libtool --tag=CC   --mode=link gcc -I//home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/images/build/usr/include   -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing -pipe -march=x86-64 -O2  -m64   -o sxpm sxpm.o -L//home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/images/build/usr/lib -lX11   -L//home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/images/build/usr/lib -lXt -lX11 -lSM -lICE -lXext   ../src/libXpm.la 
gcc -I//home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/images/build/usr/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -pipe -march=x86-64 -O2 -m64 -o .libs/sxpm sxpm.o  -L//home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/images/build/usr/lib -lXt -lSM -lICE -lXext ../src/.libs/libXpm.so -lX11
//home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/images/build/usr/lib/libX11.so: undefined reference to `XdmcpWrap'
collect2: ld returned 1 exit status
make[9]: *** [sxpm] Error 1
This is is a list of the linked libs for the libX11.so in question:

Code: Select all

ldd //home/mdm/svnroot/minimyth/gar-minimyth-0.21.0-68b3/images/build/usr/lib/libX11.so
	linux-vdso.so.1 =>  (0x00007fff1f3fe000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f0216d61000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f0216b5d000)
	libc.so.6 => /lib/libc.so.6 (0x00007f02167fa000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f02172a7000)
I believe this to be an issue with older builds that was resolved. At least I see posts from 2006 about this. What was that fix, so that I can patch the cross build?
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: XdmcpWrap

Post by Pablo »

It is likely picking up something from you host system. This can be caused by your host environment overriding the build system. In the past, this has been caused by having ccache enabled/installed and certain build related environment variables being set.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
pleeke
Contributor
Posts: 203
Joined: Thu Jun 30, 2005 10:25 pm

Re: XdmcpWrap

Post by pleeke »

Just a "me too" on this issue, with a couple of data points.

Building r4960 and I see the issue (from a completely new checkout into a new directory), when I build r4910 on the same machine, same user, no changes to build host (again new checkout into a new directory) it builds fine.
I don't have ccache installed.
Spulit
Contributor
Posts: 181
Joined: Tue Dec 30, 2008 5:54 pm

Re: XdmcpWrap

Post by Spulit »

I'm getting this problem too!!

Thanks
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: XdmcpWrap

Post by Pablo »

pleeke wrote:Just a "me too" on this issue, with a couple of data points.

Building r4960 and I see the issue (from a completely new checkout into a new directory), when I build r4910 on the same machine, same user, no changes to build host (again new checkout into a new directory) it builds fine.
I don't have ccache installed.
Thanks for the pointer. It helped me discover that I broke my xdmcp patch for libX11 when I updated the version of xorg-7.4/libX11. I have checked in a fix and it will be in the next build.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: XdmcpWrap

Post by Pablo »

The fix is in test build 68b4.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
Post Reply