|
|
|
|
|
|
| Author |
Message |
Colin Renouf *nix forums beginner
Joined: 24 Feb 2005
Posts: 25
|
Posted: Wed Feb 09, 2005 9:12 pm Post subject:
Re: xml-rpc-c compiling woes
|
|
|
On Wed, 9 Feb 2005, paul wrote:
| Quote: |
Hi,
Has anyone been able to compile xml-rpc-c on AIX? I'm trying with
xml-rpc-c 1.1 on AIX 5.1 and it barfs 'cause it can't find getopt.h.
If I comment out getopt.h (making sure stdio.h and stdlib.h are
included), I get:
cc -c -Iinclude -I/home/paul/xmlrpc-c-1.1/lib/util/../..
cmdline_parser.c -o cmdline_parser.o
"cmdline_parser.c", line 46.17: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 51.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 59.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 61.17: 1506-045 (S) Undeclared identifier
no_argument.
"cmdline_parser.c", line 61.31: 1506-045 (S) Undeclared identifier
optional_argument.
"cmdline_parser.c", line 62.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 63.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 65.9: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 65.33: 1506-194 (S) Incomplete type is not
allowed.
make[3]: *** [cmdline_parser.o] Error 1
Any ideas?
Thanks,
Paul
I have it on my system, but with net-snmp. I followed the SNMP |
instructions in the "Managing AIX Server Farms" Redbook and installed it,
and then decided the native AIX suppport for SNMP was sufficient. I would
suggest a check of the Redbook for what is needed and the best place to
get it from and then install it.
# find / -name getopt.h
/usr/local/include/net-snmp/library/getopt.h
#
Colin Renouf |
|
| Back to top |
|
 |
paul *nix forums beginner
Joined: 09 Feb 2005
Posts: 1
|
Posted: Wed Feb 09, 2005 7:58 pm Post subject:
xml-rpc-c compiling woes
|
|
|
Hi,
Has anyone been able to compile xml-rpc-c on AIX? I'm trying with
xml-rpc-c 1.1 on AIX 5.1 and it barfs 'cause it can't find getopt.h.
If I comment out getopt.h (making sure stdio.h and stdlib.h are
included), I get:
cc -c -Iinclude -I/home/paul/xmlrpc-c-1.1/lib/util/../..
cmdline_parser.c -o cmdline_parser.o
"cmdline_parser.c", line 46.17: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 51.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 59.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 61.17: 1506-045 (S) Undeclared identifier
no_argument.
"cmdline_parser.c", line 61.31: 1506-045 (S) Undeclared identifier
optional_argument.
"cmdline_parser.c", line 62.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 63.13: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 65.9: 1506-486 (S) A pointer to an incomplete
type cannot be indexed.
"cmdline_parser.c", line 65.33: 1506-194 (S) Incomplete type is not
allowed.
make[3]: *** [cmdline_parser.o] Error 1
Any ideas?
Thanks,
Paul |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 9:42 pm | All times are GMT
|
|
Credit Card Shop | MySpace Editor | Fantasy | Debt Consolidation | Internet Advertising
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|