[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Error during make on AIX 4.3.3



On Mon, 8 Sep 2003, Ronaldo Cordeiro wrote:
> I've been using Coldsync 1.4.6 on Aix 4.3.3 for about 2 years with goo
>>d results. Now I'm trying to upgrade it to version 2.2.5 and I'm exper
>>iencing problems with the installation. I had an error with the _XOPEN
>>_SOURCE_EXTENDED definition, but I could correct it by editing the fil
>>e config.h. But while running "make", the following messages are being
>> displayed:
>
>   gcc -Wall -ansi -pedantic -g -O2 -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c PConnection_net.c
> In file included from PConnection_net.c:11:
> /usr/include/arpa/nameser.h:135: parse error before '*' token
> /usr/include/arpa/nameser.h:137: parse error before '*' token
> /usr/include/arpa/nameser.h:137: ISO C forbids data definition with no type or s
> torage class
> . . .
> (a long list of similar messages follows)

	These sorts of errors are often a pain to diagnose. Most likely,
it's a missing type: line 135 of /usr/include/arpa/nameser.h is most
likely of the form
	sometype *somevar;
where 'sometype' is declared in a different file.
	Try to find a function declared in that file, and read the man
page for it. Knowing IBM, the manual will probably tell you which other
header files need to be included before <arpa/nameser.h>. You can add
those files to PConnection_net.c and see if that solves the problem.
	If that doesn't do it, you may need to look at the preprocessor
output (compile with "-E" instead of "-c") and grovel through header
files.

-- 
Andrew Arensburger                      Actually, these _do_ represent the
arensb@ooblick.com                      opinions of ooblick.com!
                        Generic Tagline V 6.01
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.