[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: antennavis (updated package - resolves FTBFS with binutils-gold)



On Thu, Mar 03, 2011 at 04:47:11PM +0100, Sven Hoexter wrote:
> On Thu, Mar 03, 2011 at 05:33:57PM +0200, Nanakos Chrysostomos wrote:
> > On Thu, Mar 03, 2011 at 04:27:29PM +0100, Sven Hoexter wrote:
> 
> > > * The package fails to build here with pbuilder (-1 and -2), both
> > >   linking issue.
> > > 
> > 
> > I don't have a similar problem. (?)
> 
> 
> The -1 package:
> cc -L/usr/X11R6/lib TkAntenna.o AntennaWidget.o ParseArgs.o togl.o ant.o pcard.o VisField.o VisWires.o -ltk8.4 -ltcl8.4 -lXmu -lGLU  -o TkAnt
> /usr/bin/ld: togl.o: undefined reference to symbol 'XUnmapWindow'
> /usr/bin/ld: note: 'XUnmapWindow' is defined in DSO //usr/lib/libX11.so.6 so try adding it to the linker command line
> //usr/lib/libX11.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[1]: *** [TkAnt] Error 1
> 
> The -2 package:
> cc -L/usr/X11R6/lib TkAntenna.o AntennaWidget.o ParseArgs.o togl.o ant.o pcard.o VisField.o VisWires.o -ltk8.4 -ltcl8.4 -lXmu -lGLU  -lX11 -lm -o TkAnt
> /usr/bin/ld: togl.o: undefined reference to symbol 'glXUseXFont'
> /usr/bin/ld: note: 'glXUseXFont' is defined in DSO //usr/lib/libGL.so.1 so try adding it to the linker command line
> //usr/lib/libGL.so.1: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[1]: *** [TkAnt] Error 1
> 
> 
> Both in a sid pbuilder on i386.

I really don't have the same problem.
Please try to include the opengl library on the command line as well as the glut library. Try adding -lGL to the end of LDFLAGS in the Makefile file and build
the package without using the pbuilder.
Let me know of the result please.

Thanks,
Chris.	


> 
> Sven
> -- 
> And I don't know much, but I do know this:
> With a golden heart comes a rebel fist.
>      [ Streetlight Manifesto - Here's To Life ]
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110303154711.GB16280@marvin


Reply to: