Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 11:48:13 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        jungle Boogie <jungleboogie0@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: New port assistance for mlr
Message-ID:  <20160131104813.GA46096@home.opsec.eu>
In-Reply-To: <CAKE2PDuxb4zdFNMVLB62s02z_eFgyyhwyoVeVfmOdi=bKATAYg@mail.gmail.com>
References:  <CAKE2PDuYBpo_8cJnps8LR4aObi-OBABAKhTecyUYLdrmSgESVg@mail.gmail.com> <20160131064018.GZ46096@home.opsec.eu> <CAKE2PDuxb4zdFNMVLB62s02z_eFgyyhwyoVeVfmOdi=bKATAYg@mail.gmail.com>

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

> > 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/libc.so.7: 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/libc.so.7: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

-- 
pi@opsec.eu            +49 171 3101372                         4 years to go !



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