Forums » Migration to Enduro/X »
Migrate tuxapp: Syntax error at line 166, column 45, file /usr/include/sys/cdefs.h:
I’m working on an exercise to migrate a Tuxedo application to make it functional with Enduro/X. The application I’ve chosen is the one provided by EnduroX: endurox-dev/tuxapp. When I run the make command, I encounter the following error:
Pro*C/C++: Release 19.0.0.0.0 - Production on Wed Aug 7 11:47:32 2024
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
System default option values taken from: /opt/oracle/product/19c/dbhome_1/precomp/admin/pcscfg.cfg
Syntax error at line 166, column 45, file /usr/include/sys/cdefs.h:
Error at line 166, column 45 in file /usr/include/sys/cdefs.h
#define __glibc_fortify(f, __l, __s, __osz, ...) \
............................................1
PCC-S-02014, Encountered the symbol "..." when expecting one of the following:
an identifier, define, elif, else, endif, error, if, ifdef,
ifndef, include, include_next, line, pragma, undef, exec,
sql, begin, end, var, type, oracle,
an immediate preprocessor command, a C token, create,
function, package, procedure, trigger, or, replace,
Syntax error at line 168, column 9, file /usr/include/sys/cdefs.h:
Error at line 168, column 9 in file /usr/include/sys/cdefs.h
? __ ## f ## _alias (VA_ARGS) \
........1
PCC-S-02014, Encountered the symbol "##" when expecting one of the following:
; { } , = : ( ) [ ] * ? | & < > + - / % ~ ! . # @ ^ = /= =
= = <<= >>= &&= ||= ^= ~= := | x%x == != <= >= << >> + - ->
... .. <> * => an identifier, a string, a numeric constant,
a sql string, misc. punctuation, newline, define, elif, else,
endif, error, if, ifdef, ifndef, include, include_next, line,
pragma, undef, exec, sql, begin, end, var, type, oracle,
an immediate preprocessor command, a C token, exec sql,
exec sql include, exec sql var, exec sql begin, exec sql end,
end-exec, exec sql type, exec oracle, exec oracle else,
exec oracle endif, exec oracle begin, a sql hint, create,
function, package, procedure, trigger, or, replace,
a C++ token,
Syntax error at line 500, column 20, file /usr/include/sys/cdefs.h:
Error at line 500, column 20 in file /usr/include/sys/cdefs.h
#include <bits/long-double.h>
...................1
PCC-S-02014, Encountered the symbol "-" when expecting one of the following:
: [ ] > + / . .. an identifier, a numeric constant, define,
elif, else, endif, error, if, ifdef, ifndef, include,
include_next, line, pragma, undef, exec, sql, begin, end,
var, type, oracle, an immediate preprocessor command,
a C token, create, function, package, procedure, trigger, or,
replace,
Syntax error at line 564, column 2, file /usr/include/sys/cdefs.h:
Error at line 564, column 2 in file /usr/include/sys/cdefs.h
#endif /* sys/cdefs.h */
.1
PCC-S-02014, Encountered the symbol "endif" when expecting one of the following:
a numeric constant, newline, define, error, if, ifdef,
ifndef, include, include_next, line, pragma, undef,
an immediate preprocessor command, a C token,
The symbol "define," was substituted for "endif" to continue.
Syntax error at line 30, column 22, file /usr/lib/clang/17/include/stdarg.h:
Error at line 30, column 22 in file /usr/lib/clang/17/include/stdarg.h
#define va_start(ap, ...) __builtin_va_start(ap, 0)
.....................1
PCC-S-02014, Encountered the symbol "..." when expecting one of the following:
an identifier, define, elif, else, endif, error, if, ifdef,
ifndef, include, include_next, line, pragma, undef, exec,
sql, begin, end, var, type, oracle,
an immediate preprocessor command, a C token, create,
function, package, procedure, trigger, or, replace,
Syntax error at line 31, column 2, file /usr/lib/clang/17/include/stdarg.h:
Error at line 31, column 2 in file /usr/lib/clang/17/include/stdarg.h
#else
.1
PCC-S-02014, Encountered the symbol "else" when expecting one of the following:
a numeric constant, newline, define, error, if, ifdef,
ifndef, include, include_next, line, pragma, undef,
an immediate preprocessor command, a C token,
The symbol "define," was substituted for "else" to continue.
Syntax error at line 34, column 2, file /usr/lib/clang/17/include/stdarg.h:
Error at line 34, column 2 in file /usr/lib/clang/17/include/stdarg.h
#endif
.1
PCC-S-02014, Encountered the symbol "endif" when expecting one of the following:
a numeric constant, newline, define, error, if, ifdef,
ifndef, include, include_next, line, pragma, undef,
an immediate preprocessor command, a C token,
The symbol "define," was substituted for "endif" to continue.
Syntax error at line 49, column 2, file /usr/lib/clang/17/include/stdarg.h:
Error at line 49, column 2 in file /usr/lib/clang/17/include/stdarg.h
#endif /* __STDARG_H */
.1
PCC-S-02014, Encountered the symbol "endif" when expecting one of the following:
a numeric constant, newline, define, error, if, ifdef,
ifndef, include, include_next, line, pragma, undef,
an immediate preprocessor command, a C token,
The symbol "if," was substituted for "endif" to continue.
any help !!!