[kde-freebsd] qt4-moc link failure

Rob Farmer rfarmer at predatorlabs.net
Sat Jun 12 02:40:50 CEST 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:
>
> g++
> -Wl,-rpath-link,/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-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  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
> -L/usr/local/tmp/usr/local/ports/devel/qt4-moc/work/qt-everywhere-opensource-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-opensource-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.

-- 
Rob Farmer

>
>
> --
>
>        ... 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
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the kde-freebsd mailing list