bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build of make 3.79 fails under HP-UX 11.11


From: Klaus Zeitler
Subject: Re: Build of make 3.79 fails under HP-UX 11.11
Date: 14 May 2002 16:30:15 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "Paul" == Paul D Smith <address@hidden> writes:
    Paul> 
    Paul> Does the latest version (3.79.1) work any better?

well at least I get another error :-(

        gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I. -I./glob  
-D__STDC_EXT__  -g -O2 -c ar.c
<command line>: warning: "__STDC_EXT__" redefined
<command line>: warning: this is the location of the previous definition
In file included from ar.c:20:
make.h:284: conflicting types for `bcopy'
/usr/include/strings.h:52: previous declaration of `bcopy'
In file included from 
/usr/local/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.0.4/include/wchar.h:33,
                 from /usr/include/inttypes.h:506,
                 from make.h:311,
                 from ar.c:20:
/usr/local/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.0.4/include/stdlib.h:136: 
conflicting types for `free'
make.h:250: previous declaration of `free'
/usr/local/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.0.4/include/stdlib.h:181: 
conflicting types for `malloc'
make.h:248: previous declaration of `malloc'
/usr/local/gnu/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.0.4/include/stdlib.h:182: 
conflicting types for `realloc'
make.h:249: previous declaration of `realloc'
*** Error exit code 1



e.g. for bcopy I have in file make.h:

 extern void bcopy PARAMS ((const char *b1, char *b2, int));

and in strings.h:

 extern void bcopy(const void *, void *, size_t);


and similar for the other functions above there's always the same conflict
with parameters being defined once as char* and once as void*.


Klaus


-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             address@hidden  |
 ------------------------------------------
---
The future isn't what it used to be. It never was.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]