On Mon, Dec 12, 2016 at 7:39 AM, Douglas R. Reno <[email protected]>
wrote:

> Guys,
>
> I'm trying to compile JasPer-2.0.0. I have all of the required and
> optional dependencies installed - including Freeglut (including Mesa and
> GLU). Upon trying to link the jiv executable, I get the following error:
>
> [ 93%] Linking C executable jiv
> cd /sources/jasper-2.0.0/jasper-2.0.0/BUILD/src/appl && /usr/bin/cmake -E
> cmake_link_script CMakeFiles/jiv.dir/link.txt --verbose=1
> /usr/bin/cc  -O3 -DNDEBUG   CMakeFiles/jiv.dir/jiv.c.o  -o jiv
> -Wl,-rpath,/sources/jasper-2.0.0/jasper-2.0.0/BUILD/src/libjasper:
> -rdynamic ../libjasper/libjasper.so.4.0.0 -ljpeg -lglut -lXmu -lXi -lm
> /usr/bin/ld: CMakeFiles/jiv.dir/jiv.c.o: undefined reference to symbol
> 'glMatrixMode'
> /usr/lib/libGL.so.1: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/appl/CMakeFiles/jiv.dir/build.make:103: src/appl/jiv]
> Error 1
> make[2]: Leaving directory '/sources/jasper-2.0.0/jasper-2.0.0/BUILD'
> make[1]: *** [CMakeFiles/Makefile2:1083: src/appl/CMakeFiles/jiv.dir/all]
> Error 2
> make[1]: Leaving directory '/sources/jasper-2.0.0/jasper-2.0.0/BUILD'
> make: *** [Makefile:164: all] Error 2
> 13.3 Elasped Time - jasper-2.0.0
>
> I seriously doubt that my following DJ's /lib64 symlink removal has to do
> anything with it, but it's possible. I won't rule that out.
>
> I can verify that libGL.so.1 exists and links to libGL.so.1.2.0. Something
> tells me that something is up with the linker. Is it trying to refer to a
> defunct symbol that was removed in Mesa-13.0.0?
>
> I suppose I could try the latest version (2.0.6) if that would be helpful.
> It's possible that their CMakeLists.txt file needs modification.
>

Upon trying Jasper-2.0.6, it appears that it compiles and works fine.
Apologies for the noise.

Bruce, I believe that you have the ticket. I can send you my stats if
needed.

Also note that the build process complains that our CMake version might be
buggy.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to