Received: (qmail 29752 invoked by uid 501); 9 Feb 2001 16:17:58 -0000 Message-Id: <20010209161758.29745.qmail@apache.org> Date: 9 Feb 2001 16:17:58 -0000 From: Anand Reply-To: anand.santhanam@metera.com To: submit@bugz.apache.org Subject: Apache gives compilation errors when configured in LynxOS. The error is given from testfunc.c thats dynamically created X-Send-Pr-Version: 3.110 >Number: 7221 >Category: apache-api >Synopsis: Apache gives compilation errors when configured in LynxOS. The error is given from testfunc.c thats dynamically created >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Feb 09 08:20:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: anand.santhanam@metera.com >Release: 1.3.17 >Organization: apache >Environment: LynxOS >Description: $ configure Configuring for Apache, Version 1.3.14 + Warning: Configuring Apache with default settings. + This is probably not what you really want. + Please read the README.configure and INSTALL files + first or at least run './configure --help' for + a compact summary of available options. + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Solaris 270 platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules /home/asanthan/Downloads/Software/apache_1.3.14/src/helpers/testfunc: syntax error at line 1: `(' unexpected /home/asanthan/Downloads/Software/apache_1.3.14/src/helpers/testfunc: ^A\337^E\231\366^B: not found /home/asanthan/Downloads/Software/apache_1.3.14/src/helpers/testfunc: syntax error at line 2: `(' unexpected /home/asanthan/Downloads/Software/apache_1.3.14/src/helpers/testfunc: syntax error at line 1: `(' unexpected /home/asanthan/Downloads/Software/apache_1.3.14/src/helpers/testfunc: syntax error at line 1: `(' unexpected /home/asanthan/Downloads/Software/apache_1.3.14/src/helpers/testfunc: syntax error at line 1: `(' unexpected + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. cd ..; gcc -DSOLARIS2=270 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -lsocket -lnsl collect2: ld returned 1 exit status /apps/lynxos/3.1.0a/ppc//cdk/sunos-xcoff-ppc/usr/lib/gcc-lib/ppc-xcoff-lynxos/2.9-gnupro-98r2/../../../../ppc-xcoff-lynxos/bin/ld: cannot open -lsocket: No such file or directory collect2: ld returned 1 exit status make: *** [dummy] Error 1 ======== Error Output for sanity check ======== ============= End of Error Report ============= Aborting! $ >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database 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! ]