Compile Problems
Brought to you by:
jeffmurphy
From: Jeff M. <jcm...@sm...> - 1996-02-16 23:40:32
|
majordomo bounced this too me.. here is the original message... >Sender: xo...@il... >Message-Id: <312...@em...> >Date: Fri, 16 Feb 1996 07:36:41 -0600 >From: Charles Nguyen <xo...@em...> >X-Mailer: Mozilla 2.0b5 (X11; I; AIX 1) >Mime-Version: 1.0 >To: ar...@lu... >Subject: Compile Problems >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit > > >When I try to compile ARSperl I get the following errors: > >Any help would be much appreciated... > >Thanks, >Charles > >cc -c -O -pic -I/usr/local/lib/perl5/sun4-sunos/CORE -g >-I/remedy/ar/api/include ARS.c >cc: Warning: -O conflicts with -g. -O turned off. >"ARS.c", line 49: syntax error at or near type word "void" >"ARS.c", line 51: syntax error at or near symbol * >"ARS.c", line 51: ARStatusStruct declared as parameter to non-function >"ARS.c", line 51: ARS_fn undefined >"ARS.c", line 52: syntax error at or near symbol * >"ARS.c", line 52: ARInternalId declared as parameter to non-function >"ARS.c", line 53: syntax error at or near symbol * >"ARS.c", line 53: ARNameType declared as parameter to non-function >"ARS.c", line 54: syntax error at or near symbol * >"ARS.c", line 55: ARValueStruct declared as parameter to non-function >"ARS.c", line 56: syntax error at or near type word "unsigned" >"ARS.c", line 57: syntax error at or near symbol * >"ARS.c", line 57: ARStatHistoryValue declared as parameter to >non-function >"ARS.c", line 58: syntax error at or near symbol * >"ARS.c", line 58: ARAssignFieldStruct declared as parameter to >non-function >"ARS.c", line 59: syntax error at or near symbol * >"ARS.c", line 59: ARAssignStruct declared as parameter to non-function >"ARS.c", line 60: syntax error at or near symbol * >"ARS.c", line 60: ARFieldAssignStruct declared as parameter to >non-function >"ARS.c", line 61: syntax error at or near symbol * >"ARS.c", line 61: ARDisplayStruct declared as parameter to non-function >"ARS.c", line 62: syntax error at or near symbol * >"ARS.c", line 62: ARMacroParmStruct declared as parameter to >non-function >"ARS.c", line 63: syntax error at or near symbol * >"ARS.c", line 63: ARActiveLinkMacroStruct declared as parameter to >non-function >"ARS.c", line 64: syntax error at or near symbol * >"ARS.c", line 64: ARFieldCharacteristics declared as parameter to >non-function >"ARS.c", line 64: fatal error: too many errors >*** Error code 1 >make: Fatal error: Command failed for target `ARS.o' > >-- >Charles Nguyen >Motorola Corporate Telecommunication >Email: xo...@em... >Phone: 512-891-3566 > we havent been able to test it out under AIX (i dont have access to an AIX machine with the remedy libraries). if you are relatively familiar with C code, i would suggest running the ARS.c file thru the C preprocessor and see exactly what the line it is trying to compile looks like... look for suspicious or non-standard type declarations that might not have been included correctly. does AIX support the void type? i've never used AIX before.. (i'm assuming you are building it under AIX because your mailer said it was on AIX) jeff |