Troubles building m4 from pkgsrc

Matthew Dillon dillon at apollo.backplane.com
Sat Apr 26 17:58:16 PDT 2008


:
: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 at backplane.com>





More information about the Users mailing list