Apache 1.3/HPUX compile problems

Apache 1.3/HPUX compile problems

Post by Marc Slemk » Sat, 27 Jun 1998 04:00:00




>I'm having a problem compiling Apache 1.3 on HPUX and wonder if anyone can
>help.  Unfortunately I'm a 'C' neophyte and don't have any ideas how to begin
>tracking down this problem.  I'm running HPUX 10.20 and GCC 2.7.2.  gcc -v
>gives the following:
>Reading specs from /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.7.2.1/specs
>gcc version 2.7.2.1
>Running make, I get the following output:
>louux45:sybase:/home/green/apache/apache_1.3.0 $ make ===> src ===> src/regex
> gcc -I.  -I../os/unix -I../include  -DHPUX10 -DSTATUS -DUSE_HSREGEX
>`../apaci` -DPOSIX_MISTAKE -c regcomp.c as: "/var/tmp/cca19540.s", line 970:
>error 1052: Directive name not recognized - PARAM as: "/var/tmp/cca19540.s",
>line 1121: error 1052: Directive name not recognized - PARAM < SNIP - same
>error repeated on many more lines, then...> as: "/var/tmp/cca19540.s", line
>4552: warning 36: Use of XMPYU is incorrect for the current LEVEL of 1.0 as:
>"/var/tmp/cca19540.s", line 4553: warning 36: Use of %fr8R is incorrect for
>the current LEVEL of 1.0 as: "/var/tmp/cca19540.s", line 4621: warning 36:
>Use of XMPYU is incorrect for the current LEVEL of 1.0 as:

Looks like your assembler and your compiler don't agree about something.

Triple check that the version of gcc you installed is for HPUX 10.20,
and that you are running 10.20, and you followed all installation
instructions.

This is _not_ an Apache problem, but a problem with your compiler.

 
 
 

1. Apache 1.3 /AIX 4.2 compile problems

I am unable to compile Apache 1.3.0 on an IBM AIX 4.2 using the
aix c
compiler..

Any help would be appreciated.

Here is the output from make

paulw

Script command is started on Fri Jul  3 11:50:56 CDT
1998.popeye% make^M
===> regex^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__
-qnogenpcomp -qnousepcomp -DUSE_HSREGEX  -DPOSIX_MISTAKE -c
regcomp.c
^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__
-qnogenpcomp -qnousepcomp -DUSE_HSREGEX  -DPOSIX_MISTAKE -c
regexec.c
^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__
-qnogenpcomp -qnousepcomp -DUSE_HSREGEX  -DPOSIX_MISTAKE -c
regerror.
c^M
        cc -I.  -I../os/unix -I../include   -DAIX=42 -U__STR__
-qnogenpcomp -qnousepcomp -DUSE_HSREGEX  -DPOSIX_MISTAKE -c
regfree.c
^M
        rm -f libregex.a^M
        ar cr libregex.a regcomp.o regexec.o regerror.o
regfree.o^M
        ranlib libregex.a^M
Target "all" is up to date.^M
Target "lib" is up to date.^M
<=== regex^M
===> os/unix^M
        cc -c  -I../../os/unix -I../../include   -DAIX=42
-U__STR__ -qnogenpcomp -qnousepcomp -DUSE_HSREGEX  os.c^M
"/usr/include/sys/cdefs.h", line 131.9: 1506-236 (W) Macro name
__attribute__ has been redefined.^M
"/usr/include/sys/cdefs.h", line 131.9: 1506-358 (I)
"__attribute__" is defined on line 829 of
../../include/conf.h.^M
"os-aix-dso.c", line 133.12: 1506-343 (S) Redeclaration of
dlerror differs from previous declaration on line 111 of
"../../os/unix/o
s.h".^M
"os-aix-dso.c", line 133.12: 1506-050 (I) Return type "unsigned
char*" in redeclaration is not compatible with the previous
return t
ype "const unsigned char*".^M
"os.c", line 77.13: 1506-343 (S) Redeclaration of
ap_os_dso_error differs from previous declaration on line 130
of "../../os/unix/os
.h".^M
"os.c", line 77.13: 1506-050 (I) Return type "unsigned char*"
in redeclaration is not compatible with the previous return
type "cons
t unsigned char*".^M
make: 1254-004 The error code from the last command is 1.^M
^M
^M
Stop.^M
make: 1254-004 The error code from the last command is 1.^M
^M
^M
Script command is complete on Fri Jul  3 11:51:21 CDT 1998.

2. InstallFest - Washington DC LUG - 28 March

3. Problem compiling mod_perl for apache 1.3

4. Solaris 7 Installation Disk.

5. Problems compiling Apache 1.3 beta 6

6. smail and sendmail - desperate!

7. Compile problem Apache 1.3 and GNUgcc 2.7.2.1

8. My Mitsumi CDROM won't work properly !

9. apache DSO problem (Loaded DSO libexec/mod_mime.so uses plain Apache 1.3 API)

10. Apache 1.3 - Solaris Compile Help

11. self-compiled httpd does not start (suse 6.1 / apache 1.3.x))

12. Compiling Apache 1.3.xx: undefined reference to `stat'

13. Compiling Apache 1.3.x with PHP and Oracle 7.3.4 on HPUX11