New port assistance for mlr

Kurt Jaeger lists at
Sun Jan 31 10:48:14 UTC 2016


> > libtool: link: cc -g -pg -Wall -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -fstack-protector -o mlrp mlrp-mlrmain.o  cli/.libs/libcli.a containers/.libs/libcontainers.a stream/.libs/libstream.a input/.libs/libinput.a mapping/.libs/libmapping.a output/.libs/liboutput.a lib/.libs/libmlr.a dsls/.libs/libfdsl.a dsls/.libs/libpdsl.a -lm
> > /usr/bin/ld: undefined reference to symbol `_end' (try adding -lc)
> > //lib/ could not read symbols: Bad value
> > cc: error: linker command failed with exit code 1 (use -v to see invocation)

> I believe this is because you're using clang and mlr is expecting gcc.

If I build with gcc:

--- mlrp ---
/usr/local/bin/ld: //usr/lib/libc_p.a(sbrk.po): undefined reference to symbol '_end'
//lib/ error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

pi at            +49 171 3101372                         4 years to go !

More information about the freebsd-ports mailing list