Error while installation

Asked by Ashok Kumar on 2014-07-01

I am getting the following error / warning during installation. Is this okay or anything need to be done??

make all
make all-recursive
make[1]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0'
Making all in src
make[2]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src'
Making all in common
make[3]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
Making all in protocols
make[4]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common/protocols'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common/protocols'
Making all in .
make[4]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
  CC librohc_common_la-crc.lo
cc1: warnings being treated as errors
crc.c: In function ‘crc_calculate’:
crc.c:307: error: will never be executed
crc.c: In function ‘rohc_crc_get_polynom’:
crc.c:988: error: will never be executed
make[4]: *** [librohc_common_la-crc.lo] Error 1
make[4]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0'
make: *** [all] Error 2
bcg@BCGA53:~/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0$ make install
Making install in src
make[1]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src'
Making install in common
make[2]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
Making install in protocols
make[3]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common/protocols'
make[4]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/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 `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common/protocols'
make[3]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common/protocols'
Making install in .
make[3]: Entering directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
  CC librohc_common_la-crc.lo
cc1: warnings being treated as errors
crc.c: In function ‘crc_calculate’:
crc.c:307: error: will never be executed
crc.c: In function ‘rohc_crc_get_polynom’:
crc.c:988: error: will never be executed
make[3]: *** [librohc_common_la-crc.lo] Error 1
make[3]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src/common'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/src'
make: *** [install-recursive] Error 1
bcg@BCGA53:~/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0$

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
Didier Barvaux
Solved:
2014-10-09
Last query:
2014-10-09
Last reply:
2014-07-02

Hello,

> CC librohc_common_la-crc.lo
> cc1: warnings being treated as errors
> crc.c: In function ‘crc_calculate’:
> crc.c:307: error: will never be executed
> crc.c: In function ‘rohc_crc_get_polynom’:
> crc.c:988: error: will never be executed

Hmm, strange, those errors should only be non-fatal warnings by default. What is your Linux distribution? What compiler do you use? Which version of your compiler? Did you specify -Werror in your CFLAGS ? Did you run ./configure <options> or ./autogen.sh <options> ?

And what is the result of:
  $ head config.log

Regards,
Didier

Ashok Kumar (ashokkm-9) said : #2

This is how I gave the command...

bcg@BCGA53:~/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0$ ./autogen.sh
Running aclocal... done
Running libtoolize... done
Running autoconf... done
Running autoheader... done
Running automake... done
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
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 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 uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes

WARNING: --enable-app-tunnel is now deprecated

The ROHC over UDP tunnel is deprecated. This program was created
for testing purposes. The sniffer and fuzzer tools replace it for
testing. The IP/ROHC tunnel replaces it as tunneling solution
(better efficiency, designed for production).

The ROHC over UDP tunnel will be removed in version 2.0.0.

checking for a sed that does not truncate output... (cached) /bin/sed
checking for gawk... (cached) gawk
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking pcap/pcap.h usability... yes
checking pcap/pcap.h presence... yes
checking for pcap/pcap.h... yes
checking for pcap_open_offline in -lpcap... yes
checking for pcap_datalink in -lpcap... yes
checking for pcap_next in -lpcap... yes
checking for pcap_close in -lpcap... yes
checking for pcap_dump_open in -lpcap... yes
checking for pcap_dump in -lpcap... yes
checking for pcap_dump_close in -lpcap... yes
checking whether DLT_LINUX_SLL is defined by libpcap headers... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CMOCKA... yes
checking for gnuplot... yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for sort... yes
checking for tr... yes
checking whether the Linux kernel module shall be built... yes
checking current Linux kernel version... 2.6.32-21-generic
checking Linux kernel source directory... /lib/modules/2.6.32-21-generic/build
checking Linux kernel source usability... yes
checking for doxygen... yes
checking for latex... yes
checking for dot... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bzr_revno
config.status: creating src/Makefile
config.status: creating src/test/Makefile
config.status: creating src/common/Makefile
config.status: creating src/common/protocols/Makefile
config.status: creating src/comp/Makefile
config.status: creating src/comp/test/Makefile
config.status: creating src/comp/schemes/Makefile
config.status: creating src/comp/schemes/test/Makefile
config.status: creating src/decomp/Makefile
config.status: creating src/decomp/test/Makefile
config.status: creating src/decomp/schemes/Makefile
config.status: creating src/decomp/schemes/test/Makefile
config.status: creating test/Makefile
config.status: creating test/functional/Makefile
config.status: creating test/functional/feedback2/Makefile
config.status: creating test/functional/decompress_padding/Makefile
config.status: creating test/functional/decompress_feedback_only/Makefile
config.status: creating test/functional/context_reuse/Makefile
config.status: creating test/functional/rtp_uo_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 test/interop/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 app/stats/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.conf
config.status: creating doc/rohc.7
config.status: creating doc/rohc_protocol.7
config.status: creating doc/rohc_library.7
config.status: creating contrib/Makefile
config.status: creating contrib/rohc.spec
config.status: creating rohc.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Contents of config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ROHC library configure 1.7.0, which was
generated by GNU Autoconf 2.65. Invocation command line was

  $ ./configure --enable-rohc-debug --enable-fail-on-warning --enable-fortify-sources --enable-app-fuzzer --enable-app-performance --enable-app-sniffer --enable-app-tunnel --enable-app-stats --enable-rohc-tests --enable-doc --enable-examples --enable-linux-kernel-module

## --------- ##
## Platform. ##
## --------- ##

hostname = BCGA53
uname -m = i686
uname -r = 2.6.32-21-generic
uname -s = Linux
uname -v = #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /home/bcg/CodeSourcery/Sourcery_G++_Lite/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2582: checking for a BSD-compatible install
configure:2650: result: /usr/bin/install -c
configure:2661: checking whether build environment is sane
configure:2711: result: yes
configure:2852: checking for a thread-safe mkdir -p
configure:2891: result: /bin/mkdir -p
configure:2904: checking for gawk
configure:2920: found /usr/bin/gawk
configure:2931: result: gawk
configure:2942: checking whether make sets $(MAKE)
configure:2964: result: yes
configure:3039: checking how to create a pax tar archive
configure:3052: tar --version
tar (GNU tar) 1.22
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3055: $? = 0
configure:3095: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
configure:3098: $? = 0
configure:3102: tar -xf - <conftest.tar
configure:3105: $? = 0
configure:3118: result: gnutar
configure:3172: checking build system type
configure:3186: result: i686-pc-linux-gnu
configure:3206: checking host system type
configure:3219: result: i686-pc-linux-gnu
configure:3251: checking for style of include used by make
configure:3279: result: GNU
configure:3349: checking for gcc
configure:3365: found /usr/bin/gcc
configure:3376: result: gcc
configure:3605: checking for C compiler version
configure:3614: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3625: $? = 0
configure:3614: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configure:3625: $? = 0
configure:3614: gcc -V >&5
gcc: '-V' option must have argument
configure:3625: $? = 1
configure:3614: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3625: $? = 1
configure:3645: checking whether the C compiler works
configure:3667: gcc conftest.c >&5
configure:3671: $? = 0
configure:3720: result: yes
configure:3723: checking for C compiler default output file name
configure:3725: result: a.out
configure:3731: checking for suffix of executables
configure:3738: gcc -o conftest conftest.c >&5
configure:3742: $? = 0
configure:3764: result:
configure:3786: checking whether we are cross compiling
configure:3794: gcc -o conftest conftest.c >&5
configure:3798: $? = 0
configure:3805: ./conftest
configure:3809: $? = 0
configure:3824: result: no
configure:3829: checking for suffix of object files
configure:3851: gcc -c conftest.c >&5
configure:3855: $? = 0
configure:3876: result: o
configure:3880: checking whether we are using the GNU C compiler
configure:3899: gcc -c conftest.c >&5
configure:3899: $? = 0
configure:3908: result: yes
configure:3917: checking whether gcc accepts -g
configure:3937: gcc -c -g conftest.c >&5
configure:3937: $? = 0
configure:3978: result: yes
configure:3995: checking for gcc option to accept ISO C89
configure:4059: gcc -c -g -O2 conftest.c >&5
configure:4059: $? = 0
configure:4072: result: none needed
configure:4094: checking dependency style of gcc
configure:4204: result: gcc3
configure:4219: checking for a sed that does not truncate output
configure:4283: result: /bin/sed
configure:4301: checking for grep that handles long lines and -e
configure:4359: result: /bin/grep
configure:4364: checking for egrep
configure:4426: result: /bin/grep -E
configure:4431: checking for fgrep
configure:4493: result: /bin/grep -F
configure:4528: checking for ld used by gcc
configure:4595: result: /usr/bin/ld
configure:4602: checking if the linker (/usr/bin/ld) is GNU ld
configure:4617: result: yes
configure:4629: checking for BSD- or MS-compatible name lister (nm)
configure:4678: result: /usr/bin/nm -B
configure:4796: checking the name lister (/usr/bin/nm -B) interface
configure:4803: gcc -c -g -O2 conftest.c >&5
configure:4806: /usr/bin/nm -B "conftest.o"
configure:4809: output
00000000 B some_variable
configure:4816: result: BSD nm
configure:4819: checking whether ln -s works
configure:4823: result: yes
configure:4831: checking the maximum length of command line arguments
configure:4951: result: 1572864
configure:4968: checking whether the shell understands some XSI constructs
configure:4978: result: yes
configure:4982: checking whether the shell understands "+="
configure:4988: result: yes
configure:5023: checking for /usr/bin/ld option to reload object files
configure:5030: result: -r
configure:5099: checking for objdump
configure:5115: found /usr/bin/objdump
configure:5126: result: objdump
configure:5155: checking how to recognize dependent libraries
configure:5351: result: pass_all
configure:5411: checking for ar
configure:5427: found /usr/bin/ar
configure:5438: result: ar
configure:5516: checking for strip
configure:5532: found /usr/bin/strip
configure:5543: result: strip
configure:5615: checking for ranlib
configure:5631: found /usr/bin/ranlib
configure:5642: result: ranlib
configure:5732: checking command to parse /usr/bin/nm -B output from gcc object
configure:5850: gcc -c -g -O2 conftest.c >&5
configure:5853: $? = 0
configure:5857: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm
configure:5860: $? = 0
configure:5914: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:5917: $? = 0
configure:5955: result: ok
configure:6764: checking how to run the C preprocessor
configure:6795: gcc -E conftest.c
configure:6795: $? = 0
configure:6809: gcc -E conftest.c
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
configure:6809: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ROHC library"
| #define PACKAGE_TARNAME "rohc"
| #define PACKAGE_VERSION "1.7.0"
| #define PACKAGE_STRING "ROHC library 1.7.0"
| #define PACKAGE_BUGREPORT "http://rohc-lib.org/"
| #define PACKAGE_URL "http://rohc-lib.org/"
| #define PACKAGE_REVNO ""
| #define PACKAGE "rohc"
| #define VERSION "1.7.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6834: result: gcc -E
configure:6854: gcc -E conftest.c
configure:6854: $? = 0
configure:6868: gcc -E conftest.c
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
configure:6868: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ROHC library"
| #define PACKAGE_TARNAME "rohc"
| #define PACKAGE_VERSION "1.7.0"
| #define PACKAGE_STRING "ROHC library 1.7.0"
| #define PACKAGE_BUGREPORT "http://rohc-lib.org/"
| #define PACKAGE_URL "http://rohc-lib.org/"
| #define PACKAGE_REVNO ""
| #define PACKAGE "rohc"
| #define VERSION "1.7.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6897: checking for ANSI C header files
configure:6917: gcc -c -g -O2 conftest.c >&5
configure:6917: $? = 0
configure:6990: gcc -o conftest -g -O2 conftest.c >&5
configure:6990: $? = 0
configure:6990: ./conftest
configure:6990: $? = 0
configure:7001: result: yes
configure:7014: checking for sys/types.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for sys/stat.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for stdlib.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for string.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for memory.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for strings.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for inttypes.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for stdint.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7014: checking for unistd.h
configure:7014: gcc -c -g -O2 conftest.c >&5
configure:7014: $? = 0
configure:7014: result: yes
configure:7029: checking for dlfcn.h
configure:7029: gcc -c -g -O2 conftest.c >&5
configure:7029: $? = 0
configure:7029: result: yes
configure:7510: checking for objdir
configure:7525: result: .libs
configure:7817: checking if gcc supports -fno-rtti -fno-exceptions
configure:7835: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:7839: $? = 0
configure:7852: result: no
configure:7872: checking for gcc option to produce PIC
configure:8144: result: -fPIC -DPIC
configure:8156: checking if gcc PIC flag -fPIC -DPIC works
configure:8174: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8178: $? = 0
configure:8191: result: yes
configure:8215: checking if gcc static flag -static works
configure:8243: result: yes
configure:8258: checking if gcc supports -c -o file.o
configure:8279: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8283: $? = 0
configure:8305: result: yes
configure:8313: checking if gcc supports -c -o file.o
configure:8360: result: yes
configure:8393: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:9384: result: yes
configure:9421: checking whether -lc should be explicitly linked in
configure:9426: gcc -c -g -O2 conftest.c >&5
configure:9429: $? = 0
configure:9444: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:9447: $? = 0
configure:9459: result: no
configure:9623: checking dynamic linker characteristics
configure:10056: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10056: $? = 0
configure:10286: result: GNU/Linux ld.so
configure:10388: checking how to hardcode library paths into programs
configure:10413: result: immediate
configure:10933: checking whether stripping libraries is possible
configure:10938: result: yes
configure:10973: checking if libtool supports shared libraries
configure:10975: result: yes
configure:10978: checking whether to build shared libraries
configure:10999: result: yes
configure:11002: checking whether to build static libraries
configure:11006: result: no
configure:11097: checking for gcc
configure:11124: result: gcc
configure:11353: checking for C compiler version
configure:11362: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:11373: $? = 0
configure:11362: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5.1' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
configure:11373: $? = 0
configure:11362: gcc -V >&5
gcc: '-V' option must have argument
configure:11373: $? = 1
configure:11362: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:11373: $? = 1
configure:11377: checking whether we are using the GNU C compiler
configure:11405: result: yes
configure:11414: checking whether gcc accepts -g
configure:11475: result: yes
configure:11492: checking for gcc option to accept ISO C89
configure:11569: result: none needed
configure:11591: checking dependency style of gcc
configure:11701: result: gcc3
configure:11723: checking stdio.h usability
configure:11723: gcc -c -g -O2 conftest.c >&5
configure:11723: $? = 0
configure:11723: result: yes
configure:11723: checking stdio.h presence
configure:11723: gcc -E conftest.c
configure:11723: $? = 0
configure:11723: result: yes
configure:11723: checking for stdio.h
configure:11723: result: yes
configure:11723: checking for stdlib.h
configure:11723: result: yes
configure:11723: checking for string.h
configure:11723: result: yes
configure:11723: checking for strings.h
configure:11723: result: yes
configure:11737: checking time.h usability
configure:11737: gcc -c -g -O2 conftest.c >&5
configure:11737: $? = 0
configure:11737: result: yes
configure:11737: checking time.h presence
configure:11737: gcc -E conftest.c
configure:11737: $? = 0
configure:11737: result: yes
configure:11737: checking for time.h
configure:11737: result: yes
configure:11737: checking sys/time.h usability
configure:11737: gcc -c -g -O2 conftest.c >&5
configure:11737: $? = 0
configure:11737: result: yes
configure:11737: checking sys/time.h presence
configure:11737: gcc -E conftest.c
configure:11737: $? = 0
configure:11737: result: yes
configure:11737: checking for sys/time.h
configure:11737: result: yes
configure:11750: checking arpa/inet.h usability
configure:11750: gcc -c -g -O2 conftest.c >&5
configure:11750: $? = 0
configure:11750: result: yes
configure:11750: checking arpa/inet.h presence
configure:11750: gcc -E conftest.c
configure:11750: $? = 0
configure:11750: result: yes
configure:11750: checking for arpa/inet.h
configure:11750: result: yes
configure:11762: checking winsock2.h usability
configure:11762: gcc -c -g -O2 conftest.c >&5
conftest.c:64:22: error: winsock2.h: No such file or directory
configure:11762: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ROHC library"
| #define PACKAGE_TARNAME "rohc"
| #define PACKAGE_VERSION "1.7.0"
| #define PACKAGE_STRING "ROHC library 1.7.0"
| #define PACKAGE_BUGREPORT "http://rohc-lib.org/"
| #define PACKAGE_URL "http://rohc-lib.org/"
| #define PACKAGE_REVNO ""
| #define PACKAGE "rohc"
| #define VERSION "1.7.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ARPA_INET_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <winsock2.h>
configure:11762: result: no
configure:11762: checking winsock2.h presence
configure:11762: gcc -E conftest.c
conftest.c:31:22: error: winsock2.h: No such file or directory
configure:11762: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ROHC library"
| #define PACKAGE_TARNAME "rohc"
| #define PACKAGE_VERSION "1.7.0"
| #define PACKAGE_STRING "ROHC library 1.7.0"
| #define PACKAGE_BUGREPORT "http://rohc-lib.org/"
| #define PACKAGE_URL "http://rohc-lib.org/"
| #define PACKAGE_REVNO ""
| #define PACKAGE "rohc"
| #define VERSION "1.7.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ARPA_INET_H 1
| /* end confdefs.h. */
| #include <winsock2.h>
configure:11762: result: no
configure:11762: checking for winsock2.h
configure:11762: result: no
configure:11774: checking for sys/types.h
configure:11774: result: yes
configure:11786: checking linux/if_tun.h usability
configure:11786: gcc -c -g -O2 conftest.c >&5
configure:11786: $? = 0
configure:11786: result: yes
configure:11786: checking linux/if_tun.h presence
configure:11786: gcc -E conftest.c
configure:11786: $? = 0
configure:11786: result: yes
configure:11786: checking for linux/if_tun.h
configure:11786: result: yes
configure:11809: checking for inline
configure:11825: gcc -c -g -O2 conftest.c >&5
configure:11825: $? = 0
configure:11833: result: inline
configure:11851: checking whether byte ordering is bigendian
configure:11866: gcc -c -g -O2 conftest.c >&5
conftest.c:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
configure:11866: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ROHC library"
| #define PACKAGE_TARNAME "rohc"
| #define PACKAGE_VERSION "1.7.0"
| #define PACKAGE_STRING "ROHC library 1.7.0"
| #define PACKAGE_BUGREPORT "http://rohc-lib.org/"
| #define PACKAGE_URL "http://rohc-lib.org/"
| #define PACKAGE_REVNO ""
| #define PACKAGE "rohc"
| #define VERSION "1.7.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_LINUX_IF_TUN_H 1
| /* end confdefs.h. */
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
configure:11911: gcc -c -g -O2 conftest.c >&5
configure:11911: $? = 0
configure:11929: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:40: error: 'not' undeclared (first use in this function)
conftest.c:40: error: (Each undeclared identifier is reported only once
conftest.c:40: error: for each function it appears in.)
conftest.c:40: error: expected ';' before 'big'
configure:11929: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ROHC library"
| #define PACKAGE_TARNAME "rohc"
| #define PACKAGE_VERSION "1.7.0"
| #define PACKAGE_STRING "ROHC library 1.7.0"
| #define PACKAGE_BUGREPORT "http://rohc-lib.org/"
| #define PACKAGE_URL "http://rohc-lib.org/"
| #define PACKAGE_REVNO ""
| #define PACKAGE "rohc"
| #define VERSION "1.7.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_LINUX_IF_TUN_H 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:12057: result: no
configure:12075: checking for gcc option to accept ISO C99
configure:12224: gcc -c -g -O2 conftest.c >&5
conftest.c:83: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:137: error: 'newvar' undeclared (first use in this function)
conftest.c:137: error: (Each undeclared identifier is reported only once
conftest.c:137: error: for each function it appears in.)
conftest.c:147: error: 'for' loop initial declarations are only allowed in C99 mode
conftest.c:147: note: use option -std=c99 or -std=gnu99 to compile your code
configure:12224: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ROHC library"
| #define PACKAGE_TARNAME "rohc"
| #define PACKAGE_VERSION "1.7.0"
| #define PACKAGE_STRING "ROHC library 1.7.0"
| #define PACKAGE_BUGREPORT "http://rohc-lib.org/"
| #define PACKAGE_URL "http://rohc-lib.org/"
| #define PACKAGE_REVNO ""
| #define PACKAGE "rohc"
| #define VERSION "1.7.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_TIME_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_LINUX_IF_TUN_H 1
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:12224: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:12224: $? = 0
configure:12244: result: -std=gnu99
configure:12264: checking for malloc
configure:12264: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
conftest.c:56: warning: conflicting types for built-in function 'malloc'
configure:12264: $? = 0
configure:12264: result: yes
configure:12264: checking for calloc
configure:12264: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
conftest.c:57: warning: conflicting types for built-in function 'calloc'
configure:12264: $? = 0
configure:12264: result: yes
configure:12264: checking for free
configure:12264: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
conftest.c:58: warning: conflicting types for built-in function 'free'
configure:12264: $? = 0
configure:12264: result: yes
configure:12264: checking for memcpy
configure:12264: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
conftest.c:59: warning: conflicting types for built-in function 'memcpy'
configure:12264: $? = 0
configure:12264: result: yes
configure:12264: checking for memcmp
configure:12264: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
conftest.c:60: warning: conflicting types for built-in function 'memcmp'
configure:12264: $? = 0
configure:12264: result: yes
configure:12277: checking for ntohl
configure:12277: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:12277: $? = 0
configure:12277: result: yes
configure:12277: checking for htonl
configure:12277: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:12277: $? = 0
configure:12277: result: yes
configure:12277: checking for ntohs
configure:12277: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:12277: $? = 0
configure:12277: result: yes
configure:12277: checking for htons
configure:12277: gcc -std=gnu99 -o conftest -g -O2 conftest.c >&5
configure:12277: $? = 0
configure:12277: result: yes
configure:12289: checking for uint8_t
configure:12289: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:12289: $? = 0
configure:12289: result: yes
configure:12303: checking for uint16_t
configure:12303: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:12303: $? = 0
configure:12303: result: yes
configure:12315: checking for uint32_t
configure:12315: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:12315: $? = 0
configure:12315: result: yes
configure:12953: checking for a sed that does not truncate output
configure:13017: result: /bin/sed
configure:13038: checking for gawk
configure:13065: result: gawk
configure:13112: checking pcap.h usability
configure:13112: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:13112: $? = 0
configure:13112: result: yes
configure:13112: checking pcap.h presence
configure:13112: gcc -E conftest.c
configure:13112: $? = 0
configure:13112: result: yes
configure:13112: checking for pcap.h
configure:13112: result: yes
configure:13112: checking pcap/pcap.h usability
configure:13112: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:13112: $? = 0
configure:13112: result: yes
configure:13112: checking pcap/pcap.h presence
configure:13112: gcc -E conftest.c
configure:13112: $? = 0
configure:13112: result: yes
configure:13112: checking for pcap/pcap.h
configure:13112: result: yes
configure:13133: checking for pcap_open_offline in -lpcap
configure:13158: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpcap >&5
configure:13158: $? = 0
configure:13168: result: yes
configure:13178: checking for pcap_datalink in -lpcap
configure:13203: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpcap >&5
configure:13203: $? = 0
configure:13213: result: yes
configure:13223: checking for pcap_next in -lpcap
configure:13248: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpcap >&5
configure:13248: $? = 0
configure:13258: result: yes
configure:13268: checking for pcap_close in -lpcap
configure:13293: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpcap >&5
configure:13293: $? = 0
configure:13303: result: yes
configure:13313: checking for pcap_dump_open in -lpcap
configure:13338: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpcap >&5
configure:13338: $? = 0
configure:13348: result: yes
configure:13358: checking for pcap_dump in -lpcap
configure:13383: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpcap >&5
configure:13383: $? = 0
configure:13393: result: yes
configure:13403: checking for pcap_dump_close in -lpcap
configure:13428: gcc -std=gnu99 -o conftest -g -O2 conftest.c -lpcap >&5
configure:13428: $? = 0
configure:13438: result: yes
configure:13465: checking whether DLT_LINUX_SLL is defined by libpcap headers
configure:13485: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:13485: $? = 0
configure:13491: result: yes
configure:13553: checking for pkg-config
configure:13571: found /usr/bin/pkg-config
configure:13583: result: /usr/bin/pkg-config
configure:13608: checking pkg-config is at least version 0.9.0
configure:13611: result: yes
configure:13622: checking for CMOCKA
configure:13630: $PKG_CONFIG --exists --print-errors "cmocka >= 0.3.1"
configure:13633: $? = 0
configure:13648: $PKG_CONFIG --exists --print-errors "cmocka >= 0.3.1"
configure:13651: $? = 0
configure:13687: result: yes
configure:13923: checking for gnuplot
configure:13939: found /usr/bin/gnuplot
configure:13951: result: yes
configure:13971: checking for grep that handles long lines and -e
configure:14029: result: /bin/grep
configure:14048: checking for sort
configure:14064: found /usr/bin/sort
configure:14076: result: yes
configure:14098: checking for tr
configure:14114: found /usr/bin/tr
configure:14126: result: yes
configure:14174: checking whether the Linux kernel module shall be built
configure:14180: result: yes
configure:14193: checking current Linux kernel version
configure:14196: result: 2.6.32-21-generic
configure:14201: checking Linux kernel source directory
configure:14209: result: /lib/modules/2.6.32-21-generic/build
configure:14212: checking Linux kernel source usability
configure:14228: result: yes
configure:14295: checking for doxygen
configure:14311: found /usr/bin/doxygen
configure:14323: result: yes
configure:14345: checking for latex
configure:14361: found /usr/bin/latex
configure:14373: result: yes
configure:14395: checking for dot
configure:14411: found /usr/bin/dot
configure:14423: result: yes
configure:14779: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by ROHC library config.status 1.7.0, which was
generated by GNU Autoconf 2.65. Invocation command line was

  CONFIG_FILES =
  CONFIG_HEADERS =
  CONFIG_LINKS =
  CONFIG_COMMANDS =
  $ ./config.status

on BCGA53

config.status:1191: creating Makefile
config.status:1191: creating bzr_revno
config.status:1191: creating src/Makefile
config.status:1191: creating src/test/Makefile
config.status:1191: creating src/common/Makefile
config.status:1191: creating src/common/protocols/Makefile
config.status:1191: creating src/comp/Makefile
config.status:1191: creating src/comp/test/Makefile
config.status:1191: creating src/comp/schemes/Makefile
config.status:1191: creating src/comp/schemes/test/Makefile
config.status:1191: creating src/decomp/Makefile
config.status:1191: creating src/decomp/test/Makefile
config.status:1191: creating src/decomp/schemes/Makefile
config.status:1191: creating src/decomp/schemes/test/Makefile
config.status:1191: creating test/Makefile
config.status:1191: creating test/functional/Makefile
config.status:1191: creating test/functional/feedback2/Makefile
config.status:1191: creating test/functional/decompress_padding/Makefile
config.status:1191: creating test/functional/decompress_feedback_only/Makefile
config.status:1191: creating test/functional/context_reuse/Makefile
config.status:1191: creating test/functional/rtp_uo_disambiguation/Makefile
config.status:1191: creating test/functional/rtp_detection/Makefile
config.status:1191: creating test/functional/segment/Makefile
config.status:1191: creating test/robustness/Makefile
config.status:1191: creating test/robustness/empty_payload/Makefile
config.status:1191: creating test/robustness/damaged_packet/Makefile
config.status:1191: creating test/robustness/lost_packet/Makefile
config.status:1191: creating test/robustness/piggybacking_feedback/Makefile
config.status:1191: creating test/robustness/malformed_rohc_packets/Makefile
config.status:1191: creating test/non_regression/Makefile
config.status:1191: creating test/interop/Makefile
config.status:1191: creating examples/Makefile
config.status:1191: creating linux/Makefile
config.status:1191: creating app/Makefile
config.status:1191: creating app/performance/Makefile
config.status:1191: creating app/tunnel/Makefile
config.status:1191: creating app/sniffer/Makefile
config.status:1191: creating app/fuzzer/Makefile
config.status:1191: creating app/stats/Makefile
config.status:1191: creating doc/Makefile
config.status:1191: creating doc/doxygen.conf
config.status:1191: creating doc/rohc.7
config.status:1191: creating doc/rohc_protocol.7
config.status:1191: creating doc/rohc_library.7
config.status:1191: creating contrib/Makefile
config.status:1191: creating contrib/rohc.spec
config.status:1191: creating rohc.pc
config.status:1191: creating config.h
config.status:1363: config.h is unchanged
config.status:1411: executing depfiles commands
config.status:1411: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CMOCKA_CFLAGS_set=
ac_cv_env_CMOCKA_CFLAGS_value=
ac_cv_env_CMOCKA_LIBS_set=
ac_cv_env_CMOCKA_LIBS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_calloc=yes
ac_cv_func_free=yes
ac_cv_func_htonl=yes
ac_cv_func_htons=yes
ac_cv_func_malloc=yes
ac_cv_func_memcmp=yes
ac_cv_func_memcpy=yes
ac_cv_func_ntohl=yes
ac_cv_func_ntohs=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_linux_if_tun_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_pcap_h=yes
ac_cv_header_pcap_pcap_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_winsock2_h=no
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_pcap___pcap_close=yes
ac_cv_lib_pcap___pcap_datalink=yes
ac_cv_lib_pcap___pcap_dump=yes
ac_cv_lib_pcap___pcap_dump_close=yes
ac_cv_lib_pcap___pcap_dump_open=yes
ac_cv_lib_pcap___pcap_next=yes
ac_cv_lib_pcap___pcap_open_offline=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_is_dot_found=yes
ac_cv_prog_is_doxygen_found=yes
ac_cv_prog_is_gnuplot_found=yes
ac_cv_prog_is_latex_found=yes
ac_cv_prog_is_sort_found=yes
ac_cv_prog_is_tr_found=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_prog_tar_pax=gnutar
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
pkg_cv_CMOCKA_CFLAGS=' '
pkg_cv_CMOCKA_LIBS='-lcmocka '

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
APP_FUZZER_FALSE='#'
APP_FUZZER_TRUE=''
APP_PERF_FALSE='#'
APP_PERF_TRUE=''
APP_SNIFFER_FALSE='#'
APP_SNIFFER_TRUE=''
APP_STATS_FALSE='#'
APP_STATS_TRUE=''
APP_TUNNEL_FALSE='#'
APP_TUNNEL_TRUE=''
AR='ar'
AS='as'
AUTOCONF='${SHELL} /home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/missing --run automake-1.11'
AWK='gawk'
BUILD_DOC_FALSE='#'
BUILD_DOC_MAN_FALSE=''
BUILD_DOC_MAN_TRUE='#'
BUILD_DOC_TRUE=''
BUILD_EXAMPLES_FALSE='#'
BUILD_EXAMPLES_TRUE=''
CC='gcc -std=gnu99'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CMOCKA_CFLAGS=' '
CMOCKA_LIBS='-lcmocka '
CODE_COVERAGE_FALSE=''
CODE_COVERAGE_TRUE='#'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='dlltool'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='rohc'
PACKAGE_BUGREPORT='http://rohc-lib.org/'
PACKAGE_NAME='ROHC library'
PACKAGE_REVNO=''
PACKAGE_STRING='ROHC library 1.7.0'
PACKAGE_TARNAME='rohc'
PACKAGE_URL='http://rohc-lib.org/'
PACKAGE_VERSION='1.7.0'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
RANLIB='ranlib'
ROHC_API_AGE='2'
ROHC_API_CURRENT='2'
ROHC_API_REVISION='0'
ROHC_LINUX_MODULE_FALSE='#'
ROHC_LINUX_MODULE_TRUE=''
ROHC_TESTS_FALSE='#'
ROHC_TESTS_TRUE=''
ROHC_TESTS_VALGRIND_FALSE=''
ROHC_TESTS_VALGRIND_TRUE='#'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
TESTS_ENVIRONMENT=' SED=/bin/sed AWK=gawk GREP=/bin/grep'
VERSION='1.7.0'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
additional_platform_libs=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='tar --format=posix -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
configure_cflags='-g -Wall -Wstrict-prototypes -Wextra -Wunreachable-code -Wunused-function -Wunused-variable -Wshadow -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DROHC_ENABLE_DEPRECATED_API=1'
configure_ldflags=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/bcg/Ashok_Kumar/ROHC_Codes/ROHC-1.7.0/rohc-1.7.0/install-sh'
is_dot_found='yes'
is_doxy2man_found=''
is_doxygen_found='yes'
is_gnuplot_found='yes'
is_help2man_found=''
is_latex_found='yes'
is_qemu_found=''
is_sort_found='yes'
is_tr_found='yes'
is_valgrind_found=''
is_wine_found=''
is_xsltproc_found=''
is_zcov_genhtml_found=''
is_zcov_scan_found=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libpcap_includes=''
linux_kernel_src='/lib/modules/2.6.32-21-generic/build'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pcap_lib_name='pcap'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "ROHC library"
#define PACKAGE_TARNAME "rohc"
#define PACKAGE_VERSION "1.7.0"
#define PACKAGE_STRING "ROHC library 1.7.0"
#define PACKAGE_BUGREPORT "http://rohc-lib.org/"
#define PACKAGE_URL "http://rohc-lib.org/"
#define PACKAGE_REVNO ""
#define PACKAGE "rohc"
#define VERSION "1.7.0"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_TIME_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_LINUX_IF_TUN_H 1
#define HAVE_MALLOC 1
#define HAVE_CALLOC 1
#define HAVE_FREE 1
#define HAVE_MEMCPY 1
#define HAVE_MEMCMP 1
#define HAVE_NTOHL 1
#define HAVE_HTONL 1
#define HAVE_NTOHS 1
#define HAVE_HTONS 1
#define ROHC_EXTRA_DEBUG 1
#define ROHC_ENABLE_DEPRECATED_API 1
#define HAVE_PCAP_H 1
#define HAVE_PCAP_PCAP_H 1

configure: exit 0

Is my gcc creating the problem in need of update(V 5.0) ??

Re,

Don't use ./autogen.sh. It is for developers. It enables many configure options. Simply run ./configure with the options you really want as specified in http://rohc-lib.org/wiki/doku.php?id=library-install-sources#native_build_on_unix-like_systems and http://rohc-lib.org/wiki/doku.php?id=library-install-sources-options

If you don't care about documentation, additional tools or tests, simply run:
  $ ./configure --prefix=/usr

Regards,
Didier

Ashok Kumar (ashokkm-9) said : #4

Thanks Didier Barvaux, that solved my question.