Hello everyone,
i tried to compile vls 0.5.6 for SuSE Linux 9.2 x64 latest patches installed:
uname -a
Linux gaserver 2.6.8-24.13-default #1 Fri Mar 18 10:19:42 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
on gcc -v
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib64 --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.3.4 (pre 3.3.5 20040809)
I think i found two small bugs:
1.) in File src/core/common.h line 90: u64 is declared - that conflicts with the declaration in line 113. I commented line 90 out and the error was gone. Maybe check for stdint.h before line 90?
Same with s64 in line 81 and 114.
2.) The linker complained about not having -fPIC argument in libdvb. Added -fPIC to compiler flag in libdvb and it worked all right.
As i am no programmer (at least no one for Linux), i can only guess, that this has to do with x64?
Anyway: Maybe this helps improving the software a little bit (i would love to see SuSE- RPMs in the future).
Thanks for the great work you'r doing here!
Regards, Daniel