AIX 4.2 and C++ compiling problem

AIX 4.2 and C++ compiling problem

Post by Rajesh N. Malhotr » Wed, 07 Aug 1996 04:00:00



Aix'perts,

        I recently upgraded my 43P to 4.2. Now when I compile my application I
get an error

"/usr/lpp/xlC/include/sys/time.h", line 13.5: 1540-089: (S) More than
one function "setitimer" has non-C++ linkage.

Any ideas appreciated.

Thanx,

Raj.

 
 
 

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. gated conf help?

3. Problems with Dynamic Library compiling on AIX 4.2 Python 1.5.2

4. SGI joins the club

5. AIX 4.2 C++ compiler patch

6. PnP Modem, NOT winmodem

7. Sun forte C++ 5.1 vs C++ 4.2

8. Mapping key.

9. ssh-2.x.x, anyone got this compiled for AIX 4.2.x?

10. Cant compile anything with gcc2.7.2 on AIX 4.2!

11. Compiling with xlc_r4 on aix 4.2

12. compiling apache 1.1.3 under AIX 4.2 and gcc compiler

13. Compiling Peter's cryptlib on AIX 4.2