* compile error version 1.1.5, gcc 3.3.1
@ 2003-09-24 21:44 Christian Fischer
2003-09-24 21:53 ` Bart Oldeman
0 siblings, 1 reply; 4+ messages in thread
From: Christian Fischer @ 2003-09-24 21:44 UTC (permalink / raw)
To: linux-msdos@vger.kernel.org
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
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile error version 1.1.5, gcc 3.3.1
2003-09-24 21:44 compile error version 1.1.5, gcc 3.3.1 Christian Fischer
@ 2003-09-24 21:53 ` Bart Oldeman
2003-09-25 9:33 ` Christian Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Bart Oldeman @ 2003-09-24 21:53 UTC (permalink / raw)
To: Christian Fischer; +Cc: linux-msdos@vger.kernel.org
On Wed, 24 Sep 2003, Christian Fischer wrote:
> 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
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile error version 1.1.5, gcc 3.3.1
2003-09-24 21:53 ` Bart Oldeman
@ 2003-09-25 9:33 ` Christian Fischer
2003-09-25 10:08 ` Bart Oldeman
0 siblings, 1 reply; 4+ messages in thread
From: Christian Fischer @ 2003-09-25 9:33 UTC (permalink / raw)
To: linux-msdos@vger.kernel.org
Am Mittwoch, 24. September 2003 23:53 schrieben Sie:
>
> 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
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile error version 1.1.5, gcc 3.3.1
2003-09-25 9:33 ` Christian Fischer
@ 2003-09-25 10:08 ` Bart Oldeman
0 siblings, 0 replies; 4+ messages in thread
From: Bart Oldeman @ 2003-09-25 10:08 UTC (permalink / raw)
To: Christian Fischer; +Cc: linux-msdos@vger.kernel.org
On Thu, 25 Sep 2003, Christian Fischer wrote:
> Am Mittwoch, 24. September 2003 23:53 schrieben Sie:
>
> > 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?
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-25 10:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-24 21:44 compile error version 1.1.5, gcc 3.3.1 Christian Fischer
2003-09-24 21:53 ` Bart Oldeman
2003-09-25 9:33 ` Christian Fischer
2003-09-25 10:08 ` Bart Oldeman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox