[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [gftp] gFTP 2.0.18 has been released



Hi,
   Edit lib/fsplib/fsplib.c and towards the top you will see several #include
statements. Add the following line somewhere in there:

#include <stdint.h>

Brian



On Fri, Feb 04, 2005 at 12:11:43PM -0600, Emily Jackson wrote:
> On Fri, 4 Feb 2005 11:18:13 -0500, Brian Masney <masneyb@xxxxxxxx> wrote:
> > I am pleased to announce the availability of gFTP 2.0.18. Here is a
> > summarized list of changes since version 2.0.18rc1. For a full list of changes,
> > please see the ChangeLog file that is included with the source distribution.
> 
> It won't build on Mac OS X (2.0.17 and 2.0.18rc1 did build):
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DFSP_USE_SHAREMEM_AND_SEMOP=1 
> -I/sw/include  -I/sw/include -MT fsplib.o -MD -MP -MF
> ".deps/fsplib.Tpo" \
>   -c -o fsplib.o `test -f 'fsplib.c' || echo './'`fsplib.c; \
> then mv -f ".deps/fsplib.Tpo" ".deps/fsplib.Po"; \
> else rm -f ".deps/fsplib.Tpo"; exit 1; \
> fi
> fsplib.c: In function `fsp_pkt_write':
> fsplib.c:137: error: `uint16_t' undeclared (first use in this function)
> fsplib.c:137: error: (Each undeclared identifier is reported only once
> fsplib.c:137: error: for each function it appears in.)
> fsplib.c:137: error: parse error before ')' token
> fsplib.c:138: error: parse error before ')' token
> fsplib.c:139: error: parse error before ')' token
> fsplib.c:140: error: `uint32_t' undeclared (first use in this function)
> fsplib.c:140: error: parse error before ')' token
> fsplib.c: In function `fsp_pkt_read':
> fsplib.c:204: error: parse error before "uint16_t"
> fsplib.c:205: error: parse error before "uint16_t"
> fsplib.c:206: error: parse error before "uint16_t"
> fsplib.c:207: error: parse error before "uint32_t"
> fsplib.c: In function `fsp_readdir_native':
> fsplib.c:676: error: parse error before "uint32_t"
> fsplib.c:677: error: parse error before "uint32_t"
> fsplib.c: In function `fsp_install':
> fsplib.c:1125: error: `uint32_t' undeclared (first use in this function)
> fsplib.c:1125: error: parse error before ')' token
> fsplib.c: In function `fsp_stat':
> fsplib.c:1197: error: parse error before "uint32_t"
> fsplib.c:1198: error: parse error before "uint32_t"
> make[3]: *** [fsplib.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> Emily
> 
> -- 
> "If it seem slow, wait for it; it will surely come, it will not delay."
> Emily Jackson
> <http://home.hiwaay.net/~emilyj/missjackson.html>
>