Bugs item #428054, was updated on 2001-05-28 13:27
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=428054&group_id=10493
Category: build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian D. Carlstrom (bdc)
Assigned to: Brian D. Carlstrom (bdc)
Summary: scsh-0.5.2 on RS6000 with AIX4.3 and cc
Initial Comment:
From: Daniel Ortmann <ortmann@vnet.ibm.com>
To: scsh-bugs@zurich.ai.mit.edu
Subject: scsh-0.5.2 on RS6000 with AIX4.3 and 'cc':
scsh/network1.c compilation\
problem
Date: Wed, 5 Jan 2000 16:17:46 -0600
The following error messages occur when compiling
scsh/network1.c:
neon:scsh-0.5.2$ cc -c -I./cig -I./scsh/regexp -
DHAVE_CONFIG_H -I. -I. -O -qsou\
rce -o scsh/network1.o scsh/network1.c
"scsh/network1.c", line 25.12: 1506-275 (S) Unexpected
text 'int' encountered.
"scsh/network1.c", line 25.12: 1506-275 (S) Unexpected
text ')' encountered.
"scsh/network1.c", line 25.19: 1506-276 (S) Syntax
error: possible missing ')'?
"scsh/network1.c", line 25.12: 1506-343 (S)
Redeclaration of h_errno_which diff\
ers from previous declaration on line 55
of "/usr/include/netdb.h".
"scsh/network1.c", line 25.12: 1506-050 (I) Return
type "int**" in redeclaratio\
n is not compatible with the previous return
type "void*".
"scsh/network1.c", line 36.10: 1506-045 (S) Undeclared
identifier family.
"scsh/network1.c", line 59.22: 1506-045 (S) Undeclared
identifier scheme_name.
"scsh/network1.c", line 64.21: 1506-045 (S) Undeclared
identifier sockfd.
"scsh/network1.c", line 138.62: 1506-280 (W) Function
argument assignment betwe\
en types "unsigned long*" and "int*" is not allowed.
"scsh/network1.c", line 161.63: 1506-280 (W) Function
argument assignment betwe\
en types "unsigned long*" and "int*" is not allowed.
"scsh/network1.c", line 184.63: 1506-280 (W) Function
argument assignment betwe\
en types "unsigned long*" and "int*" is not allowed.
"scsh/network1.c", line 235.51: 1506-280 (W) Function
argument assignment betwe\
en types "unsigned long*" and "int*" is not allowed.
"scsh/network1.c", line 313.50: 1506-280 (W) Function
argument assignment betwe\
en types "unsigned long*" and "int*" is not allowed.
"scsh/network1.c", line 327.50: 1506-280 (W) Function
argument assignment betwe\
en types "unsigned long*" and "int*" is not allowed.
"scsh/network1.c", line 343.50: 1506-280 (W) Function
argument assignment betwe\
en types "unsigned long*" and "int*" is not allowed.
Here is the expansion of the offending lines from the
compiler listing:
24 |
25 | extern int h_errno;
25 + extern int (*(int *)h_errno_which());
"scsh/network1.c", line 25.12: 1506-275 (S)Unexpected
text 'int' encountered.
"scsh/network1.c", line 25.12: 1506-275 (S)Unexpected
text ')' encountered.
"scsh/network1.c", line 25.19: 1506-276 (S)Syntax
error: possible missing ')'?
"scsh/network1.c", line 25.12: 1506-343 (S)
Redeclaration of h_errno_which diffe\
rs from previous declaration on line 55
of "/usr/include/netdb.h".
"scsh/network1.c", line 25.12: 1506-050 (I)Return
type "int**" in redeclaration\
is not compatible with the previous return
type "void*".
26 |
----------------------------------------------------------------------
>Comment By: Brian D. Carlstrom (bdc)
Date: 2001-05-28 13:27
Message:
Logged In: YES
user_id=27364
From: Daniel Ortmann <ortmann@vnet.ibm.com>
Sender: ortmann@rchland.ibm.com
To: "Brian D. Carlstrom" <bdc@ai.mit.edu>
Subject: Re: scsh-0.5.2 on RS6000 with AIX4.3 and 'cc':
scsh/network1.c compila\
tion problem
Date: 06 Jan 2000 11:06:17 -0600
"Brian D. Carlstrom" <bdc@zurich.ai.mit.edu> writes:
> if there some sort of #ifndef AIX we can use to avoid
this problem...
The following prints "symbol '_AIX' is defined!"
#include <stdio.h>
int
main()
{
#ifdef _AIX
printf( "symbol '_AIX' is defined!\n" );
#else
printf( "symbol '_AIX' is NOT defined!\n" );
#endif
exit( 0 );
}
--
Daniel Ortmann, IBM Circuit Technology, Rochester, MN 55901-
7829
ortmann@vnet.ibm.com or ortmann@us.ibm.com and 507.253.6795
(external)
ortmann@rchland.ibm.com and tieline 8.553.6795 (internal)
ortmann@isl.net and 507.288.7732 (home)
"The answers are so simple, and we all know where to look,
but it's easier just to avoid the question." -- Kansas
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=428054&group_id=10493
|