Re: Re: [Serusers] make 'ing lib (xcap, presence, cds) - compling errors
tzieleniewski
tzieleniewski at o2.pl
Tue Jan 16 14:11:00 CET 2007
Thanks it worked!
first clean then make:)
Tomasz
> Hi,
> don't run "make" in libs directory if you want to use libs together with
> ser. You have to use "make -f Makefile.ser" there. If you ran "make" only,
> you have to run "make clean" prior to calling "make -f Makefile.ser ...".
> Please try it, if it helps.
>
> Vaclav
>
> ----- Original Message -----
> From: " tzieleniewski " <tzieleniewski at o2.pl>
> To: <serusers at lists.iptel.org>
> Sent: Tuesday, January 16, 2007 1:18 PM
> Subject: [Serusers] make 'ing lib (xcap, presence, cds) - compling errors
>
>
> Hi!
>
> I was trying to compile the latest cvs sources of ser.
> As always before compiling ser I tried to compile and make presence stuff
> contained in lib directory. I need the latest cvs in order to use
> modparam("pa", "auth_xcap_root",
> "http://localhost/xcap-root/voip.touk.pl/").
> Unfortunatelly there were some errors which I didn't have with my previous
> version of ottendorf (perhapse i missed something - please help mewith this
> one):
>
> ser at rd:~/src/sip_router/lib$ pwd
> /home/ser/src/sip_router/lib
> ser at rd:~/src/sip_router/lib$ make
> Making in cds
> make[1]: Wejście do katalogu `/home/ser/src/sip_router/lib/cds'
> cc -shared -Wall -I/home/ser/src/sip_router/lib -I/home/ser/src/sip_router/lib/cds/..
> -o libcds.so cds.o dbid.o dstring.o hash_table.o memory.o msg_queue.o
> ptr_vector.o ref_cntr.o rr_serialize.o serialize.o ser_profile.o
> simple_profile.o sip_utils.o sstr.o
> vector.o -L/home/ser/src/sip_router/lib/cds -L/home/ser/src/sip_router/lib/qsa
> /usr/bin/ld: cds.o: relocation R_X86_64_32 against `a local symbol' can not
> be used when making a shared object; recompile with -fPIC
> cds.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [libcds.so] Błąd 1
> make[1]: Opuszczenie katalogu `/home/ser/src/sip_router/lib/cds'
> make: *** [cds] Błąd 2
>
> and
>
> ser at rd:~/src/sip_router/lib$ make -f Makefile.ser install
> prefix="/home/ser/ser/ser-0.10.99" Making install in cds make[1]: Wejście do
> katalogu `/home/ser/src/sip_router/lib/cds'
> cc -shared -DNAME='"ser"' -DVERSION='"0.10.99-dev64"' -DARCH='"x86_64"' -DOS='linux_'
> -DOS_QUOTED='"linux"' -DCOMPILER='"gcc
> 4.1.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=10099 -DCFG_DIR='"/home/ser/ser/ser-0.10.99/etc/ser/"'
> -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
> -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
> -DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM
> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
> -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
> -DSIGINFO64_WORKARROUND -DHAVE_SELECT -DSER -fPIC -DPIC -g -O9 -funroll-loops
> -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=opteron
> -Wall -Wall -I/home/ser/src/sip_router/lib -I/home/ser/src/sip_router/lib/..
> -ldl -lresolv -L/home/ser/src/sip_router/lib/cds -L/home/ser/src/sip_router/lib/qsa
> -o lib_ser_cds.so cds.o dbid.o dstring.o hash_table.o memory.o msg_queue.o
> ptr_vector.o ref_cntr.o rr_serialize.o serialize.o ser_profile.o
> simple_profile.o sip_utils.o sstr.o vector.o
> /usr/bin/ld: cds.o: relocation R_X86_64_32 against `a local symbol' can not
> be used when making a shared object; recompile with -fPIC
> cds.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [lib_ser_cds.so] Błąd 1
> make[1]: Opuszczenie katalogu `/home/ser/src/sip_router/lib/cds'
> make: [cds] Błąd 2 (zignorowany)
> Making install in xcap
> make[1]: Wejście do katalogu `/home/ser/src/sip_router/lib/xcap'
> cc -shared -DNAME='"ser"' -DVERSION='"0.10.99-dev64"' -DARCH='"x86_64"' -DOS='linux_'
> -DOS_QUOTED='"linux"' -DCOMPILER='"gcc
> 4.1.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=10099 -DCFG_DIR='"/home/ser/ser/ser-0.10.99/etc/ser/"'
> -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
> -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
> -DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM
> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
> -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
> -DSIGINFO64_WORKARROUND -DHAVE_SELECT -DSER -fPIC -DPIC -g -O9 -funroll-loops
> -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=opteron
> -Wall -Wall -I/home/ser/src/sip_router/lib -I/home/ser/src/sip_router/lib/..
> -I/usr/include/libxml2 -ldl -lresolv -L/home/ser/src/sip_router/lib/cds -L/home/ser/src/sip_router/lib/qsa
> -lxml2 -l_ser_cds -o lib_ser_xcap.so common_policy.o msg_rules.o
> parse_common_rules.o parse_msg_rules.o parse_pres_rules.o pres_rules.o
> resource_list.o resource_lists_parser.o rls_services_parser.o xcap_client.o
> xml_utils.o
> /usr/bin/ld: cannot find -l_ser_cds
> collect2: ld returned 1 exit status
> make[1]: *** [lib_ser_xcap.so] Błąd 1
> make[1]: Opuszczenie katalogu `/home/ser/src/sip_router/lib/xcap'
> make: [xcap] Błąd 2 (zignorowany)
> Making install in presence
> make[1]: Wejście do katalogu `/home/ser/src/sip_router/lib/presence'
> cc -shared -DNAME='"ser"' -DVERSION='"0.10.99-dev64"' -DARCH='"x86_64"' -DOS='linux_'
> -DOS_QUOTED='"linux"' -DCOMPILER='"gcc
> 4.1.2"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=10099 -DCFG_DIR='"/home/ser/ser/ser-0.10.99/etc/ser/"'
> -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
> -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST
> -DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM
> -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
> -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
> -DSIGINFO64_WORKARROUND -DHAVE_SELECT -DSER -fPIC -DPIC -g -O9 -funroll-loops
> -Wcast-align -minline-all-stringops -falign-loops -ftree-vectorize -mtune=opteron
> -Wall -Wall -I/home/ser/src/sip_router/lib -I/home/ser/src/sip_router/lib/..
> -I/usr/include/libxml2 -ldl -lresolv -L/home/ser/src/sip_router/lib/cds -L/home/ser/src/sip_router/lib/qsa
> -lxml2 -l_ser_cds -o lib_ser_presence.so domain_maintainer.o lpidf.o
> notifier_domain.o pidf.o pres_doc.o qsa.o qsa_params.o utils.o xml_utils.o
> xpidf.o
> /usr/bin/ld: cannot find -l_ser_cds
> collect2: ld returned 1 exit status
> make[1]: *** [lib_ser_presence.so] Błąd 1
> make[1]: Opuszczenie katalogu `/home/ser/src/sip_router/lib/presence'
> make: [presence] Błąd 2 (zignorowany)
>
> Bests
> TOmasz
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
More information about the sr-users
mailing list