Due to work needs, I need to use your development work adjtimex, I hope you can give me support
Compiler Environment:
CentOS Linux release 7.6.1810 (Core)
3.10.0-1160.59.1.el7.x86_64
./configure && make
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for gettimeofday... (cached) yes
checking for mktime... (cached) yes
checking for putenv... (cached) yes
checking for select... (cached) yes
creating ./config.status
creating Makefile
cc -g -O2 -I. -DVERSION="1.12" -o adjtimex adjtimex.c
mat.o -lm
adjtimex.c:40:16: error: expected declaration specifiers or ‘...’ before ‘adjtimex’
_syscall1(int, adjtimex, struct timex *, txcp)
^
adjtimex.c:40:42: error: unknown type name ‘txcp’
_syscall1(int, adjtimex, struct timex *, txcp)
^
adjtimex.c: In function ‘usage’:
adjtimex.c:167:1: warning: missing terminating " character [enabled by default]
"
^
adjtimex.c:167:1: error: missing terminating " character
adjtimex.c:168:1: error: ‘Usage’ undeclared (first use in this function)
Usage: adjtimex [OPTION]...
^
adjtimex.c:168:1: note: each undeclared identifier is reported only once for each function it appears in
adjtimex.c:168:6: error: expected ‘,’ or ‘;’ before ‘:’ token
Usage: adjtimex [OPTION]...
^
adjtimex.c:196:1: warning: missing terminating " character [enabled by default]
";
^
adjtimex.c:196:1: error: missing terminating " character
adjtimex.c: In function ‘main’:
adjtimex.c:264:6: error: ‘F_print’ undeclared (first use in this function)
F_print = 1;
^
make: *** [adjtimex] Error 1
Due to work needs, I need to use your development work adjtimex, I hope you can give me support
Compiler Environment:
CentOS Linux release 7.6.1810 (Core)
3.10.0-1160.59.1.el7.x86_64
./configure && make
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for gettimeofday... (cached) yes
checking for mktime... (cached) yes
checking for putenv... (cached) yes
checking for select... (cached) yes
creating ./config.status
creating Makefile
cc -g -O2 -I. -DVERSION="1.12" -o adjtimex adjtimex.c
mat.o -lm
adjtimex.c:40:16: error: expected declaration specifiers or ‘...’ before ‘adjtimex’
_syscall1(int, adjtimex, struct timex *, txcp)
^
adjtimex.c:40:42: error: unknown type name ‘txcp’
_syscall1(int, adjtimex, struct timex *, txcp)
^
adjtimex.c: In function ‘usage’:
adjtimex.c:167:1: warning: missing terminating " character [enabled by default]
"
^
adjtimex.c:167:1: error: missing terminating " character
adjtimex.c:168:1: error: ‘Usage’ undeclared (first use in this function)
Usage: adjtimex [OPTION]...
^
adjtimex.c:168:1: note: each undeclared identifier is reported only once for each function it appears in
adjtimex.c:168:6: error: expected ‘,’ or ‘;’ before ‘:’ token
Usage: adjtimex [OPTION]...
^
adjtimex.c:196:1: warning: missing terminating " character [enabled by default]
";
^
adjtimex.c:196:1: error: missing terminating " character
adjtimex.c: In function ‘main’:
adjtimex.c:264:6: error: ‘F_print’ undeclared (first use in this function)
F_print = 1;
^
make: *** [adjtimex] Error 1