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

Re: gfsview: undefined reference to symbol 'glEndList'



Am Samstag, den 16.02.2019, 19:35 +0100 schrieb Andreas Tille:
> Hi,
> 
> I tried to build gfsview whether I could do something to fix #921754.
> I can confirm that the build leads to
> 
> ...
> /usr/bin/ld: /build/gfsview-20121130+dfsg/batch/.libs/librender2D.a(librender2D_la-render.o): undefined reference to symbol 'glEndList'
> /usr/bin/ld: //usr/lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line
> /usr/bin/ld: /build/gfsview-20121130+dfsg/batch/.libs/librender3D.a(librender3D_la-render.o): undefined reference to symbol 'glEndList'
> /usr/bin/ld: //usr/lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> ...
> 
> I guess this is just a missing OpenGL library - but which one.  I have
> no idea about OpenGL but may be someone here on the list could help?

The symbol in question (glEndList) is provided by libGL.so, but the
linker flag (-lGL) is a missing. If one of the build-dependencies is
supposed to add this linker flag, then you need to dive deeper, which
one it is. Otherwise add an autotools macro (probably upstream should
do this, if they use symbols from libGL.so) or add the flag via
debian/rules for the moment.

Regards, Daniel

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: