Date: Mon, 7 Jul 2008 11:21:44 -0400 From: yves.guerin@muhc.mcgill.ca To: Joerg.Pulz@frm2.tum.de, ports@FreeBSD.org Subject: FreeBSD Port: nut-2.2.2 Message-ID: <OF79AF87A1.A8092590-ON8525747F.0053F571-8525747F.00545B86@muhc.mcgill.ca>
next in thread | raw e-mail | index | archive | help
Hello, I try to compile the nut-2.2.2 port: .... cc -DHAVE_CONFIG_H -I. -I../include -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include/hal - I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/loc al/lib/glib-2.0/include -I/usr/local/include -DNETSNMP_ENABLE_IPV6 -O2 -fno-strict-aliasing -pipe -Ufreeb sd6 -Dfreebsd6=freebsd6 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT _H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/local/lib/perl5/5.8 .8/mach/CORE -I. -I/usr/local/include -I/usr/local/include/neon -O2 -fno-strict-aliasing -pipe -Wall -W sign-compare -MT dstate-hal.o -MD -MP -MF .deps/dstate-hal.Tpo -c -o dstate-hal.o dstate-hal.c dstate-hal.c:92: error: syntax error before '*' token dstate-hal.c:93: error: syntax error before '*' token dstate-hal.c:94: error: syntax error before '*' token dstate-hal.c:101: error: syntax error before '*' token dstate-hal.c:176: error: syntax error before '*' token dstate-hal.c:177: error: syntax error before '*' token dstate-hal.c:178: error: syntax error before '*' token dstate-hal.c:183: error: syntax error before '*' token dstate-hal.c: In function `level_handler': dstate-hal.c:186: error: `critical_level' undeclared (first use in this function) dstate-hal.c:186: error: (Each undeclared identifier is reported only once dstate-hal.c:186: error: for each function it appears in.) dstate-hal.c:192: error: `cs' undeclared (first use in this function) dstate-hal.c: At top level: dstate-hal.c:203: error: syntax error before '*' token dstate-hal.c: In function `runtime_handler': dstate-hal.c:207: error: `cs' undeclared (first use in this function) dstate-hal.c:210: error: `runtime' undeclared (first use in this function) dstate-hal.c: At top level: dstate-hal.c:223: error: syntax error before '*' token dstate-hal.c: In function `battery_type_handler': dstate-hal.c:225: error: `battery_type' undeclared (first use in this function) dstate-hal.c:226: error: `cs' undeclared (first use in this function) dstate-hal.c: In function `dstate_init': dstate-hal.c:240: error: `LibHalChangeSet' undeclared (first use in this function) dstate-hal.c:240: error: `cs' undeclared (first use in this function) dstate-hal.c:244: warning: implicit declaration of function `libhal_device_new_changeset' dstate-hal.c:296: warning: implicit declaration of function `libhal_device_commit_changeset' dstate-hal.c:297: warning: implicit declaration of function `libhal_device_free_changeset' dstate-hal.c: In function `dstate_getinfo': dstate-hal.c:307: warning: unused variable `ivalue' dstate-hal.c: In function `dstate_setinfo': dstate-hal.c:337: error: `LibHalChangeSet' undeclared (first use in this function) dstate-hal.c:337: error: `cs' undeclared (first use in this function) dstate-hal.c:338: warning: ISO C90 forbids mixed declarations and code dstate-hal.c: In function `status_commit': dstate-hal.c:459: error: `LibHalChangeSet' undeclared (first use in this function) dstate-hal.c:459: error: `cs' undeclared (first use in this function) dstate-hal.c:460: warning: ISO C90 forbids mixed declarations and code dstate-hal.c: At top level: dstate-hal.c:552: error: syntax error before '*' token dstate-hal.c: In function `hal_set_string': dstate-hal.c:557: error: `key' undeclared (first use in this function) dstate-hal.c:557: error: `value' undeclared (first use in this function) dstate-hal.c:569: warning: implicit declaration of function `libhal_changeset_set_property_string' dstate-hal.c:569: error: `cs' undeclared (first use in this function) dstate-hal.c: At top level: dstate-hal.c:581: error: syntax error before '*' token dstate-hal.c: In function `hal_set_int': dstate-hal.c:586: error: `key' undeclared (first use in this function) dstate-hal.c:586: error: `value' undeclared (first use in this function) dstate-hal.c:598: warning: implicit declaration of function `libhal_changeset_set_property_int' dstate-hal.c:598: error: `cs' undeclared (first use in this function) dstate-hal.c: At top level: dstate-hal.c:642: error: syntax error before '*' token dstate-hal.c: In function `hal_set_bool': dstate-hal.c:647: error: `key' undeclared (first use in this function) dstate-hal.c:647: error: `value' undeclared (first use in this function) dstate-hal.c:659: warning: implicit declaration of function `libhal_changeset_set_property_bool' dstate-hal.c:659: error: `cs' undeclared (first use in this function) dstate-hal.c: At top level: dstate-hal.c:125: warning: 'nut2hal_cmd' defined but not used gmake[1]: *** [dstate-hal.o] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/nut/work/nut-2.2.2 /drivers' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/sysutils/nut. *** Error code 1 Stop in /usr/ports/sysutils/nut. computer: FreeBSD pbsd 6.3-RELEASE FreeBSD 6.3-RELEASE #1: Fri Feb 15 09:53:17 EST 2008 root@pbsd:/usr/obj/usr/src/sys/PATRIOTEBSD i386 Regards, Yves
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF79AF87A1.A8092590-ON8525747F.0053F571-8525747F.00545B86>