Hi Jonathan,

This does not really address the issue you're having, but could you try
if using Alon's new buildsystem helps:

<https://github.com/alonbl/openvpn/downloads>

You need to copy the "generic" directory to OpenVPN source directory, cd
to it and do a ./build. There's some additional info in the README file.

I used it earlier today successfully to compile native + 32/64-bit
Windows binaries on Ubuntu 11.10. It should also work fine on MacOS X if
all dependencies are in place:

<http://thread.gmane.org/gmane.network.openvpn.devel/5527>

Samuli


>> A preview of OpenVPN 2.3-alpha1 installer for Windows is now available
>> here:
>>
>> <http://build.openvpn.net/downloads/snapshots/openvpn-2.3-alpha1-preview1-install.exe>
> I realize that this post was aimed at Windows, but building on OS X
> 10.6.8 (for Tunnelblick) fails with the following:
>
> gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../include  -no-cpp-precomp
>  -isysroot /Developer/SDKs/MacOSX10.4u.sdk -Os
> -mmacosx-version-min=10.4 -arch i386 -c socket.c
> In file included from buffer.h:29,
>                  from socket.h:28,
>                  from socket.c:33:
> error.h:172:5: warning: #warning this compiler appears to lack vararg
> macros which will cause a significant degradation in efficiency (you
> can ignore this warning if you are using LCLINT)
> socket.c: In function 'create_socket_udp6':
> socket.c:902: error: 'IPV6_RECVPKTINFO' undeclared (first use in this 
> function)
> socket.c:902: error: (Each undeclared identifier is reported only once
> socket.c:902: error: for each function it appears in.)
> make[4]: *** [socket.o] Error 1
>
> The error is the main problem, of course, but I'm not sure what to
> make of the warning, which appears in the compilation of (almost?) all
> modules  -- it's hard to believe that gcc 4.0 doesn't have vararg
> macros, since they are a feature of GNU C!
>
> The full compilation log is available at http://pastebin.com/DaPnQZCH


Reply via email to