niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » AIX
xml-rpc-c compiling woes
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Colin Renouf
*nix forums beginner


Joined: 24 Feb 2005
Posts: 25

PostPosted: Wed Feb 09, 2005 9:12 pm    Post subject: Re: xml-rpc-c compiling woes Reply with quote

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

PostPosted: Wed Feb 09, 2005 7:58 pm    Post subject: xml-rpc-c compiling woes Reply with 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
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 9:42 pm | All times are GMT
navigation Forum index » *nix » AIX
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts USB hotplug woes Vandoorn, Yvo Debian 8 Thu Jul 20, 2006 5:20 pm
No new posts dual python / bootstrap RPM woes <zman818@hotmail.com&g python 0 Thu Jul 20, 2006 1:19 am
No new posts apache startup woes (Solaris 10) Daphne Tregear Solaris 7 Wed Jul 19, 2006 11:15 am
No new posts compiling x11 screwed up the system! Seven Gentoo 9 Sun Jul 16, 2006 2:47 pm
No new posts Compiling Programs contains Xutility calls ehabaziz2001@gmail.com Solaris 12 Sun Jul 16, 2006 12:54 am

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
[ Time: 0.1761s ][ Queries: 20 (0.0700s) ][ GZIP on - Debug on ]