Apache compile errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all. Anyone know why I get the following errors when trying to compile
the latest Apache-2 release? /bin/sh
/usr/local/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile gcc -g
- -O2   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I../include
- -I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/sh /usr/local/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile
gcc -g -O2   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
- -I../include -I../include/arch/unix  -c apr_snprintf.c && touch
apr_snprintf.lo
In file included from ../include/apr_portable.h:85,
                 from apr_snprintf.c:65:
/usr/local/include/pthread.h:163: error: parse error before "__thread"
/usr/local/include/pthread.h:165: error: `pthread_create' declared as
function returning a function
/usr/local/include/pthread.h:166: error: parse error before "void"
/usr/local/include/pthread.h:591: error: storage class specified for
parameter `type name'
make[4]: *** [apr_snprintf.lo] Error 1
make[4]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/httpd-2.0.48/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/httpd-2.0.48/srclib'
make: *** [all-recursive] Error 1

I know the problem is related to pthread.h, and as far as I know that
header is part of Glibc...Does that mean I need a new Glibc or rebuild the
existing one?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQFACLIUGT7f58lCbH0RArAtAKCHnIK9K4ZiueatpVIgSGB5b2efpwCfbe7P
FGRdptUTXg5l/NBBmiMzpJc=
=i7aN
-----END PGP SIGNATURE-----






[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux