[MacPorts] #30253: openvpn2 fails to build on OS X 10.7 Lion

MacPorts noreply at macports.org
Wed Jul 20 11:20:46 PDT 2011


#30253: openvpn2 fails to build on OS X 10.7 Lion
------------------------------+---------------------------------------------
 Reporter:  cruoho@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.9.2                                
 Keywords:  openvpn2          |        Port:  openvpn2                             
------------------------------+---------------------------------------------
 openvpn2 fails to build on Lion with XCode 4.1.  Macports is the latest
 from svn. The following error is in the main.log:


 {{{
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT socket.o -MD -MP -MF
 .deps/socket.Tpo -c -o socket.o socket.c
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT socks.o -MD -MP -MF
 .deps/socks.Tpo -c -o socks.o socks.c
 :info:build mv -f .deps/session_id.Tpo .deps/session_id.Po
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT ssl.o -MD -MP -MF .deps/ssl.Tpo -c
 -o ssl.o ssl.c
 :info:build mv -f .deps/push.Tpo .deps/push.Po
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT status.o -MD -MP -MF
 .deps/status.Tpo -c -o status.o status.c
 :info:build mv -f .deps/reliable.Tpo .deps/reliable.Po
 :info:build mv -f .deps/route.Tpo .deps/route.Po
 :info:build mv -f .deps/ps.Tpo .deps/ps.Po
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT tun.o -MD -MP -MF .deps/tun.Tpo -c
 -o tun.o tun.c
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT win32.o -MD -MP -MF
 .deps/win32.Tpo -c -o win32.o win32.c
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT cryptoapi.o -MD -MP -MF
 .deps/cryptoapi.Tpo -c -o cryptoapi.o cryptoapi.c
 :info:build mv -f .deps/win32.Tpo .deps/win32.Po
 :info:build mv -f .deps/cryptoapi.Tpo .deps/cryptoapi.Po
 :info:build /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I. -no-
 cpp-precomp  -pipe -O2 -arch x86_64 -MT options.o -MD -MP -MF
 .deps/options.Tpo -c -o options.o options.c
 :info:build mv -f .deps/status.Tpo .deps/status.Po
 :info:build mv -f .deps/socks.Tpo .deps/socks.Po
 :info:build socket.c: In function 'create_socket_udp':
 :info:build socket.c:613: error: 'SOL_IP' undeclared (first use in this
 function)
 :info:build socket.c:613: error: (Each undeclared identifier is reported
 only once
 :info:build socket.c:613: error: for each function it appears in.)
 :info:build socket.c: In function 'link_socket_read_udp_posix_recvmsg':
 :info:build socket.c:2242: error: 'SOL_IP' undeclared (first use in this
 function)
 :info:build socket.c: In function 'link_socket_write_udp_posix_sendmsg':
 :info:build socket.c:2323: error: 'SOL_IP' undeclared (first use in this
 function)
 :info:build make[2]: *** [socket.o] Error 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/30253>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list