hi everyone!!i'm very happy to be one of the most great linux forums in the world and thanks for all great work that u do here!!

i'm new to linux i have some basic but still newer!!i have a project that i work on!!it's a product that has been installed and compiled in AIX system with xlc compiler!!my job here is to migrate this one to red hat linux entreprise 5 and compile all the makefile with GCC
i'l traying to do the max to find a similarity between xlc and gcc but i'm stuck in this error:


/usr/bin/yacc -d -p Sdl_ /home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_parser.y
sed -f /home/oracle/Open2/ps/src_SDLLIB/change.y /home/oracle/Open2/ps/src_SDLLIB/y.tab.c > /home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_parser.c
sed -f /home/oracle/Open2/ps/src_SDLLIB/change.y /home/oracle/Open2/ps/src_SDLLIB/y.tab.h > /home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_parsertab.h
rm -f /home/oracle/Open2/ps/src_SDLLIB/y.tab.c
rm -f /home/oracle/Open2/ps/src_SDLLIB/y.tab.h
gcc -c -DLINUX -DUNIX_OPSYS -DDEBUG -I/home/oracle/Open2/COMMON/inc -I/home/oracle/Open2/dbg -I. -I/home/oracle/Open2/ps/inc -I/home/oracle/Open2/ps/BOF/inc -I/home/oracle/Open2/ps/inc -I/home/oracle/Open2/com/inc -I/home/oracle/Open2/syu/inc /home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_parser.c
/usr/bin/lex /home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_scanner.l
sed -f /home/oracle/Open2/ps/src_SDLLIB/change /home/oracle/Open2/ps/src_SDLLIB/lex.yy.c > /home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_scanner.c
rm /home/oracle/Open2/ps/src_SDLLIB/lex.yy.c
gcc -c -DLINUX -DUNIX_OPSYS -DDEBUG -I/home/oracle/Open2/COMMON/inc -I/home/oracle/Open2/dbg -I. -I/home/oracle/Open2/ps/inc -I/home/oracle/Open2/ps/BOF/inc -I/home/oracle/Open2/ps/inc -I/home/oracle/Open2/com/inc -I/home/oracle/Open2/syu/inc /home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_scanner.c
lex.yy.c:1712: erreur: expected ‘)’ before ‘=’ token
lex.yy.c:1712: erreur: expected ‘)’ before ‘==’ token
lex.yy.c:1712: erreur: expected ‘)’ before ‘==’ token
make: *** [/home/oracle/Open2/ps/src_SDLLIB/ps_sdllib_scanner.o] Erreur 1


it’s seem that’s my error has somthing with lex.yy.c that i don’t knox what it is .is this a specific file lex.yy.c for linux and another for aix!!
help me figure this out i’m almsot finish the porting and this error slow me down!!