compile error version 1.1.5, gcc 3.3.1
hi there,
today i've compiled version 1.1.5 taken from sourceforge.net on two different machines.
as first on athlon xp, Linux version 2.4.20-gentoo-r7, gcc version 3.2.3 (Gentoo Linux 1.4 3.2.3-r1) - with no problems.
as second one on intel p4, Linux version 2.4.20-gentoo-r7, gcc version 3.3.1 (Gentoo Linux 3.3.1-r1) - with the following result:
/usr/X11R6/lib/libXxf86vm.so: undefined reference to XextAddDisplay' /usr/X11R6/lib/libXxf86vm.so: undefined reference to XextFindDisplay' /usr/X11R6/lib/libXxf86vm.so: undefined reference to XextCreateExtension' /usr/X11R6/lib/libXxf86vm.so: undefined reference to XextRemoveDisplay' /usr/X11R6/lib/libXxf86vm.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
make[1]: *** [/root/dosemu-1.1.5/1.1.5.0/bin/dosemu.bin] Error 1 make[1]: Leaving directory `/root/dosemu-1.1.5/src'
make: *** [default] Error 2
can anybody tell me what's wrong? can i work around?
christian
Quoted 8 lines · Christian Fischer
today i've compiled version 1.1.5 taken from sourceforge.net on two different machines.
as first on athlon xp, Linux version 2.4.20-gentoo-r7, gcc version 3.2.3 (Gentoo Linux 1.4 3.2.3-r1) - with no problems.as second one on intel p4, Linux version 2.4.20-gentoo-r7, gcc version 3.3.1 (Gentoo Linux 3.3.1-r1) - with the following result:
Quoted 9 lines
/usr/X11R6/lib/libXxf86vm.so: undefined reference toXextAddDisplay' /usr/X11R6/lib/libXxf86vm.so: undefined reference toXextFindDisplay'/usr/X11R6/lib/libXxf86vm.so: undefined reference toXextCreateExtension' /usr/X11R6/lib/libXxf86vm.so: undefined reference toXextRemoveDisplay'/usr/X11R6/lib/libXxf86vm.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
make[1]: *** [/root/dosemu-1.1.5/1.1.5.0/bin/dosemu.bin] Error 1 make[1]: Leaving directory `/root/dosemu-1.1.5/src'
make: *** [default] Error 2
these functions are supposed to be in libXext.so Check your Makefile.conf; it should say something like LIBS=-lXxf86vm -lXext -lX11 -lslang -lm -ldl perhaps
LIBS=-lXext -lXxf86vm -lXext -lX11 -lslang -lm -ldl helps? In any case this doesn't appear to be a gcc problem.
Bart
Am Mittwoch, 24. September 2003 23:53 schrieben Sie:
Quoted 9 lines
these functions are supposed to be in libXext.so Check your Makefile.conf; it should say something like LIBS=-lXxf86vm -lXext -lX11 -lslang -lm -ldl perhaps
LIBS=-lXext -lXxf86vm -lXext -lX11 -lslang -lm -ldl helps? In any case this doesn't appear to be a gcc problem.Bart
it looks like
LIBS=-lXxf86vm -lX11 -lslang -lm -ldl
in my case
LIBS=-lXxf86vm -lXext -lX11 -lslang -lm -ldl
helps
well, why
LIBS=-lXxf86vm -lX11 -lslang -lm -ldl
works on my gcc3.2.3-machine?
christian
Quoted 17 lines · Christian Fischer
Am Mittwoch, 24. September 2003 23:53 schrieben Sie:
Quoted 8 lines
these functions are supposed to be in libXext.so Check your Makefile.conf; it should say something like LIBS=-lXxf86vm -lXext -lX11 -lslang -lm -ldl perhaps
LIBS=-lXext -lXxf86vm -lXext -lX11 -lslang -lm -ldl helps? In any case this doesn't appear to be a gcc problem.Bart
it looks like
LIBS=-lXxf86vm -lX11 -lslang -lm -ldl
in my case
LIBS=-lXxf86vm -lXext -lX11 -lslang -lm -ldl
helps
Quoted 3 lines
well, why
LIBS=-lXxf86vm -lX11 -lslang -lm -ldl
works on my gcc3.2.3-machine?
I think you're just lucky on your gcc 3.2.3 machine -- perhaps -lXxf86vm or -lX11 automatically link the -Xext symbols.
The configure script will use -lXext if mitshm is enabled. For some reason you're not using mitshm -- check config.log and the configure output.
But the unlikely case of not wanting mitshm but wanting xf86vm (vidmode) should be handled anyway -- so the configure script needs to be fixed.
Bart