Question #661412 on rohc changed: https://answers.launchpad.net/rohc/+question/661412
Selvaganesan Murugesan posted a new comment: Hi Didier, Great. :-). Regarding the patch, I am not working with git I usually download the offcial release then build. I have downloaded the zip file from the like you provided (https://github.com/didier- barvaux/rohc/tree/dev_compat_with_UE_mobile) and try to compile, but observing some compilation error. I have placed the complete screen capture here for your reference, ---------- root@ASOCS-EPC03:~/ROHC_fix/rohc-dev_compat_with_UE_mobile# ./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 whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf 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 whether gcc understands -c and -o together... yes 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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop 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 dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no 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 -m elf_x86_64) 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 whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether compiler understands -Wunknown-warning-option... no checking whether compiler understands -Wmisleading-indentation... no checking whether compiler understands -Wshift-overflow=2... no checking whether compiler understands -Wswitch-default... yes checking whether compiler understands -Wswitch-bool... yes checking whether compiler understands -Wsuggest-attribute=const... yes 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 for inline... inline checking whether byte ordering is bigendian... no checking for gcc option to accept ISO C99... none needed 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 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 library containing _run_tests... -lcmocka checking for library containing _cmocka_run_group_tests... -lcmocka checking for gnuplot... no WARNING: gnuplot binary not found gnuplot is not required to build the ROHC library and tools, but it is required to generate compression statistics once library and tools are installed. You are advised to install it. Go get it from http://www.gnuplot.info/ or use your package manager to install it on your system. 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... 4.4.0-104-generic checking Linux kernel source directory... /lib/modules/4.4.0-104-generic/build checking Linux kernel source usability... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating git_ref 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/common/test/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/packet_types/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/reordered_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/non_regression/rfc3095/Makefile config.status: creating test/non_regression/rfc6846/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/sniffer/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 contrib/python/Makefile config.status: creating rohc.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands root@ASOCS-EPC03:~/ROHC_fix/rohc-dev_compat_with_UE_mobile# ./configure --enable-static --disable-shared --prefix=/root/lib 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 whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf 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 whether gcc understands -c and -o together... yes 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 how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop 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 dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no 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 -m elf_x86_64) supports shared libraries... yes 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... no checking whether to build static libraries... yes 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 whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether compiler understands -Wunknown-warning-option... no checking whether compiler understands -Wmisleading-indentation... no checking whether compiler understands -Wshift-overflow=2... no checking whether compiler understands -Wswitch-default... yes checking whether compiler understands -Wswitch-bool... yes checking whether compiler understands -Wsuggest-attribute=const... yes 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 for inline... inline checking whether byte ordering is bigendian... no checking for gcc option to accept ISO C99... none needed 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 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 git_ref 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/common/test/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/packet_types/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/reordered_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/non_regression/rfc3095/Makefile config.status: creating test/non_regression/rfc6846/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/sniffer/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 contrib/python/Makefile config.status: creating rohc.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands root@ASOCS-EPC03:~/ROHC_fix/rohc-dev_compat_with_UE_mobile# make all make all-recursive make[1]: Entering directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile' Making all in src make[2]: Entering directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src' Making all in common make[3]: Entering directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src/common' Making all in protocols make[4]: Entering directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src/common/protocols' CC librohc_proto_la-ip_numbers.lo CCLD librohc_proto.la ar: `u' modifier ignored since `D' is the default (see `U') make[4]: Leaving directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src/common/protocols' Making all in . make[4]: Entering directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src/common' CC librohc_common_la-rohc_common.lo CC librohc_common_la-rohc_packets.lo CC librohc_common_la-rohc_traces_internal.lo In file included from rohc_traces_internal.h:34:0, from rohc_traces_internal.c:29: ./rohc/rohc_buf.h:1:1: error: expected identifier or ‘(’ before ‘.’ token ../rohc_buf.h ^ In file included from rohc_traces_internal.h:36:0, from rohc_traces_internal.c:29: /usr/include/stdlib.h:139:8: error: unknown type name ‘size_t’ extern size_t __ctype_get_mb_cur_max (void) __THROW __wur; ^ In file included from rohc_traces_internal.h:36:0, from rohc_traces_internal.c:29: /usr/include/stdlib.h:331:4: error: unknown type name ‘size_t’ size_t __statelen) __THROW __nonnull ((2)); ^ /usr/include/stdlib.h:361:4: error: unknown type name ‘size_t’ size_t __statelen, ^ /usr/include/stdlib.h:466:22: error: unknown type name ‘size_t’ extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; ^ /usr/include/stdlib.h:468:22: error: unknown type name ‘size_t’ extern void *calloc (size_t __nmemb, size_t __size) ^ /usr/include/stdlib.h:468:38: error: unknown type name ‘size_t’ extern void *calloc (size_t __nmemb, size_t __size) ^ /usr/include/stdlib.h:480:36: error: unknown type name ‘size_t’ extern void *realloc (void *__ptr, size_t __size) ^ In file included from /usr/include/stdlib.h:492:0, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/alloca.h:32:22: error: unknown type name ‘size_t’ extern void *alloca (size_t __size) __THROW; ^ In file included from rohc_traces_internal.h:36:0, from rohc_traces_internal.c:29: /usr/include/stdlib.h:498:22: error: unknown type name ‘size_t’ extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur; ^ /usr/include/stdlib.h:503:45: error: unknown type name ‘size_t’ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) ^ /usr/include/stdlib.h:503:65: error: unknown type name ‘size_t’ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) ^ /usr/include/stdlib.h:509:29: error: unknown type name ‘size_t’ extern void *aligned_alloc (size_t __alignment, size_t __size) ^ /usr/include/stdlib.h:509:49: error: unknown type name ‘size_t’ extern void *aligned_alloc (size_t __alignment, size_t __size) ^ /usr/include/stdlib.h:755:9: error: unknown type name ‘size_t’ size_t __nmemb, size_t __size, __compar_fn_t __compar) ^ /usr/include/stdlib.h:755:25: error: unknown type name ‘size_t’ size_t __nmemb, size_t __size, __compar_fn_t __compar) ^ In file included from /usr/include/stdlib.h:759:0, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:20:49: error: unknown type name ‘size_t’ bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, ^ /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:20:65: error: unknown type name ‘size_t’ bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, ^ In file included from rohc_traces_internal.h:36:0, from rohc_traces_internal.c:29: /usr/include/stdlib.h:764:34: error: unknown type name ‘size_t’ extern void qsort (void *__base, size_t __nmemb, size_t __size, ^ /usr/include/stdlib.h:764:50: error: unknown type name ‘size_t’ extern void qsort (void *__base, size_t __nmemb, size_t __size, ^ /usr/include/stdlib.h:843:6: error: unknown type name ‘size_t’ size_t __len) __THROW __nonnull ((3, 4, 5)); ^ /usr/include/stdlib.h:846:6: error: unknown type name ‘size_t’ size_t __len) __THROW __nonnull ((3, 4, 5)); ^ /usr/include/stdlib.h:850:31: error: unknown type name ‘size_t’ char *__restrict __buf, size_t __len) ^ /usr/include/stdlib.h:854:31: error: unknown type name ‘size_t’ char *__restrict __buf, size_t __len) ^ /usr/include/stdlib.h:862:36: error: unknown type name ‘size_t’ extern int mblen (const char *__s, size_t __n) __THROW; ^ /usr/include/stdlib.h:866:34: error: unknown type name ‘size_t’ const char *__restrict __s, size_t __n) __THROW; ^ /usr/include/stdlib.h:873:8: error: unknown type name ‘size_t’ extern size_t mbstowcs (wchar_t *__restrict __pwcs, ^ /usr/include/stdlib.h:874:32: error: unknown type name ‘size_t’ const char *__restrict __s, size_t __n) __THROW; ^ /usr/include/stdlib.h:876:8: error: unknown type name ‘size_t’ extern size_t wcstombs (char *__restrict __s, ^ /usr/include/stdlib.h:877:38: error: unknown type name ‘size_t’ const wchar_t *__restrict __pwcs, size_t __n) ^ In file included from /usr/include/stdlib.h:958:0, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:25:9: error: unknown type name ‘size_t’ size_t __resolvedlen) __THROW __wur; ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:29:14: error: unknown type name ‘size_t’ extern char *__REDIRECT_NTH (__realpath_chk_warn, ^ In file included from /usr/include/stdlib.h:958:0, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h: In function ‘realpath’: /usr/include/x86_64-linux-gnu/bits/stdlib.h:39:30: error: ‘size_t’ undeclared (first use in this function) if (__bos (__resolved) != (size_t) -1) ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:39:30: note: each undeclared identifier is reported only once for each function it appears in /usr/include/x86_64-linux-gnu/bits/stdlib.h: At top level: /usr/include/x86_64-linux-gnu/bits/stdlib.h:52:52: error: unknown type name ‘size_t’ extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:53:8: error: unknown type name ‘size_t’ size_t __nreal) __THROW __nonnull ((2)); ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:54:12: error: unknown type name ‘size_t’ extern int __REDIRECT_NTH (__ptsname_r_alias, (int __fd, char *__buf, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:57:12: error: unknown type name ‘size_t’ extern int __REDIRECT_NTH (__ptsname_r_chk_warn, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:57:12: error: unknown type name ‘size_t’ extern int __REDIRECT_NTH (__ptsname_r_chk_warn, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:64:1: error: unknown type name ‘size_t’ __NTH (ptsname_r (int __fd, char *__buf, size_t __buflen)) ^ In file included from /usr/include/stdlib.h:958:0, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:77:54: error: unknown type name ‘size_t’ extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h: In function ‘wctomb’: /usr/include/x86_64-linux-gnu/bits/stdlib.h:92:23: error: ‘size_t’ undeclared (first use in this function) if (__bos (__s) != (size_t) -1 && __STDLIB_MB_LEN_MAX > __bos (__s)) ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h: At top level: /usr/include/x86_64-linux-gnu/bits/stdlib.h:98:8: error: unknown type name ‘size_t’ extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:100:10: error: unknown type name ‘size_t’ size_t __len, size_t __dstlen) __THROW; ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:100:24: error: unknown type name ‘size_t’ size_t __len, size_t __dstlen) __THROW; ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:101:8: error: unknown type name ‘size_t’ extern size_t __REDIRECT_NTH (__mbstowcs_alias, ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:101:15: error: unknown type name ‘size_t’ extern size_t __REDIRECT_NTH (__mbstowcs_alias, ^ In file included from /usr/include/stdlib.h:958:0, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:105:8: error: unknown type name ‘size_t’ extern size_t __REDIRECT_NTH (__mbstowcs_chk_warn, ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:105:15: error: unknown type name ‘size_t’ extern size_t __REDIRECT_NTH (__mbstowcs_chk_warn, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:105:15: error: unknown type name ‘size_t’ extern size_t __REDIRECT_NTH (__mbstowcs_chk_warn, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:113:1: error: expected ‘,’ or ‘;’ before ‘mbstowcs’ __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, ^ In file included from /usr/include/stdlib.h:958:0, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:130:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk’ extern size_t __wcstombs_chk (char *__restrict __dst, ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdlib.h:133:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_alias’ extern size_t __REDIRECT_NTH (__wcstombs_alias, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:137:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk_warn’ extern size_t __REDIRECT_NTH (__wcstombs_chk_warn, ^ /usr/include/x86_64-linux-gnu/bits/stdlib.h:144:1: error: expected ‘,’ or ‘;’ before ‘wcstombs’ __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, ^ In file included from rohc_traces_internal.c:29:0: rohc_traces_internal.h:106:36: warning: ‘struct rohc_buf’ declared inside parameter list const struct rohc_buf packet) ^ rohc_traces_internal.h:106:36: warning: its scope is only this definition or declaration, which is probably not what you want rohc_traces_internal.h:114:26: error: unknown type name ‘uint8_t’ const uint8_t *const packet, ^ rohc_traces_internal.h:115:26: warning: type defaults to ‘int’ in declaration of ‘size_t’ [-Wimplicit-int] const size_t length) ^ rohc_traces_internal.h:115:33: error: expected ‘;’, ‘,’ or ‘)’ before ‘length’ const size_t length) ^ In file included from /usr/include/stdio.h:74:0, from rohc_traces_internal.c:32: /usr/include/libio.h:302:3: error: expected specifier-qualifier-list before ‘size_t’ size_t __pad5; ^ /usr/include/libio.h:333:62: error: expected declaration specifiers or ‘...’ before ‘size_t’ typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); ^ /usr/include/libio.h:342:6: error: expected declaration specifiers or ‘...’ before ‘size_t’ size_t __n); ^ /usr/include/libio.h:464:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’ extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t); ^ In file included from rohc_traces_internal.c:32:0: /usr/include/stdio.h:319:35: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) ^ /usr/include/stdio.h:325:47: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur; ^ /usr/include/stdio.h:337:20: error: expected declaration specifiers or ‘...’ before ‘size_t’ int __modes, size_t __n) __THROW; ^ /usr/include/stdio.h:344:10: error: expected declaration specifiers or ‘...’ before ‘size_t’ size_t __size) __THROW; ^ /usr/include/stdio.h:386:44: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern int snprintf (char *__restrict __s, size_t __maxlen, ^ /usr/include/stdio.h:390:45: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern int vsnprintf (char *__restrict __s, size_t __maxlen, ^ /usr/include/stdio.h:666:11: error: expected declaration specifiers or ‘...’ before ‘size_t’ size_t *__restrict __n, int __delimiter, ^ /usr/include/stdio.h:669:9: error: expected declaration specifiers or ‘...’ before ‘size_t’ size_t *__restrict __n, int __delimiter, ^ /usr/include/stdio.h:679:8: error: expected declaration specifiers or ‘...’ before ‘size_t’ size_t *__restrict __n, ^ /usr/include/stdio.h:709:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ extern size_t fread (void *__restrict __ptr, size_t __size, ^ /usr/include/stdio.h:715:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’ extern size_t fwrite (const void *__restrict __ptr, size_t __size, ^ /usr/include/stdio.h:737:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, ^ /usr/include/stdio.h:739:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’ extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, ^ In file included from /usr/include/stdio.h:936:0, from rohc_traces_internal.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:23:61: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:25:62: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:52:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:53:7: error: expected declaration specifiers or ‘...’ before ‘size_t’ size_t __slen, const char *__restrict __format, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:55:51: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:56:8: error: expected declaration specifiers or ‘...’ before ‘size_t’ size_t __slen, const char *__restrict __format, ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: error: expected declaration specifiers or ‘...’ before ‘size_t’ __NTH (snprintf (char *__restrict __s, size_t __n, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:74:1: error: expected declaration specifiers or ‘...’ before ‘size_t’ __NTH (vsnprintf (char *__restrict __s, size_t __n, ^ In file included from /usr/include/stdio.h:936:0, from rohc_traces_internal.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:241:49: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdio2.h:246:14: error: expected declaration specifiers or ‘...’ before ‘size_t’ extern char *__REDIRECT (__fgets_chk_warn, ^ In file included from /usr/include/stdio.h:936:0, from rohc_traces_internal.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h: In function ‘fgets’: /usr/include/x86_64-linux-gnu/bits/stdio2.h:260:20: error: expected ‘)’ before ‘__n’ if ((size_t) __n > __bos (__s)) ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h: At top level: /usr/include/x86_64-linux-gnu/bits/stdio2.h:266:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk’ extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdio2.h:269:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_alias’ extern size_t __REDIRECT (__fread_alias, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:273:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk_warn’ extern size_t __REDIRECT (__fread_chk_warn, ^ In file included from /usr/include/stdio.h:936:0, from rohc_traces_internal.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:282:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ fread (void *__restrict __ptr, size_t __size, size_t __n, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:327:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_chk’ extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, ^ In file included from /usr/include/features.h:367:0, from /usr/include/stdlib.h:24, from rohc_traces_internal.h:36, from rohc_traces_internal.c:29: /usr/include/x86_64-linux-gnu/bits/stdio2.h:330:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_alias’ extern size_t __REDIRECT (__fread_unlocked_alias, ^ /usr/include/x86_64-linux-gnu/bits/stdio2.h:334:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_chk_warn’ extern size_t __REDIRECT (__fread_unlocked_chk_warn, ^ In file included from /usr/include/stdio.h:936:0, from rohc_traces_internal.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:343:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, ^ rohc_traces_internal.c:51:36: warning: ‘struct rohc_buf’ declared inside parameter list const struct rohc_buf packet) ^ rohc_traces_internal.c:51:45: error: parameter 6 (‘packet’) has incomplete type const struct rohc_buf packet) ^ In file included from rohc_traces_internal.c:33:0: rohc_traces_internal.c: In function ‘rohc_dump_packet’: rohc_traces_internal.c:59:10: warning: implicit declaration of function ‘rohc_buf_is_malformed’ [-Wimplicit-function-declaration] assert(!rohc_buf_is_malformed(packet)); ^ rohc_traces_internal.c:61:2: warning: implicit declaration of function ‘rohc_dump_buf’ [-Wimplicit-function-declaration] rohc_dump_buf(trace_cb, trace_cb_priv, trace_entity, trace_level, descr, ^ rohc_traces_internal.c:62:16: warning: implicit declaration of function ‘rohc_buf_data’ [-Wimplicit-function-declaration] rohc_buf_data(packet), rohc_min(packet.len, 100U)); ^ rohc_traces_internal.c:51:45: warning: unused parameter ‘packet’ [-Wunused-parameter] const struct rohc_buf packet) ^ rohc_traces_internal.c: At top level: rohc_traces_internal.c:83:26: warning: type defaults to ‘int’ in declaration of ‘size_t’ [-Wimplicit-int] const size_t length) ^ rohc_traces_internal.c:83:33: error: expected ‘;’, ‘,’ or ‘)’ before ‘length’ const size_t length) ^ Makefile:581: recipe for target 'librohc_common_la-rohc_traces_internal.lo' failed make[4]: *** [librohc_common_la-rohc_traces_internal.lo] Error 1 make[4]: Leaving directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src/common' Makefile:684: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src/common' Makefile:518: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile/src' Makefile:732: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/ROHC_fix/rohc-dev_compat_with_UE_mobile' Makefile:617: recipe for target 'all' failed make: *** [all] Error 2 root@ASOCS-EPC03:~/ROHC_fix/rohc-dev_compat_with_UE_mobile# Thanks, Selvaganesan M. -- You received this question notification because your team ROHC Team is an answer contact for rohc. _______________________________________________ Mailing list: https://launchpad.net/~rohc Post to : rohc@lists.launchpad.net Unsubscribe : https://launchpad.net/~rohc More help : https://help.launchpad.net/ListHelp