[Asterisk-video] libh324m on 64-bit

Klaus Keppler keppler at emtex.de
Wed Oct 1 07:48:16 CDT 2008


Hi,

there's an error in libh324m/src/Makefile: the second line
is missing a "C" at the beginning...
(there's "FLAGS" instead of "CFLAGS").

The error was hit, because the file 'golay.c' was compiled without
the -fPIC option.

Best regards,

    klaus


Konrad Rozycki schrieb:
> Hi,
> 
>     I'm trying to compile libh323m on 64-bit linux (Centos5).
> When i do make i get:
> 
> g++ -o libh324m.so -shared h324m.o src/libh324m.a `ptlib-config
> --libs` -fPIC
> /usr/bin/ld: src/libh324m.a(golay.o): relocation R_X86_64_32S against
> `a local symbol' can not be used when making a shared object;
> recompile with -fPIC
> src/libh324m.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [libh324m] Error 1
> 
> Anyone know how to fix it ?
> 
> Best Regards
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-video
> 



More information about the asterisk-video mailing list