Compile problem with ftp.c

Deryk Lister
Tue, 24 Apr 2001 13:24:24 -0000

Hi,
It seems I'm still hopeless when it comes to compiling software from the
source :)  Can anyone help me with this compile problem please:

make[2]: Entering directory `/usr/src/wine-20010112/dlls/wininet'
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
-mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include
-o ftp.o ftp.c
In file included from ftp.c:46:
internet.h:98: field `tmLastModified' has incomplete type
ftp.c: In function `FTP_SendData':
ftp.c:1998: warning: implicit declaration of function `time'
ftp.c: In function `FTP_ConvertFileProp':
ftp.c:2289: warning: implicit declaration of function `mktime'
ftp.c: In function `FTP_ParseDirectory':
ftp.c:2440: warning: implicit declaration of function `localtime'
ftp.c:2440: warning: assignment makes pointer from integer without a cast
ftp.c:2441: dereferencing pointer to incomplete type
make[2]: *** [ftp.o] Error 1
make[2]: Leaving directory `/usr/src/wine-20010112/dlls/wininet'
make[1]: *** [wininet/libwininet.so] Error 2
make[1]: Leaving directory `/usr/src/wine-20010112/dlls'
make: *** [dlls] Error 2

I'm pretty sure I've seen this problem with the '*time'
functions
elsewhere, but I can't find where now. I think it was a problem with my
distro (Debian Woody, upgraded from Potato)
Any pointers would be greatly appreciated.

Deryk