qt4-moc link failure
rfarmer at predatorlabs.net
Sat Jun 12 00:40:52 UTC 2010
On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton <dougb at freebsd.org> wrote:
> FYI, I'm using gcc 4.5.1, the binutils port, and I did reinstall libtool
> after gcc.
> I'm on -current from April (r207134), and rebuilding qmake worked fine.
> However the next qt4 port in line is qt4-moc, and it fails:
> -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 -o
> ../../../bin/moc-qt4 debug-shared/moc.o debug-shared/preprocessor.o
> debug-shared/generator.o debug-shared/parser.o debug-shared/token.o
> debug-shared/main.o -L/usr/local/lib/qt4 -L/usr/local/lib
> -lbootstrap -L/usr/local/lib/qt4 -L/usr/local/lib -lz
> local symbol 0: discarded in section `.text._Z7qt_noopv' from
> local symbol 1554: discarded in section
> `.text._ZN5QListI10QByteArrayE9node_copyEPNS1_4NodeES3_S3_' from
> *** Error code 1
> 1 error
> Full log is at http://people.freebsd.org/~dougb/qt4-moc.log
It looks like you compiled with g++45 but the very last command (the
link) is using g++ (ie the base system gcc). I don't know enough about
compilers to say for sure if that would cause the problem or not, but
its probably a good starting point.
> ... and that's just a little bit of history repeating.
> -- Propellerheads
> Improve the effectiveness of your Internet presence with
> a domain name makeover! http://SupersetSolutions.com/
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports