Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2012 14:16:04 +0200
From:      Jan Sieka <jps@semihalf.com>
To:        freebsd-current@freebsd.org
Subject:   buildworld fails on FreeBSD 7.x for HEAD from 19.04.2012
Message-ID:  <4F915384.6070308@semihalf.com>

next in thread | raw e-mail | index | archive | help
Hello!

I can't build world from recent sources (HEAD as of 2012.04.19 11:06:48 UTC) on 
a machine running FreeBSD 7.3. I know it's EoLed, but I have found information 
in getline(3) manual that this function first appeared in FreeBSD 8, so I 
presume that the problem is present also for FreeBSD 7.4 (which is still before 
EoL). I have confirmed that problem doesn't exists for FreeBSD 9.0.

Here's excerpt from build log:

===> lib/libmagic (obj,build-tools)
cc -O2 -pipe -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H
-I/usr/src/current/lib/libmagic
-I/usr/src/current/lib/libmagic/../../contrib/file
-std=gnu99
-I/usr/obj/usr/src/current/tmp/legacy/usr/include
-DCOMPILE_ONLY
-L/usr/obj/usr/src/current/tmp/legacy/usr/lib
-o mkmagic
/usr/src/current/lib/libmagic/../../contrib/file/apprentice.c
/usr/src/current/lib/libmagic/../../contrib/file/funcs.c
/usr/src/current/lib/libmagic/../../contrib/file/magic.c
/usr/src/current/lib/libmagic/../../contrib/file/print.c
/usr/src/current/lib/libmagic/../../contrib/file/apprentice.c:
In function 'load_1':
/usr/src/current/lib/libmagic/../../contrib/file/apprentice.c:701:
warning: implicit declaration of function 'getline'
/var/tmp//cc7NqjVu.o(.text+0x699): In function `load_1':
: undefined reference to `getline'
*** Error code 1

Stop in /usr/src/current/lib/libmagic.
*** Error code 1

Stop in /usr/src/current.
*** Error code 1

Stop in /usr/src/current.
*** Error code 1

Stop in /usr/src/current.


Regards,

Jan Sieka



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F915384.6070308>