[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Re: OpenVPN 1.1.0 compilation issue


  • Subject: Re: [Openvpn-users] Re: OpenVPN 1.1.0 compilation issue
  • From: "James Yonan" <jim@xxxxxxxx>
  • Date: Fri, 12 Apr 2002 01:28:00 -0600

Apparently, some C compiler environments define printf as a macro.  If so,
you may get this error when trying to build OpenVPN:

> > openvpn.c:358:1: directives may not be used inside a macro argument
> > openvpn.c:358:1: unterminated argument list invoking macro "printf"
> > openvpn.c: In function `usage':
> > openvpn.c:368: parse error before ')' token
> > make[1]: *** [openvpn.o] Error 1
> > make[1]: Leaving directory `/home/fraga/src/openvpn-1.1.0'
> > make: *** [all] Error 2

If this affects you, here's a small patch against 1.1.0 to fix the problem:

http://openvpn.sourceforge.net/patch/printf.patch

James



_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users