[Tfug] Vsftpd compile error on OpenBSD
steveb7 at bblabs.net
steveb7 at bblabs.net
Mon Jun 6 11:04:46 MST 2005
...not much interesting around line 108
__BEGIN_DECLS
extern int hosts_access(struct request_info *);
extern int hosts_ctl(char *, char *, char *, char *);
extern void shell_cmd(char *);
extern char *percent_m(char *, char *);
extern char *percent_x(char *, int, char *, struct request_info *);
extern void rfc931(struct sockaddr *, struct sockaddr *, char *);
extern int rfc1413(struct sockaddr *, struct sockaddr *, char *, size_t, int);
extern void clean_exit(struct request_info *);
extern void refuse(struct request_info *);
#ifdef _STDIO_H_
extern char *xgets(char *, int, FILE *);
#endif /* _STDIO_H_ */
extern char *split_at(char *, int);
extern int dot_quad_addr_new(char *, in_addr_t *);
extern in_addr_t dot_quad_addr(char *);
----- Original Message -----
From: Bowie J. Poag
Sent: 6/6/2005 7:29:48 AM
To: tfug at tfug.org
Subject: Re: [Tfug] Vsftpd compile error on OpenBSD
> My guess is that there's a syntax error around line 108 in the header. :)
>
> Paste it.
>
>
> Cheers,
> Bowie
>
> Steven Bowers wrote:
>
> > I'm trying to compile vsftpd 2.03 with tcpwrappers and SSL support on
> > OpenBSD 3.7. I've edited the builddefs.h per the readme.ssl file
> >
> > #ifndef VSF_BUILDDEFS_H
> > #define VSF_BUILDDEFS_H
> >
> > #define VSF_BUILD_TCPWRAPPERS
> > #define VSF_BUILD_PAM
> > #define VSF_BUILD_SSL
> >
> > #endif /* VSF_BUILDDEFS_H */
> >
> > but when I run make I get the error:
> >
> > # make
> > gcc -c tcpwrap.c -O2 -Wall -W -Wshadow -idirafter dummyinc
> > In file included from tcpwrap.c:15:
> > /usr/include/tcpd.h:108: error: syntax error before "size_t"
> > /usr/include/tcpd.h:115: error: syntax error before "in_addr_t"
> > /usr/include/tcpd.h:116: error: syntax error before "dot_quad_addr"
> > *** Error code 1
> >
> > Stop in /tmp/vsftpd-2.0.3.
> >
> > Googled, but found no major clues. Any help would be appreciated.
> >
> > Steve
> > _______________________________________________
> > tfug mailing list
> > tfug at tfug.org
> > http://www.tfug.org/mailman/listinfo/tfug
> >
>
> _______________________________________________
> tfug mailing list
> tfug at tfug.org
> http://www.tfug.org/mailman/listinfo/tfug
More information about the tfug
mailing list