From owner-freebsd-ports@FreeBSD.ORG Mon Jul 7 16:36:40 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 23813106567E for ; Mon, 7 Jul 2008 16:36:40 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id C1CAF8FC29 for ; Mon, 7 Jul 2008 16:36:39 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KFthc-0001EJ-R4; Mon, 07 Jul 2008 18:36:36 +0200 Message-ID: <4872460E.8040702@FreeBSD.org> Date: Mon, 07 Jul 2008 18:36:30 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: Joerg Pulz References: <20080707173950.H6862@unqrf.nqzva.sez2> In-Reply-To: <20080707173950.H6862@unqrf.nqzva.sez2> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: ports@freebsd.org, yves.guerin@muhc.mcgill.ca Subject: Re: 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 16:36:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Joerg Pulz wrote: | | On Mon, 7 Jul 2008, yves.guerin@muhc.mcgill.ca wrote: | | |> 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 | | Hi Yves, | | what OPTIONS did you select? Can you please 'cd' to the ports directory | and run 'make config' and write me what is selected or not. Or just paste the output of make showconfig :) | As it seems to be related to "hal", what version of the "hal port" is | installed on your system, make sure that hal is up to date. | | Regards | Joerg | | -- The beginning is the most important part of the work. | -Plato _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhyRg0ACgkQwMJqmJVx947kKQCgzLGxC+YolvFsYxpEB9xDA+Cm VvIAoIMLwjxzshKCr7qSe484aKvfLNLD =Ub+N -----END PGP SIGNATURE-----