Message-ID: <4DE4F339.80902@...515...> Date: Tue, 31 May 2011 16:55:05 +0300 From: =?ISO-8859-1?Q?Samuli_Sepp=E4nen?= MIME-Version: 1.0 References: <4DB864E0.4060207@...515...> <4DE4F116.2000904@...1030...> In-Reply-To: <4DE4F116.2000904@...1030...> Subject: Re: [Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable To: Mr Dash Four Cc: "openvpn-devel@lists.sourceforge.net" > configure \ > --build=3Dx86_64-redhat-linux-gnu \ > --host=3Di686-redhat-linux-gnu \ > --enable-password-save \ > --enable-iproute2 \ > --with-ifconfig-path=3D/sbin/ifconfig \ > --with-iproute-path=3D/sbin/ip \ > --with-route-path=3D/sbin/route \ > --disable-port-share \ > --disable-management > > passes through, but then I get this during make: > > gcc -DHAVE_CONFIG_H -I. -I. -O2 -g -pipe -Wall=20 > -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector=20 > --param=3Dssp-buffer-size=3D4 -m32 -march=3Di686 -mtune=3Dpentium2=20 > -fasynchronous-unwind-tables -c pkcs11.c > pkcs11.c: In function '__mytime': > pkcs11.c:40: warning: implicit declaration of function 'openvpn_time' > pkcs11.c: In function '_pkcs11_openvpn_token_prompt': > pkcs11.c:168: error: storage size of 'token_resp' isn't known > pkcs11.c:179: warning: implicit declaration of function 'openvpn_snprintf' > pkcs11.c:187: warning: implicit declaration of function 'get_user_pass' > pkcs11.c:191: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in= =20 > this function) > pkcs11.c:191: error: (Each undeclared identifier is reported only once > pkcs11.c:191: error: for each function it appears in.) > pkcs11.c:191: error: 'GET_USER_PASS_NEED_OK' undeclared (first use in=20 > this function) > pkcs11.c:191: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in=20 > this function) > pkcs11.c:197: warning: left-hand operand of comma expression has no effect > pkcs11.c:197: warning: value computed is not used > pkcs11.c:197: warning: left-hand operand of comma expression has no effect > pkcs11.c:168: warning: unused variable 'token_resp' > pkcs11.c: In function '_pkcs11_openvpn_pin_prompt': > pkcs11.c:211: error: storage size of 'token_pass' isn't known > pkcs11.c:230: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in= =20 > this function) > pkcs11.c:230: error: 'GET_USER_PASS_PASSWORD_ONLY' undeclared (first use= =20 > in this function) > pkcs11.c:230: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in=20 > this function) > pkcs11.c:236: warning: implicit declaration of function 'strncpynt' > pkcs11.c:237: warning: implicit declaration of function 'purge_user_pass' > pkcs11.c:211: warning: unused variable 'token_pass' > pkcs11.c: In function 'SSL_CTX_use_pkcs11': > pkcs11.c:632: error: storage size of 'id_resp' isn't known > pkcs11.c:649: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in= =20 > this function) > pkcs11.c:649: error: 'GET_USER_PASS_NEED_STR' undeclared (first use in=20 > this function) > pkcs11.c:649: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in=20 > this function) > pkcs11.c:632: warning: unused variable 'id_resp' > pkcs11.c: In function '_pkcs11_openvpn_show_pkcs11_ids_pin_prompt': > pkcs11.c:773: error: variable 'gc' has initializer but incomplete type > pkcs11.c:773: warning: implicit declaration of function 'gc_new' > pkcs11.c:773: error: storage size of 'gc' isn't known > pkcs11.c:774: error: variable 'pass_prompt' has initializer but=20 > incomplete type > pkcs11.c:774: warning: implicit declaration of function 'alloc_buf_gc' > pkcs11.c:774: error: storage size of 'pass_prompt' isn't known > pkcs11.c:782: warning: implicit declaration of function 'buf_printf' > pkcs11.c:784: warning: implicit declaration of function 'get_console_inpu= t' > pkcs11.c:784: warning: implicit declaration of function 'BSTR' > pkcs11.c:788: warning: implicit declaration of function 'gc_free' > pkcs11.c:774: warning: unused variable 'pass_prompt' > pkcs11.c:773: warning: unused variable 'gc' > make[2]: *** [pkcs11.o] Error 1 > make[2]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0' > make: *** [all] Error 2 > > Running configure without "--disable-management" and then executing=20 > "make" is OK - no errors. Doing the same as above when not=20 > cross-compiling (i.e. build =3D host =3D x86_64-redhat-linux-gnu) with=20 > "--disable-management" also produces the same error (it passes through=20 > when "--disable-management" is removed). > >=20=20=20 Hi, Our buildslave farm reported this problem, too. It should get fixed shortly in "master" branch and in 2.2 release branch: --=20 Samuli Sepp=E4nen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock