>Number: 4068
>Category: os-aix
>Synopsis: Failure To Compile 'Main'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Mar 16 11:10:01 PST 1999
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.4
>Environment:
AIX 4.2.1.0
IBM xlC.C 3.1.4.0 COMMITTED C for AIX Compiler
>Description:
When compiling the '/src/main' directory, I get an error message complaining of
a library file not found "libc.a[shr.o]". My path includes the '/usr/lib'
directory, where libc.a is found. I am compiling for DSO support, but did not
enable the SHARED_CORE rule per earlier pr's. Since I am compiling for DSO
is the program looking for 'shr.o'? If so, would you know what AIX fileset
that could be found in, because I cannot find that file on any of my systems.
I am using apaci install method and call configure with these options:
configure --prefix=/usr/local/etc/httpd --enable-module=so
(as indicated in JServ install guide, to enable DSO support for JServ module)
Here is the output received:
Target "all" is up to date.
<=== src/ap
===> src/main
cc -c -I../os/unix -I../include -DAIX=42 -U__STR__ -DAIX_BIND_PROCESS
OR -qnogenpcomp -qnousepcomp -DUSE_HSREGEX `../apaci` gen_test_char.c
cc -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR -qnogenpcomp -qnousepcomp -D
USE_HSREGEX `../apaci` -lm -o gen_test_char gen_test_char.o -lld
./gen_test_char >test_char.h
exec(): 0509-036 Cannot load program ./gen_test_char because of the following er
rors:
0509-022 Cannot load library libc.a[shr.o].
0509-026 System error: A file or directory in the path name does not exi
st.
make: 1254-004 The error code from the last command is 255.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
Any assistance you can offer would be greatly appreciated-
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]