From owner-freebsd-ports@FreeBSD.ORG Mon Jul 7 15:21:46 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 977931065680 for ; Mon, 7 Jul 2008 15:21:46 +0000 (UTC) (envelope-from yves.guerin@muhc.mcgill.ca) Received: from w2blbe14.muhc.mcgill.ca (ch06cusm00010.MUHC.McGill.CA [198.168.152.40]) by mx1.freebsd.org (Postfix) with ESMTP id 634088FC1F for ; Mon, 7 Jul 2008 15:21:46 +0000 (UTC) (envelope-from yves.guerin@muhc.mcgill.ca) Sensitivity: To: Joerg.Pulz@frm2.tum.de, ports@FreeBSD.org X-Mailer: Lotus Notes Release 5.0.10 March 22, 2002 Message-ID: From: yves.guerin@muhc.mcgill.ca Date: Mon, 7 Jul 2008 11:21:44 -0400 X-MIMETrack: Serialize by Router on CH06CUSM00010/Serveurs/SSSS(Release 6.5.4FP3|January 09, 2006) at 07/07/2008 11:21:46 AM MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD Port: nut-2.2.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 15:21:46 -0000 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