← Back to team overview

rohc team mailing list archive

Re: [Question #234832]: compilation error

 

Question #234832 on rohc changed:
https://answers.launchpad.net/rohc/+question/234832

manish shivare gave more information on the question:
hello sir,
yes, i try to re-install according to your instruction
but still found compilation error-
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for sys/types.h... (cached) yes
checking linux/if_tun.h usability... yes
checking linux/if_tun.h presence... yes
checking for linux/if_tun.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for gcc option to accept ISO C99... -std=gnu99
checking for malloc... yes
checking for calloc... yes
checking for free... yes
checking for memcpy... yes
checking for memcmp... yes
checking for ntohl... yes
checking for htonl... yes
checking for ntohs... yes
checking for htons... yes
checking for sched_setscheduler... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking whether the Linux kernel module shall be built... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bzr_revno
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/common/protocols/Makefile
config.status: creating src/common/test/Makefile
config.status: creating src/comp/Makefile
config.status: creating src/comp/test/Makefile
config.status: creating src/decomp/Makefile
config.status: creating test/Makefile
config.status: creating test/functional/Makefile
config.status: creating test/functional/feedback2/Makefile
config.status: creating test/functional/feedback_ring/Makefile
config.status: creating test/functional/decompress_feedback_only/Makefile
config.status: creating test/functional/context_reuse/Makefile
config.status: creating test/functional/rtp_uor2_disambiguation/Makefile
config.status: creating test/functional/rtp_detection/Makefile
config.status: creating test/functional/segment/Makefile
config.status: creating test/robustness/Makefile
config.status: creating test/robustness/empty_payload/Makefile
config.status: creating test/robustness/damaged_packet/Makefile
config.status: creating test/robustness/lost_packet/Makefile
config.status: creating test/robustness/piggybacking_feedback/Makefile
config.status: creating test/robustness/malformed_rohc_packets/Makefile
config.status: creating test/non_regression/Makefile
config.status: creating statistics/Makefile
config.status: creating examples/Makefile
config.status: creating linux/Makefile
config.status: creating app/Makefile
config.status: creating app/performance/Makefile
config.status: creating app/tunnel/Makefile
config.status: creating app/sniffer/Makefile
config.status: creating app/fuzzer/Makefile
config.status: creating doc/doxygen.conf
config.status: creating doc/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/rohc.spec
config.status: creating rohc.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
manish@manish-HP-630-Notebook-PC:/tmp/rohc_sources/rohc-1.6.1$ make clean
all install
Making clean in src
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making clean in .
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making clean in common
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making clean in protocols
make[3]: Entering directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
rm -rf .libs _libs
rm -f *.lo
make[3]: Leaving directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
Making clean in .
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
test -z "librohc_common.la" || rm -f librohc_common.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making clean in test
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
 rm -f test_lsb_decode_wraparound test_lsb_decode_packet_loss
test_rtp_ts_wraparound
rm -rf .libs _libs
rm -f *.o
test -z "test_lsb_decode_wraparound.sh.log
test_lsb_decode_packet_loss.sh.log test_rtp_ts_wraparound.sh.log" || rm -f
test_lsb_decode_wraparound.sh.log test_lsb_decode_packet_loss.sh.log
test_rtp_ts_wraparound.sh.log
test -z "test_lsb_decode_wraparound.sh.trs
test_lsb_decode_packet_loss.sh.trs test_rtp_ts_wraparound.sh.trs" || rm -f
test_lsb_decode_wraparound.sh.trs test_lsb_decode_packet_loss.sh.trs
test_rtp_ts_wraparound.sh.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making clean in comp
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making clean in .
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
test -z "librohc_comp.la" || rm -f librohc_comp.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making clean in test
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
 rm -f test_api_robustness
rm -rf .libs _libs
rm -f *.o
test -z "test_api_robustness.sh.log" || rm -f test_api_robustness.sh.log
test -z "test_api_robustness.sh.trs" || rm -f test_api_robustness.sh.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making clean in decomp
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
test -z "librohc_decomp.la" || rm -f librohc_decomp.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making clean in app
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/app'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/app'
Making clean in contrib
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1'
rm -rf .libs _libs
test -z "" || rm -f
test -z "" || rm -f
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1'
make  all-recursive
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1'
Making all in src
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making all in .
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making all in common
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making all in protocols
make[4]: Entering directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
Making all in .
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
  CC       librohc_common_la-rohc_common.lo
  CC       librohc_common_la-rohc_packets.lo
  CC       librohc_common_la-rohc_traces_internal.lo
  CC       librohc_common_la-rohc_utils.lo
  CC       librohc_common_la-crc.lo
  CC       librohc_common_la-decode.lo
  CC       librohc_common_la-ip_id_offset_decode.lo
  CC       librohc_common_la-interval.lo
  CC       librohc_common_la-lsb_decode.lo
  CC       librohc_common_la-sdvl.lo
  CC       librohc_common_la-wlsb.lo
  CC       librohc_common_la-ip.lo
  CC       librohc_common_la-ts_sc_comp.lo
  CC       librohc_common_la-ts_sc_decomp.lo
  CC       librohc_common_la-comp_list.lo
  CC       librohc_common_la-cid.lo
  CCLD     librohc_common.la
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making all in test
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making all in comp
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making all in .
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
  CC       librohc_comp_la-rohc_comp.lo
  CC       librohc_comp_la-c_uncompressed.lo
  CC       librohc_comp_la-c_generic.lo
  CC       librohc_comp_la-c_ip.lo
  CC       librohc_comp_la-c_udp.lo
  CC       librohc_comp_la-c_udp_lite.lo
  CC       librohc_comp_la-c_esp.lo
  CC       librohc_comp_la-c_rtp.lo
  CCLD     librohc_comp.la
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making all in test
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making all in decomp
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
  CC       librohc_decomp_la-rohc_decomp.lo
  CC       librohc_decomp_la-feedback.lo
  CC       librohc_decomp_la-d_uncompressed.lo
  CC       librohc_decomp_la-d_generic.lo
  CC       librohc_decomp_la-d_ip.lo
  CC       librohc_decomp_la-d_udp.lo
  CC       librohc_decomp_la-d_udp_lite.lo
  CC       librohc_decomp_la-d_esp.lo
  CC       librohc_decomp_la-d_rtp.lo
  CCLD     librohc_decomp.la
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making all in app
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/app'
Making all in contrib
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1'
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1'
Making install in src
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making install in .
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src'
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making install in common
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making install in protocols
make[3]: Entering directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
make[4]: Entering directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
make[3]: Leaving directory
`/tmp/rohc_sources/rohc-1.6.1/src/common/protocols'
Making install in .
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
 /bin/mkdir -p '/tmp/rohc_install/lib'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c
librohc_common.la '/tmp/rohc_install/lib'
libtool: install: /usr/bin/install -c .libs/librohc_common.so.0.1.0
/tmp/rohc_install/lib/librohc_common.so.0.1.0
libtool: install: (cd /tmp/rohc_install/lib && { ln -s -f
librohc_common.so.0.1.0 librohc_common.so.0 || { rm -f librohc_common.so.0
&& ln -s librohc_common.so.0.1.0 librohc_common.so.0; }; })
libtool: install: (cd /tmp/rohc_install/lib && { ln -s -f
librohc_common.so.0.1.0 librohc_common.so || { rm -f librohc_common.so &&
ln -s librohc_common.so.0.1.0 librohc_common.so; }; })
libtool: install: /usr/bin/install -c .libs/librohc_common.lai
/tmp/rohc_install/lib/librohc_common.la
libtool: finish:
PATH="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/manish/ns2/ns-allinone-2.31/bin:/home/manish/ns2/ns-allinone-2.31/tcl8.4.14/unix:/home/manish/ns2/ns-allinone-2.31/tk8.4.14/unix:/home/manish/ns2/ns-allinone-2.31/ns-2.31/::/sbin"
ldconfig -n /tmp/rohc_install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/rohc_install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/tmp/rohc_install/include'
 /usr/bin/install -c -m 644 rohc.h rohc_packets.h rohc_traces.h
'/tmp/rohc_install/include'
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making install in test
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common/test'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/common'
Making install in comp
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making install in .
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
 /bin/mkdir -p '/tmp/rohc_install/lib'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c
librohc_comp.la '/tmp/rohc_install/lib'
libtool: install: warning: relinking `librohc_comp.la'
libtool: install: (cd /tmp/rohc_sources/rohc-1.6.1/src/comp; /bin/bash
/tmp/rohc_sources/rohc-1.6.1/libtool  --silent --tag CC --mode=relink gcc
-std=gnu99 -g -Wall -Wstrict-prototypes -g -O2 -no-undefined -version-info
1:0:1 -L../../src/common/.libs -o librohc_comp.la -rpath
/tmp/rohc_install/lib librohc_comp_la-rohc_comp.lo
librohc_comp_la-c_uncompressed.lo librohc_comp_la-c_generic.lo
librohc_comp_la-c_ip.lo librohc_comp_la-c_udp.lo
librohc_comp_la-c_udp_lite.lo librohc_comp_la-c_esp.lo
librohc_comp_la-c_rtp.lo -lrohc_common )
libtool: install: /usr/bin/install -c .libs/librohc_comp.so.0.1.0T
/tmp/rohc_install/lib/librohc_comp.so.0.1.0
libtool: install: (cd /tmp/rohc_install/lib && { ln -s -f
librohc_comp.so.0.1.0 librohc_comp.so.0 || { rm -f librohc_comp.so.0 && ln
-s librohc_comp.so.0.1.0 librohc_comp.so.0; }; })
libtool: install: (cd /tmp/rohc_install/lib && { ln -s -f
librohc_comp.so.0.1.0 librohc_comp.so || { rm -f librohc_comp.so && ln -s
librohc_comp.so.0.1.0 librohc_comp.so; }; })
libtool: install: /usr/bin/install -c .libs/librohc_comp.lai
/tmp/rohc_install/lib/librohc_comp.la
libtool: finish:
PATH="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/manish/ns2/ns-allinone-2.31/bin:/home/manish/ns2/ns-allinone-2.31/tcl8.4.14/unix:/home/manish/ns2/ns-allinone-2.31/tk8.4.14/unix:/home/manish/ns2/ns-allinone-2.31/ns-2.31/::/sbin"
ldconfig -n /tmp/rohc_install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/rohc_install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/tmp/rohc_install/include'
 /usr/bin/install -c -m 644 rohc_comp.h '/tmp/rohc_install/include'
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making install in test
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
make[4]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp/test'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/comp'
Making install in decomp
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
 /bin/mkdir -p '/tmp/rohc_install/lib'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c
librohc_decomp.la '/tmp/rohc_install/lib'
libtool: install: warning: relinking `librohc_decomp.la'
libtool: install: (cd /tmp/rohc_sources/rohc-1.6.1/src/decomp; /bin/bash
/tmp/rohc_sources/rohc-1.6.1/libtool  --silent --tag CC --mode=relink gcc
-std=gnu99 -g -Wall -Wstrict-prototypes -g -O2 -no-undefined -version-info
1:0:1 -L../../src/common/.libs -L../../src/comp/.libs -o
librohc_decomp.la-rpath /tmp/rohc_install/lib
librohc_decomp_la-rohc_decomp.lo
librohc_decomp_la-feedback.lo librohc_decomp_la-d_uncompressed.lo
librohc_decomp_la-d_generic.lo librohc_decomp_la-d_ip.lo
librohc_decomp_la-d_udp.lo librohc_decomp_la-d_udp_lite.lo
librohc_decomp_la-d_esp.lo librohc_decomp_la-d_rtp.lo -lrohc_common
-lrohc_comp )
libtool: install: /usr/bin/install -c .libs/librohc_decomp.so.0.1.0T
/tmp/rohc_install/lib/librohc_decomp.so.0.1.0
libtool: install: (cd /tmp/rohc_install/lib && { ln -s -f
librohc_decomp.so.0.1.0 librohc_decomp.so.0 || { rm -f librohc_decomp.so.0
&& ln -s librohc_decomp.so.0.1.0 librohc_decomp.so.0; }; })
libtool: install: (cd /tmp/rohc_install/lib && { ln -s -f
librohc_decomp.so.0.1.0 librohc_decomp.so || { rm -f librohc_decomp.so &&
ln -s librohc_decomp.so.0.1.0 librohc_decomp.so; }; })
libtool: install: /usr/bin/install -c .libs/librohc_decomp.lai
/tmp/rohc_install/lib/librohc_decomp.la
libtool: finish:
PATH="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/manish/ns2/ns-allinone-2.31/bin:/home/manish/ns2/ns-allinone-2.31/tcl8.4.14/unix:/home/manish/ns2/ns-allinone-2.31/tk8.4.14/unix:/home/manish/ns2/ns-allinone-2.31/ns-2.31/::/sbin"
ldconfig -n /tmp/rohc_install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/rohc_install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/tmp/rohc_install/include'
 /usr/bin/install -c -m 644 rohc_decomp.h '/tmp/rohc_install/include'
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src/decomp'
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/src'
Making install in app
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[3]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/app'
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/app'
Making install in contrib
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1/contrib'
make[1]: Entering directory `/tmp/rohc_sources/rohc-1.6.1'
make[2]: Entering directory `/tmp/rohc_sources/rohc-1.6.1'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/tmp/rohc_install/share/doc/rohc'
 /usr/bin/install -c -m 644 README INSTALL COPYING AUTHORS ChangeLog
'/tmp/rohc_install/share/doc/rohc'
 /bin/mkdir -p '/tmp/rohc_install/lib/pkgconfig'
 /usr/bin/install -c -m 644 rohc.pc '/tmp/rohc_install/lib/pkgconfig'
make[2]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1'
make[1]: Leaving directory `/tmp/rohc_sources/rohc-1.6.1'
manish@manish-HP-630-Notebook-PC:/tmp/rohc_sources/rohc-1.6.1$ cd ..
manish@manish-HP-630-Notebook-PC:/tmp/rohc_sources$ cat >
test_rohc_common.c << EOF
>  #include <stdlib.h>
>  #include <stdio.h>
> #include <rohc.h>
> int main(int argc, char **argv)
> {
> printf("ROHC version %s\n", rohc_version());
> return 0;
> }
> EOF
manish@manish-HP-630-Notebook-PC:/tmp/rohc_sources$ gcc -o test_rohc_common
-g -Wall -I/tmp/rohc_install/include     -lrohc_common
-L/tmp/rohc_install/lib/ test_rohc_common.c
/tmp/cchpXK8J.o: In function `main':
/tmp/rohc_sources/test_rohc_common.c:6: undefined reference to
`rohc_version'
collect2: error: ld returned 1 exit status


On Sat, Sep 7, 2013 at 6:36 PM, Didier Barvaux <
question234832@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Question #234832 on rohc changed:
> https://answers.launchpad.net/rohc/+question/234832
>
> Didier Barvaux posted a new comment:
> > according to my analysis this file are create problem
> > attempt to open /usr/lib/gcc/i686-linux-gnu/4.7/libgcc.so failed
> > attempt to open /usr/local/lib/libgcc_s.so failed
> > attempt to open /usr/local/lib/libgcc_s.a failed
> > because they are not present in a directory.
> > any suggestion regarding this problem.
>
> I don't think so. I got same failures on my system. libgcc.a is found,
> so the libgcc.so failure is not a problem. libgcc_s.(so|a) is found in
> another directory.
>
> Did you try to re-install as described in my previous message?
>
> Didier
>
> --
> You received this question notification because you are a member of ROHC
> Team, which is an answer contact for rohc.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc
> Post to     : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.