Turns out that Xfree wanted to find libGL.a and libGL.la and couldn't
because on Gentoo these are located in /usr/lib/opengl/xfree/libGL*, so
I symlinked them to /usr/lib and the error went away. To write a Gentoo
ebuild I may need to sed edit the source to find the right location, but
first I need to see if it builds on a vanilla Gentoo system.

Right now I'm fighting a new problem. I'm getting almost exactly the
same linking error 'undefined reference to 'yylineno' as in
http://opendx.npaci.edu/mail/opendx-dev/2003.01/msg00052.html:
<snip>
../base/libBASE.a(Strings.o)(.text+0xcb): In function
`UniqueFilename(char const*)':
/home/jfox/dx-4.3.0/src/uipp/base/Strings.C:137: the use of `mktemp' is
dangerous, better use `mkstemp'
../dxuilib/libDXUI.a(Network.o)(.text+0x4144): In function
`Network::parse(_IO_FILE*)':
/home/jfox/dx-4.3.0/src/uipp/dxuilib/Network.C:1602: undefined reference
to `yylineno'
../dxuilib/libDXUI.a(Network.o)(.text+0x4385): In function
`Network::netParseMODULEComment(char const*)':
/home/jfox/dx-4.3.0/src/uipp/dxuilib/Network.C:1726: undefined reference
to `yylineno'
../dxuilib/libDXUI.a(Network.o)(.text+0x4458): In function
`Network::netParseMacroComment(char const*)':
/home/jfox/dx-4.3.0/src/uipp/dxuilib/Network.C:1760: undefined reference
to `yylineno'
../dxuilib/libDXUI.a(Network.o)(.text+0x4882): In function
`Network::parseVersionComment(char const*, unsigned char)':
/home/jfox/dx-4.3.0/src/uipp/dxuilib/Network.C:1928: undefined reference
to `yylineno'
../dxuilib/libDXUI.a(Network.o)(.text+0x4b5b): In function
`Network::netParseCATEGORYComment(char const*)':
/home/jfox/dx-4.3.0/src/uipp/dxuilib/Network.C:1996: undefined reference
to `yylineno'
../dxuilib/libDXUI.a(Network.o)(.text+0x4bfb):/home/jfox/dx-4.3.0/src/uipp/dxuilib/Network.C:2024:
more undefined references to `yylineno' follow
collect2: ld returned 1 exit status
</snip>

I upgraded GNU bison from 1.35 to 1.75, did make clean && ./configure &&
make and got exactly the same error during linking.

#bison --version
bison (GNU Bison) 1.75

Any idea how to fix this one?
Thanks,
Jon


On Wed, Jul 23, 2003 at 01:49:48AM -0600, David Thompson wrote:
> Most people get Mesa for free when you have XFree86 4.3 installed. I 
> don't believe much has changed since 4.2 in the hardware end of 
> things, which is what Mesa provides. Can you be a little more 
> specific?
> 
> David
> 
> >Has the website been changed to reflect all the library dependencies
> >required to build opendx?  I'm working on Gentoo Linux, which has Mesa 3.5 
> >in
> >our port(age) tree and had problems getting a good build without
> >upgrading to Mesa 5.
> >
> >I'd go look at the FreeBSD Makefile for help, but it's not up to 4.3.0
> >yet.
> >
> >What Mesa are people using to build DX?
> >
> >Regards,
> >Jon Fox
> 
> 
> -- 
> .............................................................................
> David L. Thompson                   Visualization and Imagery Solutions, 
> Inc.
> mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
>                                     Phone : (406)756-7472

Reply via email to