[Buildroot] Problem building curlftpfs within buildroot

Alexander Khryukin alexander at mezon.ru
Tue Oct 30 11:26:10 UTC 2012


2012/10/30 Alexander Varnin <fenixk19 at mail.ru>

> Hello. I'm trying to build self-made package curlftpfs within buildroot.
> It is simple autotools based package. Build fails with pthread error:
>
> /home/varnin/buildroot/output/**host/usr/lib/gcc/arm-unknown-**
> linux-uclibcgnueabi/4.5.4/../.**./../../arm-unknown-linux-**uclibcgnueabi/bin/ld:
> note: 'pthread_create' is defined in DSO /home/varnin/buildroot/output/**
> host/usr/arm-unknown-linux-**uclibcgnueabi/sysroot/lib/**libpthread.so.0
> so try adding it to the linker command line
> /home/varnin/buildroot/output/**host/usr/arm-unknown-linux-**
> uclibcgnueabi/sysroot/lib/**libpthread.so.0: could not read symbols:
> Invalid operation
> collect2: ld returned 1 exit status
>
> I'm using buildroot toolchain to build my application that uses threads,
> and it compiles and works normally. What could be the problem?
> I'm attaching build log.
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>



You forgot add -lpthread to linker flags.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121030/146a2288/attachment.html>


More information about the buildroot mailing list