bug-libtool
[Top][All Lists]
Advanced

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

bizarre error from CVS ltdl.c with HPUX 10.20 c89


From: Robert Boehne
Subject: bizarre error from CVS ltdl.c with HPUX 10.20 c89
Date: Tue, 27 Nov 2001 12:09:41 -0600

Hello,

I'm racking my brain to figure out why this platform won't compile
CVS HEAD libtool any longer.  The errors from ltdl.c don't make any
sense to me.
For example, ENOMEM is defined by <errno.h> which is found during
configure and gets included.  I can see no reason for these errors,
do they look familiar to anyone out there?
(am I missing somthing obvious?)

gmake.hp1020[1]: Leaving directory `/tmp_mnt/icarus/GNU/libtool'
Making all in libltdl
gmake.hp1020[1]: Entering directory
`/tmp_mnt/icarus/GNU/libtool/libltdl'
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h:config-h.in \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
/net/InHouse/gmake/3.79.1/exe/gmake.hp1020  all-am
gmake.hp1020[2]: Entering directory
`/tmp_mnt/icarus/GNU/libtool/libltdl'
/bin/sh ./libtool --mode=compile c89 -DHAVE_CONFIG_H -I. -I. -I.     -g
-c -o ltdl.lo `test -f ltdl.c || echo './'`ltdl.c
mkdir .libs
c89 -DHAVE_CONFIG_H -I. -I. -I. -g -c ltdl.c  +Z -DPIC -o .libs/ltdl.o
cc: "ltdl.c", line 451: error 1588: "ENOMEM" undefined.
cc: "ltdl.c", line 495: error 1588: "ENOMEM" undefined.
cc: "ltdl.c", line 568: error 1588: "ENOMEM" undefined.
cc: "ltdl.c", line 1706: warning 618: Declaration of "direct" not
visible outside this function prototype scope.
cc: "ltdl.c", line 2139: error 1588: "ENOMEM" undefined.
cc: "ltdl.c", line 2139: error 1569: Case label expressions must be
integral constants.
cc: "ltdl.c", line 2279: error 1588: "R_OK" undefined.
cc: "ltdl.c", line 3045: error 1588: "ENOMEM" undefined.
cc: "ltdl.c", line 3045: error 1569: Case label expressions must be
integral constants.
cc: "ltdl.c", line 3082: error 1711: Inconsistent parameter list
declaration for "lt_argz_insertdir".
cc: "ltdl.c", line 3101: error 1530: Undefined struct or union.
cc: "ltdl.c", line 3101: error 1530: Undefined struct or union.
cc: "ltdl.c", line 3106: error 1530: Undefined struct or union.
cc: "ltdl.c", line 3106: error 1566: Test expression in for must be
scalar.
cc: "ltdl.c", line 3117: error 1530: Undefined struct or union.
cc: "ltdl.c", line 3117: error 1566: Test expression in for must be
scalar.
cc: "ltdl.c", line 3126: error 1530: Undefined struct or union.
cc: "ltdl.c", line 3136: error 1530: Undefined struct or union.
cc: "ltdl.c", line 3136: warning 563: Argument #2 is not the correct
type.
cc: "ltdl.c", line 3136: warning 527: Integral value implicitly
converted to pointer in assignment.
cc: "ltdl.c", line 3136: warning 563: Argument #3 is not the correct
type.
cc: "ltdl.c", line 3155: error 1000: Unexpected symbol: "int".
cc: "ltdl.c", line 3154: error 1588: "DIR" undefined.
cc: "ltdl.c", line 3154: error 1588: "dirp" undefined.
cc: "ltdl.c", line 3155: error 1588: "errors" undefined.
cc: "ltdl.c", line 3157: error 1558: The ! operator takes a scalar
operand.
cc: "ltdl.c", line 3157: error 1549: Modifiable lvalue required for
assignment operator.
cc: "ltdl.c", line 3163: error 1563: Expression in if must be scalar.
cc: "ltdl.c", line 3167: warning 527: Integral value implicitly
converted to pointer in assignment.
cc: "ltdl.c", line 3168: error 1530: Undefined struct or union.
cc: "ltdl.c", line 3168: error 1563: Expression in if must be scalar.
cc: "ltdl.c", line 3169: warning 604: Pointers are not
assignment-compatible.
cc: "ltdl.c", line 3169: warning 563: Argument #4 is not the correct
type.
cc: "ltdl.c", line 3171: error 1560: Modifiable lvalue required with
operator "++".
cc: "ltdl.c", line 3178: error 1560: Modifiable lvalue required with
operator "++".
cc: "ltdl.c", line 3236: warning 604: Pointers are not
assignment-compatible.
cc: "ltdl.c", line 3236: warning 563: Argument #4 is not the correct
type.
cc: "ltdl.c", line 3242: warning 604: Pointers are not
assignment-compatible.
cc: "ltdl.c", line 3242: warning 563: Argument #4 is not the correct
type.
cc: "ltdl.c", line 3246: warning 604: Pointers are not
assignment-compatible.
cc: "ltdl.c", line 3246: warning 563: Argument #4 is not the correct
type.
cc: "ltdl.c", line 3253: warning 604: Pointers are not
assignment-compatible.
cc: "ltdl.c", line 3253: warning 563: Argument #4 is not the correct
type.
cc: "ltdl.c", line 3260: warning 604: Pointers are not
assignment-compatible.
cc: "ltdl.c", line 3260: warning 563: Argument #4 is not the correct
type.
gmake.hp1020[2]: *** [ltdl.lo] Error 1
gmake.hp1020[2]: Leaving directory `/tmp_mnt/icarus/GNU/libtool/libltdl'
gmake.hp1020[1]: *** [all] Error 2
gmake.hp1020[1]: Leaving directory `/tmp_mnt/icarus/GNU/libtool/libltdl'
gmake.hp1020: *** [all-recursive] Error 1
osiris::/icarus/GNU/libtool (127)%


In the preprocessed output I have this:
 <SNIP>
# 62 "/icarus/GNU/libtool/libltdl/ltdl.c"
 
 
 
 
# 1 "/usr/include/errno.h"
# 9
extern int errno;
 
# 1 "/usr/include/sys/errno.h"
# 13
 
# 1 "/usr/include/sys/stdsyms.h"
# 254
 
# 14 "/usr/include/sys/errno.h"
# 24
         extern int errno;
# 208
 
# 11 "/usr/include/errno.h"
# 24
<SNIP>

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden



reply via email to

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