Hello, I'm getting the following errors when attempting to compile on a 32 bit version of Redhat:
/usr/bin/gcc -m32 -g -Wall -fpic -DLINUX -DUNIXOS=1 -DDEBUG -IOPSEC_SDK/pkg_rel/include -c -o fw1-loggrabber.o fw1-loggrabber.c
In file included from fw1-loggrabber.c:32:
fw1-loggrabber.h:49:25: error: opsec/opsec.h: No such file or directory
fw1-loggrabber.h:50:31: error: opsec/opsec_event.h: No such file or directory
fw1-loggrabber.h:51:23: error: opsec/lea.h: No such file or directory
fw1-loggrabber.h:52:30: error: opsec/lea_filter.h: No such file or directory
fw1-loggrabber.h:53:34: error: opsec/lea_filter_ext.h: No such file or directory
In file included from fw1-loggrabber.c:32:
fw1-loggrabber.h:129: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:134: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:139: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:144: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:149: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:154: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:159: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:164: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:169: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:174: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:179: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:185: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:195: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:200: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:206: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:211: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
fw1-loggrabber.h:212: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
fw1-loggrabber.h:217: error: expected ‘)’ before ‘*’ token
fw1-loggrabber.h:347: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
fw1-loggrabber.h:348: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
fw1-loggrabber.c: In function ‘main’:
fw1-loggrabber.c:382: warning: implicit declaration of function ‘opsec_set_debug_level’
fw1-loggrabber.c: In function ‘read_fw1_logfile’:
fw1-loggrabber.c:485: error: ‘OpsecEntity’ undeclared (first use in this function)
fw1-loggrabber.c:485: error: (Each undeclared identifier is reported only once
fw1-loggrabber.c:485: error: for each function it appears in.)
fw1-loggrabber.c:485: error: ‘pClient’ undeclared (first use in this function)
fw1-loggrabber.c:486: error: ‘pServer’ undeclared (first use in this function)
fw1-loggrabber.c:487: error: ‘LeaFilterRulebase’ undeclared (first use in this function)
fw1-loggrabber.c:487: error: ‘rb’ undeclared (first use in this function)
fw1-loggrabber.c:508: error: ‘pEnv’ undeclared (first use in this function)
fw1-loggrabber.c:509: warning: implicit declaration of function ‘opsec_init’
fw1-loggrabber.c:509: error: ‘OPSEC_CONF_FILE’ undeclared (first use in this function)
fw1-loggrabber.c:510: error: ‘OPSEC_EOL’ undeclared (first use in this function)
fw1-loggrabber.c:513: warning: implicit declaration of function ‘opsec_errno_str’
fw1-loggrabber.c:513: error: ‘opsec_errno’ undeclared (first use in this function)
fw1-loggrabber.c:518: warning: implicit declaration of function ‘opsec_new_event_id’
fw1-loggrabber.c:523: warning: implicit declaration of function ‘opsec_raise_event’
fw1-loggrabber.c:525: warning: implicit declaration of function ‘opsec_set_event_handler’
fw1-loggrabber.c:525: error: ‘fc_handler’ undeclared (first use in this function)
fw1-loggrabber.c:535: warning: implicit declaration of function ‘opsec_get_conf’
fw1-loggrabber.c:634: warning: implicit declaration of function ‘opsec_init_entity’
Hello, I'm getting the following errors when attempting to compile on a 32 bit version of Redhat:
Any ideas what could be wrong?
Thanks