exports.c compile problem on mac osx

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

 



Hi,

I am trying to compile httpd 2.2.4 on a Mac OSX 10.4.9 running Darwin Kernel Version 8.9.1, but keep getting an error related to redefinitions in the exports.c file.

First I configure using only:
./configure --prefix=/usr/local/apache2

Then make stops abruptly with the errors:

[snipped]
awk -f /Users/camilo/httpd-2.2.4/build/make_exports.awk `cat export_files` > exports.c
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2    -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp    -I/Users/camilo/httpd-2.2.4/srclib/pcre -I. -I/Users/camilo/httpd-2.2.4/os/unix -I/Users/camilo/httpd-2.2.4/server/mpm/prefork -I/Users/camilo/httpd-2.2.4/modules/http -I/Users/camilo/httpd-2.2.4/modules/filters -I/Users/camilo/httpd-2.2.4/modules/proxy -I/Users/camilo/httpd-2.2.4/include -I/Users/camilo/httpd-2.2.4/modules/generators -I/Users/camilo/httpd-2.2.4/modules/mappers -I/Users/camilo/httpd-2.2.4/modules/database -I/usr/local/apr/include/apr-1 -I/usr/local/apr//include/apr-1 -I/Users/camilo/httpd-2.2.4/modules/proxy/../generators -I/Users/camilo/httpd-2.2.4/modules/ssl -I/Users/camilo/httpd-2.2.4/modules/dav/main  -prefer-non-pic -static -c exports.c && touch exports.lo
exports.c:1712: error: redefinition of 'ap_hack_apr_allocator_create'
exports.c:727: error: previous definition of 'ap_hack_apr_allocator_create' was here
exports.c:1713: error: redefinition of 'ap_hack_apr_allocator_destroy'
exports.c:728: error: previous definition of 'ap_hack_apr_allocator_destroy' was here
[snipped]

Any ideas?  Some older discussions mentioned this problem due to symlinks, but I have checked that already.

Thanks in advance.

cheers,
Cam.


_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux