I have made the suggested changes to the makefile for Solaris...  DEFS = -DNEED_STRCMP  and  LIBS = -lnsl -lm
 
But when I compile I recieve the following: 
 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
gcc           -O2     -DNEED_STRCMP          -DUNIX          -c alias.c
In file included from alias.c:9:
anlghea3.h:461: parse error before string constant
anlghea3.h:718: `INP_YEAR' undeclared here (not in a function)
anlghea3.h:870: `INP_CODE' undeclared here (not in a function)
anlghea3.h:876: `INP_CODE' undeclared here (not in a function)
anlghea3.h:878: `INP_CODE' undeclared here (not in a function)
anlghea3.h:881: `INP_CODE' undeclared here (not in a function)
anlghea3.h:883: `INP_CODE' undeclared here (not in a function)
anlghea3.h:885: `INP_CODE' undeclared here (not in a function)
anlghea3.h:888: `INP_CODE' undeclared here (not in a function)
anlghea3.h:932: `m' undeclared here (not in a function)
anlghea3.h:932: parse error before `+'
anlghea3.h:978: `n' undeclared here (not in a function)
anlghea3.h:978: warning: initialization makes integer from pointer without a cast
anlghea3.h:978: initializer element is not constant
anlghea3.h:978: warning: data definition has no type or storage class
anlghea3.h:978: stray '\' in program
anlghea3.h:979: `n' undeclared here (not in a function)
anlghea3.h:979: warning: data definition has no type or storage class
anlghea3.h:979: parse error before `}'
anlghea3.h:982: parse error before `++'
anlghea3.h:984: parse error before `++'
anlghea3.h:984: stray '\' in program
anlghea3.h:985: parse error before `++'
anlghea3.h:985: stray '\' in program
anlghea3.h:986: parse error before `++'
anlghea3.h:988: parse error before `++'
anlghea3.h:992: parse error before `('
anlghea3.h:992: parse error before `void'
anlghea3.h:992: stray '\' in program
anlghea3.h:1008: stray '\' in program
anlghea3.h:1009: stray '\' in program
anlghea3.h:1020: parse error before `!='
anlghea3.h:1020: stray '\' in program
anlghea3.h:1021: stray '\' in program
anlghea3.h:1026: stray '\' in program
anlghea3.h:1027: stray '\' in program
anlghea3.h:1028: stray '\' in program
In file included from anlghea3.h:1031,
                 from alias.c:9:
anlghea4.h:50: `INP_CODE' undeclared here (not in a function)
anlghea4.h:50: warning: parameter has incomplete type
anlghea4.h:66: `INP_CODE' undeclared here (not in a function)
anlghea4.h:67: `INP_CODE' undeclared here (not in a function)
anlghea4.h:72: warning: parameter has incomplete type
anlghea4.h:72: warning: parameter has incomplete type
anlghea4.h:280: `INP_CODE' undeclared here (not in a function)
anlghea4.h:280: warning: parameter has incomplete type
anlghea4.h:304: `INP_CODE' undeclared here (not in a function)
anlghea4.h:305: `INP_CODE' undeclared here (not in a function)
anlghea4.h:306: warning: parameter has incomplete type
anlghea4.h:306: warning: parameter has incomplete type
anlghea4.h:381: `INP_CODE' undeclared here (not in a function)
anlghea4.h:381: warning: parameter has incomplete type
anlghea4.h:398: `INP_CODE' undeclared here (not in a function)
anlghea4.h:399: `INP_CODE' undeclared here (not in a function)
anlghea4.h:405: warning: parameter has incomplete type
anlghea4.h:405: warning: parameter has incomplete type
anlghea4.h:566: conflicting types for `xrealloc'
anlghea3.h:978: previous declaration of `xrealloc'
In file included from alias.c:9:
anlghea3.h:1034: warning: This file contains more `}'s than `{'s.
alias.c: In function `do_alias':
alias.c:29: `ITEM_FILE' undeclared (first use in this function)
alias.c:29: (Each undeclared identifier is reported only once
alias.c:29: for each function it appears in.)
alias.c:31: `ITEM_HOST' undeclared (first use in this function)
alias.c:33: `ITEM_REFERRER' undeclared (first use in this function)
alias.c:35: `ITEM_BROWSER' undeclared (first use in this function)
alias.c:37: `ITEM_VHOST' undeclared (first use in this function)
alias.c:39: `ITEM_USER' undeclared (first use in this function)
alias.c: In function `do_dns':
alias.c:573: stray '\' in program
alias.c:635: parse error before `void'
alias.c:641: `len' undeclared (first use in this function)
alias.c:642: `ans' undeclared (first use in this function)
alias.c:644: `to' undeclared (first use in this function)
alias.c:645: `pm' undeclared (first use in this function)
alias.c:645: `pmatch' undeclared (first use in this function)
alias.c:653: warning: passing arg 1 of `strcpy' makes pointer from integer without a cast
alias.c:654: warning: passing arg 1 of `strchr' makes pointer from integer without a cast
alias.c:654: warning: assignment makes integer from pointer without a cast
alias.c:660: invalid type argument of `unary *'
alias.c: In function `reverseonename':
alias.c:787: stray '\' in program
alias.c:799: stray '\' in program
alias.c:812: stray '\' in program
alias.c:832: parse error before `void'
alias.c:834: `ans' undeclared (first use in this function)
alias.c:837: parse error at end of input
make: *** [alias.o] Error 1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Any Ideas?.
 
THANKS!
Matt
 
Matt Richards
Customer Care and Technical Support
mCentric
+34 600975535
[EMAIL PROTECTED]
 

Reply via email to