Re: Help!!! Pthread Sh*T

Richard B. Johnson (root@chaos.analogic.com)
Tue, 8 Apr 2003 12:13:30 -0400 (EDT)


On Tue, 8 Apr 2003, Jared Young wrote:

> I installed pthread libaries recently, anyhow, I keep getting errors what I cannot work around with gcc and make in general. I cannot even compile a new gcc to allow for the new pthread extenstion. I uninstalled pthread libs in hopes to restore prior state but umm yah. After reinstalling::
>
> Current Kernel:2.4.20
> Current GCC:2.95.3
> Current Pthread:1.4.1
>
> This was the error I got when building commoncpp-2-1.0.9, but this error is similar in everything else I try to build.
>
> ::Configure options::::
> ./configure --prefix=/usr --sysconfdir=/etc --with-pthread --with-ftp
>

You need to reinstall your header files either from backups or from
your distribution. Just overwrite /usr/include/... on down and it will
fix it. Lucky you didn't overwrite libraries ;) That would require
starting from scratch.

In the future, you need to build pthreads into/at-the-same-time as
you build a 'C' runtime library. They then get installed together to
keep them compatible.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/