This is almost always caused by building apache for two different architectures and not doing a make clean first. Try doing a make clean and rebuilding. Or just remove regex/*.a regex/*.o and try again.
Dean On Tue, 29 Apr 1997, Mike Versaci wrote: > > >Number: 509 > >Category: os-sunos > >Synopsis: can't compile regex/libregex.a > >Confidential: no > >Severity: critical > >Priority: medium > >Responsible: apache (Apache HTTP Project) > >State: open > >Class: support > >Submitter-Id: apache > >Arrival-Date: Tue Apr 29 13:10:01 1997 > >Originator: [EMAIL PROTECTED] > >Organization: > apache > >Release: apache_1.2b8 > >Environment: > sunos 4.1.4, new install, no patches, gcc 2.7.0 > >Description: > This is the error I get from make :: > > [EMAIL PROTECTED] [177]: make > gcc -o httpd alloc.o http_main.o http_core.o http_config.o http_request.o > http_log.o http_protocol.o rfc1413.o util.o util_script.o modules.o buff.o > md5c.o util_md5.o explain.o http_bprintf.o util_date.o util_snprintf.o > mod_mime.o mod_access.o mod_auth.o mod_negotiation.o mod_include.o > mod_dir.o mod_cgi.o mod_userdir.o mod_alias.o mod_env.o mod_log_config.o > mod_asis.o mod_imap.o mod_actions.o mod_browser.o regex/libregex.a > collect2: ld returned 4 exit status > ld: regex/libregex.a: warning: archive has no table of contents; add one > using ranlib(1) > ld: regex/libregex.a(/): bad magic number > *** Error code 1 > make: Fatal error: Command failed for target `httpd' > >How-To-Repeat: > > >Fix: > > >Audit-Trail: > >Unformatted: > > >
