DragonFly users List (threaded) for 2008-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Troubles building m4 from pkgsrc
:
:Even with this on 1.13.0-DEVELOPMENT (on pkgbox) I get:
:
:cc -std=gnu99 -O2 -Wl,-R/home/reed/pkg/lib -o m4 m4.o builtin.o debug.o
:eval.o format.o freeze.o input.o macro.o output.o path.o symtab.o
:stackovf.o ../lib/libm4.a -lm
:../lib/libm4.a(freadahead.o): In function `freadahead':
:freadahead.c:(.text+0x5): undefined reference to `__sreadahead'
:*** Error code 1
That function should exist in libc now. My M4 patch for pkgsrc
call that function (its not part of the vendor M4), because our
struct FILE is opaque so there is no way to implement it directly
in M4 (nor should we, M4's stdio code is an abomination, they should
have just rolled their own).
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]