[Tfug] Vsftpd compile error on OpenBSD
    Jeremy C. Reed 
    reed at reedmedia.net
       
    Mon Jun  6 11:25:04 MST 2005
    
    
  
On Mon, 6 Jun 2005,  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
I don't think this is related. But I don't think you need or want PAM.
> > > 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"
Maybe sure the tcpwrap.c includes sys/types.h before it includes tcpd.h.
#include <sys/types.h>
 Jeremy C. Reed
 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/
    
    
More information about the tfug
mailing list