From nobody@hyperreal.com Tue Apr 29 13:07:42 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id NAA06793; Tue, 29 Apr 1997 13:07:42 -0700 (PDT) Message-Id: <199704292007.NAA06793@hyperreal.com> Date: Tue, 29 Apr 1997 13:07:42 -0700 (PDT) From: Mike Versaci Reply-To: mikev@gateway.grumman.com To: apbugs@hyperreal.com Subject: can't compile regex/libregex.a X-Send-Pr-Version: 3.2 >Number: 509 >Category: os-sunos >Synopsis: can't compile regex/libregex.a >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Tue Apr 29 13:10:01 1997 >Last-Modified: Wed Apr 30 13:13:41 PDT 1997 >Originator: mikev@gateway.grumman.com >Organization: >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 :: mikev@atdcdnse [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: State-Changed-From-To: open-closed State-Changed-By: coar State-Changed-When: Wed Apr 30 13:13:40 PDT 1997 State-Changed-Why: If the problem persists after trying the steps below, please let us know and we'll re-open this report. [From Dean] 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 >Unformatted: