Game Development Community

A Linux compile problem

by Hans Cremers · in Torque Game Engine · 04/23/2009 (12:36 pm) · 1 replies

I hope someone can help with this one or give me a pointer.

Below is the error log:

Quote:
$ make
ls: cannot access libogg.so.0.5.2: No such file or directory
../lib/xiph/linux/checklinks.sh: line 17: [: argument expected
ls: cannot access libtheora.so.0.1.0: No such file or directory
../lib/xiph/linux/checklinks.sh: line 17: [: argument expected
ls: cannot access libvorbisenc.so.2.0.0: No such file or directory
../lib/xiph/linux/checklinks.sh: line 17: [: argument expected
ls: cannot access libvorbisfile.so.3.1.0: No such file or directory
../lib/xiph/linux/checklinks.sh: line 17: [: argument expected
ls: cannot access libvorbis.so.0.3.0: No such file or directory
../lib/xiph/linux/checklinks.sh: line 17: [: argument expected
../lib/xiph/linux/checklinks.sh: line 27: cd: /home/tanner/Desktop/Mech: No such file or directory
--> Linking out.GCC4.3.RELEASE/torqueDemo.bin
out.GCC4.3.RELEASE/platformX86UNIX/x86UNIXCPUInfo.obj: In function `Processor::init()':
x86UNIXCPUInfo.cc:(.text+0x1bc): undefined reference to `timeHi'
x86UNIXCPUInfo.cc:(.text+0x1c2): undefined reference to `timeLo'
x86UNIXCPUInfo.cc:(.text+0x1c7): undefined reference to `clockticks'
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.3.RELEASE/torqueDemo.bin] Error 1
make: *** [default] Error 2


Used libs:
libogg/-dev 1.1.3-4build1
libtheora/-dev 1.0-2
libvorbisenc/-dev 1.2.0.dfsg-3.1
libvorbisfile 1.2.0.dfsg-3.1

Linux version:
Ubuntu 8.10 (Intrepid)
TGE 1.5.2

Much thanks in advance!

#1
05/02/2009 (9:33 am)
Turned out to be a lib version problem.

Used "locate lib*" to find the library versions.
Fixed it with in /lib/xiph/linux/checklinks.sh
and quoted the 27th line in the same file so that when I compile in a path with spaces, I don't get an error saying it can't find the location and then compiled!