Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 17:40:50 -0700
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        Doug Barton <dougb@freebsd.org>
Cc:        kde@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: qt4-moc link failure
Message-ID:  <AANLkTiltaSONojX77LTEf-vcMVqItax5c7Tqqyh3uPx6@mail.gmail.com>
In-Reply-To: <4C128F14.9060605@FreeBSD.org>
References:  <4C128F14.9060605@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton <dougb@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:
>
> g++
> -Wl,-rpath-link,/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-ever=
ywhere-opensource-src-4.6.3/lib
> -pthread -Wl,-rpath,/usr/local/lib/qt4 -Wl,-rpath,/usr/local/lib/qt4 -o
> ../../../bin/moc-qt4 debug-shared/moc.o =A0debug-shared/preprocessor.o
> debug-shared/generator.o =A0debug-shared/parser.o =A0debug-shared/token.o
> debug-shared/main.o =A0 =A0-L/usr/local/lib/qt4 -L/usr/local/lib
> -L/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensou=
rce-src-4.6.3/src/tools/bootstrap
> -lbootstrap -L/usr/local/lib/qt4 -L/usr/local/lib -lz
> local symbol 0: discarded in section `.text._Z7qt_noopv' from
> debug-shared/preprocessor.o
> ...
> local symbol 1554: discarded in section
> `.text._ZN5QListI10QByteArrayE9node_copyEPNS1_4NodeES3_S3_' from
> /usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensourc=
e-src-4.6.3/src/tools/bootstrap/libbootstrap.a(qsimplecodec.o)
> *** 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.

--=20
Rob Farmer

>
>
> --
>
> =A0 =A0 =A0 =A0... and that's just a little bit of history repeating.
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Propellerheads
>
> =A0 =A0 =A0 =A0Improve the effectiveness of your Internet presence with
> =A0 =A0 =A0 =A0a domain name makeover! =A0 =A0http://SupersetSolutions.co=
m/
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



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