procmail
[Top] [All Lists]

Procmail's compiling error (in _autotst.c)

1999-06-01 19:31:30

Hi All....

        I think I've read all the FAQs, and tried many things to solve
these but still when I compile procmail, the errors that I keep getting
are :  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cd src; make ../autoconf.h
/bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null \
 "fgrep" "make" o "/tmp ." \
 "/home/bpk/anisah/bin" ../autoconf.h
Using the following directories for the LOCKINGTESTs:
  /tmp .
Initiating fcntl()/kernel-locking-support tests        Whoeaaa!  There's 
something fishy going on here.
You have a look and see if you detect anything uncanny:
*******************************************************
cc -c -O _autotst.c
"_autotst.c", line 62: Error: The function close must have a prototype.
"_autotst.c", line 62: Error: The function killchildren must have a 
prototype.
"_autotst.c", line 66: Error: The function exit must have a prototype.
"_autotst.c", line 77: Error: The function fork must have a prototype.
"_autotst.c", line 78: Error: The function sleep must have a prototype.
"_autotst.c", line 79: Warning: The variable pid has not yet been 
assigned a val
ue.
"_autotst.c", line 82: Error: argc is not defined.
"_autotst.c", line 82: Error: The type "char*[]" is incomplete.
"_autotst.c", line 85: Error: The function close must have a prototype.
"_autotst.c", line 86: Error: argc is not defined.
"_autotst.c", line 122: Error: The function chdir must have a prototype.
"_autotst.c", line 125: Error: The function lseek must have a prototype.
"_autotst.c", line 126: Error: The function fdlock must have a prototype.
"_autotst.c", line 130: Error: The function sleep must have a prototype.
"_autotst.c", line 132: Error: The function pipe must have a prototype.
"_autotst.c", line 133: Warning: The variable curdir has not yet been 
assigned a
 value.
"_autotst.c", line 139: Error: The function getpid must have a prototype.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `_autotst.o'
Current working directory /home/bpk/anisah/procmail-3/src
*******************************************************
I suggest you take a look at the definition of LDFLAGS*
in the Makefile before you try make again.
*** Error code 1
make: Fatal error: Command failed for target `../autoconf.h'
Current working directory /home/bpk/anisah/procmail-3/src
*** Error code 1
make: Fatal error: Command failed for target `autoconf.h'  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        I'm so lost!. I don't understand what it all means. Can anyone
please help me ?  BTW I'm using SunOS 5.4

Sorry, if this e-mail is too long .. But I've deleted any same errors.


Thanks,

Anisah


<Prev in Thread] Current Thread [Next in Thread>