Posted: Tue Jan 08, 2008 11:15 am Post subject: [Asterisk-video] Problems compiling libh324m on 64-bit Cento
I am having problems compiling on a 64-bit CentOS 5 linux.
This is the result:
g++ -o libh324m.so -shared h324m.o src/libh324m.a ptlib-config --libs -fPIC /usr/bin/ld: h324m.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC h324m.o: could not read symbols: Bad value collect2: ld returned 1 exit status
I also had some problems with casts in the code. For example in H245MasterSlave.cpp:28 where you cast the class to an unsigned int.
srand((unsigned)this)
This fails the compilation with an error.
H245MasterSlave.cpp:28: error: cast from âH245MasterSlave*â to âunsigned intâ loses precision
Other than that, this is a great project and looking forward to seeing more :)
Venlig Hilsen/Kind Regards
Jon Leren Schøpzinsky
Solution Engineer
Dansk Erhvervs-Telefon A/S
tlf: +45 88200336
mob: +45 31206709
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum