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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"