[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compilation/Configuration woes





Greetings:
After unpacking zmailer 2.99.38

	Below are excerpts from running 
./configure --with-gcc ; make -k

on a NeXT running Nextstep 3.2

Pointers (pardon the pun...) appreciated.


1.  Configuration problem:
After running ./configure, it puts a line in a make file:

libc/Makefile:LIBOBJS=   strdup.o strsignal.o


cd ../libc; make -k libzc.a
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c mail.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c mail_alloc.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c mail_host.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c fullname.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c getopt.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c myhostname.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c getzenv.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c whathost.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c getdtblsiz.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c __fopen.c
Don't know how to make strdup.o
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c strsignal.c
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c strerror.c

I'm not sure quite what's happening here.

********************
Other errors:
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c smtpserver.c
smtpserver.c:284: parse error before `int'
*** Exit 1
making all in scheduler
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c scheduler.c
In file included from scheduler.c:19:
scheduler.h:135: parse error before `pid_t'
scheduler.h:135: warning: no semicolon at end of struct or union
scheduler.h:152: parse error before `}'
*** Exit 1
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c readconfig.c
In file included from readconfig.c:15:
scheduler.h:135: parse error before `pid_t'
scheduler.h:135: warning: no semicolon at end of struct or union
scheduler.h:152: parse error before `}'
*** Exit 1
In file included from agenda.c:12:
scheduler.h:135: parse error before `pid_t'
scheduler.h:135: warning: no semicolon at end of struct or union
scheduler.h:152: parse error before `}'
*** Exit 1
gcc -g -O -DHAVE_CONFIG_H -I.. -I../include  -c transport.c
In file included from transport.c:14:
scheduler.h:135: parse error before `pid_t'
scheduler.h:135: warning: no semicolon at end of struct or union
scheduler.h:152: parse error before `}'
transport.c: In function `idle_child':
transport.c:78: dereferencing pointer to incomplete type

This one also bothers me:
threads.c: In function `delete_thread':
threads.c:243: dereferencing pointer to incomplete type
threads.c:244: dereferencing pointer to incomplete type
... LOTS of these

Sherwood Botsford |Unsolicited email that advertises commercial 
Physics Dept      |activities will consitute a request for 
U of Alberta      |spellchecking of all words of less than three 
Edmonton, AB,     |characters.  I charge $US500 for this service. 
T6G 2J1		  |There is no warranty of correctness of this service.