Hi, I'm trying to build the pptp daemon, with gcc 4.0.2 20051125 (FC4). I start by running autogen.sh with the same arguments as the rest of NetworkManager in vpn-daemons/pptp. Running make gives: make all-recursive make[1]: Entering directory `/home/james/src/NetworkManager-build/vpn-daemons/pptp' Making all in src make[2]: Entering directory `/home/james/src/NetworkManager-build/vpn-daemons/pptp/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../utils -I../vpn-daemons/pptp -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -DDBUS_API_SUBJECT_TO_CHANGE -DG_DISABLE_DEPRECATED -DBINDIR=\"/usr/bin\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION="\"0.1.0\"" -DLIBDIR=\""/usr/lib"\" -DLIBEXECDIR=\""/usr/libexec"\" -DLOCALSTATEDIR=\""/var"\" -DDATADIR= \"/usr/share\" -Wall -Werror -std=gnu89 -g -O2 -Wno-unused -Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement -Wno-pointer-sign -MT nm-pptp-service.o -MD -MP -MF ".deps/nm-pptp-service.Tpo" \ -c -o nm-pptp-service.o `test -f 'nm-pptp-service.c' || echo './'`nm-pptp-service.c; \ then mv -f ".deps/nm-pptp-service.Tpo" ".deps/nm-pptp-service.Po"; \ else rm -f ".deps/nm-pptp-service.Tpo"; exit 1; \ fi nm-pptp-service.c:72: error: syntax error before âNMVPNStateâ cc1: warnings being treated as errors nm-pptp-service.c:72: warning: no semicolon at end of struct or union nm-pptp-service.c:78: error: syntax error before â}â token nm-pptp-service.c:78: warning: type defaults to âintâ in declaration of âNmPPTPDataâ nm-pptp-service.c:78: warning: data definition has no type or storage class nm-pptp-service.c:81: error: syntax error before â*â token nm-pptp-service.c:116: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_dbus_signal_failureâ: nm-pptp-service.c:121: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:121: error: (Each undeclared identifier is reported only once nm-pptp-service.c:121: error: for each function it appears in.) nm-pptp-service.c:129: warning: passing argument 3 of âdbus_message_new_signalâ from incompatible pointer type nm-pptp-service.c: At top level: nm-pptp-service.c:149: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_dbus_signal_state_changeâ: nm-pptp-service.c:153: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:155: error: âNM_DBUS_VPN_SIGNAL_STATE_CHANGEâ undeclared (first use in this function) nm-pptp-service.c:161: error: âold_stateâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:176: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_set_stateâ: nm-pptp-service.c:178: error: âNMVPNStateâ undeclared (first use in this function) nm-pptp-service.c:178: error: syntax error before âold_stateâ nm-pptp-service.c:180: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:182: error: âold_stateâ undeclared (first use in this function) nm-pptp-service.c:184: error: ânew_stateâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:200: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_quit_timer_cbâ: nm-pptp-service.c:202: error: âdataâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:219: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_schedule_quit_timerâ: nm-pptp-service.c:221: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:224: error: âintervalâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:234: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_cancel_quit_timerâ: nm-pptp-service.c:236: error: âdataâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:250: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_helper_timer_cbâ: nm-pptp-service.c:252: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:256: error: âNM_DBUS_VPN_SIGNAL_CONNECT_FAILEDâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:271: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_schedule_helper_timerâ: nm-pptp-service.c:273: error: âdataâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:286: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_cancel_helper_timerâ: nm-pptp-service.c:288: error: âdataâ undeclared (first use in this function) nm-pptp-service.c: In function âpptp_watch_cbâ: nm-pptp-service.c:305: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:305: error: syntax error before â)â token nm-pptp-service.c:328: error: âNM_DBUS_VPN_SIGNAL_LOGIN_FAILEDâ undeclared (first use in this function) nm-pptp-service.c:332: error: âNM_DBUS_VPN_SIGNAL_CONNECT_FAILEDâ undeclared (first use in this function) nm-pptp-service.c:339: error: âNM_VPN_STATE_STOPPEDâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:350: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_start_pptp_binaryâ: nm-pptp-service.c:363: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:367: error: ânum_itemsâ undeclared (first use in this function) nm-pptp-service.c:367: error: âdata_itemsâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:592: error: syntax error before âNmPPTPDataâ nm-pptp-service.c: In function ânm_pptp_dbus_handle_start_vpnâ: nm-pptp-service.c:604: error: âmessageâ undeclared (first use in this function) nm-pptp-service.c:605: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:607: error: âNM_VPN_STATE_STARTINGâ undeclared (first use in this function) nm-pptp-service.c:618: error: âNM_DBUS_VPN_SIGNAL_VPN_CONFIG_BADâ undeclared (first use in this function) nm-pptp-service.c:638: error: âNM_VPN_STATE_STOPPEDâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:649: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_dbus_handle_stop_vpnâ: nm-pptp-service.c:651: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:655: error: âNM_VPN_STATE_STOPPINGâ undeclared (first use in this function) nm-pptp-service.c:661: error: âNM_VPN_STATE_STOPPEDâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:675: error: syntax error before âNmPPTPDataâ nm-pptp-service.c: In function ânm_pptp_dbus_start_vpnâ: nm-pptp-service.c:679: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:680: error: âconâ undeclared (first use in this function) nm-pptp-service.c:681: error: âmessageâ undeclared (first use in this function) nm-pptp-service.c:685: error: âNM_VPN_STATE_STARTINGâ undeclared (first use in this function) nm-pptp-service.c:686: error: âNM_DBUS_VPN_STARTING_IN_PROGRESSâ undeclared (first use in this function) nm-pptp-service.c:690: error: âNM_VPN_STATE_STARTEDâ undeclared (first use in this function) nm-pptp-service.c:691: error: âNM_DBUS_VPN_ALREADY_STARTEDâ undeclared (first use in this function) nm-pptp-service.c:695: error: âNM_VPN_STATE_STOPPINGâ undeclared (first use in this function) nm-pptp-service.c:696: error: âNM_DBUS_VPN_STOPPING_IN_PROGRESSâ undeclared (first use in this function) nm-pptp-service.c:700: error: âNM_VPN_STATE_STOPPEDâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:721: error: syntax error before âNmPPTPDataâ nm-pptp-service.c: In function ânm_pptp_dbus_stop_vpnâ: nm-pptp-service.c:725: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:726: error: âconâ undeclared (first use in this function) nm-pptp-service.c:727: error: âmessageâ undeclared (first use in this function) nm-pptp-service.c:731: error: âNM_VPN_STATE_STOPPINGâ undeclared (first use in this function) nm-pptp-service.c:732: error: âNM_DBUS_VPN_STOPPING_IN_PROGRESSâ undeclared (first use in this function) nm-pptp-service.c:736: error: âNM_VPN_STATE_STOPPEDâ undeclared (first use in this function) nm-pptp-service.c:737: error: âNM_DBUS_VPN_ALREADY_STOPPEDâ undeclared (first use in this function) nm-pptp-service.c:741: error: âNM_VPN_STATE_STARTINGâ undeclared (first use in this function) nm-pptp-service.c:742: error: âNM_VPN_STATE_STARTEDâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:762: error: syntax error before âNmPPTPDataâ nm-pptp-service.c: In function ânm_pptp_dbus_get_stateâ: nm-pptp-service.c:766: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:767: error: âconâ undeclared (first use in this function) nm-pptp-service.c:768: error: âmessageâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:784: error: syntax error before âNmPPTPDataâ nm-pptp-service.c: In function ânm_pptp_dbus_process_helper_config_errorâ: nm-pptp-service.c:788: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:789: error: âconâ undeclared (first use in this function) nm-pptp-service.c:790: error: âmessageâ undeclared (first use in this function) nm-pptp-service.c:793: error: âNM_VPN_STATE_STARTINGâ undeclared (first use in this function) nm-pptp-service.c:799: error: âNM_DBUS_VPN_SIGNAL_IP_CONFIG_BADâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:813: error: syntax error before âNmPPTPDataâ nm-pptp-service.c: In function ânm_pptp_dbus_process_helper_ip4_configâ: nm-pptp-service.c:831: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:832: error: âconâ undeclared (first use in this function) nm-pptp-service.c:833: error: âmessageâ undeclared (first use in this function) nm-pptp-service.c:836: error: âNM_VPN_STATE_STARTINGâ undeclared (first use in this function) nm-pptp-service.c:870: error: âNM_DBUS_VPN_SIGNAL_IP4_CONFIGâ undeclared (first use in this function) nm-pptp-service.c:891: error: syntax error before âNM_DBUS_VPN_SIGNAL_IP4_CONFIGâ nm-pptp-service.c:896: error: âNM_VPN_STATE_STARTEDâ undeclared (first use in this function) nm-pptp-service.c: In function ânm_pptp_dbus_message_handlerâ: nm-pptp-service.c:920: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:920: error: syntax error before â)â token nm-pptp-service.c:936: error: âNM_VPN_STATE_INITâ undeclared (first use in this function) nm-pptp-service.c:936: error: âNM_VPN_STATE_SHUTDOWNâ undeclared (first use in this function) nm-pptp-service.c:939: error: âNM_DBUS_VPN_WRONG_STATEâ undeclared (first use in this function) nm-pptp-service.c: In function ânm_pptp_dbus_filterâ: nm-pptp-service.c:977: error: âdataâ undeclared (first use in this function) nm-pptp-service.c:977: error: syntax error before â)â token nm-pptp-service.c: At top level: nm-pptp-service.c:1028: error: syntax error before â*â token nm-pptp-service.c: In function ânm_pptp_dbus_initâ: nm-pptp-service.c:1034: error: âdataâ undeclared (first use in this function) nm-pptp-service.c: At top level: nm-pptp-service.c:1089: error: syntax error before â*â token nm-pptp-service.c:1089: warning: type defaults to âintâ in declaration of âvpn_dataâ nm-pptp-service.c:1089: warning: data definition has no type or storage class nm-pptp-service.c: In function âsigterm_handlerâ: nm-pptp-service.c:1095: error: request for member âloopâ in something not a structure or union nm-pptp-service.c: In function âmainâ: nm-pptp-service.c:1114: error: request for member âstateâ in something not a structure or union nm-pptp-service.c:1114: error: âNM_VPN_STATE_INITâ undeclared (first use in this function) nm-pptp-service.c:1116: error: request for member âloopâ in something not a structure or union nm-pptp-service.c:1118: error: request for member âconâ in something not a structure or union nm-pptp-service.c:1128: error: âNM_VPN_STATE_STOPPEDâ undeclared (first use in this function) nm-pptp-service.c:1129: error: request for member âloopâ in something not a structure or union nm-pptp-service.c:1133: error: request for member âloopâ in something not a structure or union nm-pptp-service.c:1135: error: request for member âstr_ip4_vpn_gatewayâ in something not a structure or union nm-pptp-service.c:1135: error: request for member âstr_ip4_vpn_gatewayâ in something not a structure or union make[2]: *** [nm-pptp-service.o] Error 1 make[2]: Leaving directory `/home/james/src/NetworkManager-build/vpn-daemons/pptp/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/james/src/NetworkManager-build/vpn-daemons/pptp' make: *** [all] Error 2 James -- James Ettle jhe phys soton ac uk Southampton High Energy Physics School of Physics and Astronomy University of Southampton, SO17 1BJ PGP key: http://www.hep.phys.soton.ac.uk/~jhe/pgp-public/jhe-shep.asc -----------------------------------------------------------------------
Attachment:
signature.asc
Description: This is a digitally signed message part