[Click] userlevel multi-threading linking issue
Eddie Kohler
kohler at cs.ucla.edu
Thu Jun 19 16:33:12 EDT 2008
Hi Kevin,
Thanks for this bug report, too. A fix has been checked in. I didn't
notice the problem because I always --enable-test.
Eddie
springbo at cs.wisc.edu wrote:
> Hi,
>
> When I attempted to use user-level multithreading compilation failed at
> linking because click was not being linked against the pthread library.
> Adding 'ELEMENT_LIBS(-lpthread)' to the bottom of threadsafequeue.cc
> caused userlevel click to link against the pthread and solved the problem.
> configure doesn't have a check for the pthread library either.
>
> I'm using the latest sources with the configure string:
> ./configure --prefix=/usr/local --enable-local --enable-multithread
> --enable-user-multithread --enable-adaptive --enable-intel-cpu
>
> Is there something that I missed which is requiring me to modify the
> standard elements to link against the pthread library?
>
>
> Thanks!
> Kevin Springborn
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list