[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Installing on AIX 5.2
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Installing on AIX 5.2
- From: "Larry Barber" <lebarber (at) gmail.com>
- Date: Thu, 16 Mar 2006 08:29:06 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ImzoCW3K6a5hcLrQWuGVuWOVminvP4/PcVdHRkKfgN7CelzJuHABTALE+CwKf+u6VJATsFSx2Xp7RCGXQsMts4Rd15fo50zgI0syaZougnYRlocGh79Bqgz94d9N9JDkBrPL9h8xes76ICk+E8DmalycHYuEstemz85j92IuhF0=
- References: <40A2891842052B40BF0AD6E6A83A9FA0027574C0@svr-gbn-exc-02.mgc.mentorg.com>
I had the same problem. You need to edit the osdefs.h file so that socklen_t
is an unsigned long, which is how it is defined in sockets.h.
Thanks,
Larry Barber
On 3/16/06, Whilding, Craig <Craig_Whilding (at) mentor.com> wrote:
>
> Im trying to install the latest snapshot of the Hobbit client on AIX. I
> installed gnu make from the ucla aixpdslib site along with gcc 4.0.2. The
> configure worked fine and created the makefile to install the client with
> config on the server side. I changed the Makefile.AIX file to use gcc as
> it couldn't find cc and encountered the following errors. Im not very
> familiar with AIX and haven't been able to find one of our people who is yet
> so was hoping someone here would have some experience.
>
>
>
> # /usr/local/bin/make
>
> CC="/usr/local/bin/gcc" CFLAGS="-O -D_REENTRANT -DAIX -I. -I`pwd`/include
> -DCLIENTONLY=1" OSDEF="-DAIX" RPATHOPT="" PCREINCDIR="" SSLFLAGS=""
> SSLINCDIR="" SSLLIBS="" NETLIBS="" BBTOPDIR="/usr/local/hobbit" BBLOGDIR=""
> BBHOSTNAME="" BBHOSTIP="137.202.205.54" BBHOSTOS="" LOCALCLIENT="no"
> /usr/local/bin/make -C lib client
>
> make[1]: Entering directory `/usr/local/hobbit/snapshot/lib'
>
> /usr/local/bin/gcc -O -D_REENTRANT -DAIX -I.
> -I/usr/local/hobbit/snapshot/include -DCLIENTONLY=1 -I. -I../include -c
> -o sendmsg.o sendmsg.c
>
> In file included from /usr/local/hobbit/snapshot/include/libbbgen.h:24,
>
> from sendmsg.c:35:
>
> /usr/local/hobbit/snapshot/include/../lib/osdefs.h:21: error: conflicting
> types for 'socklen_t'
>
> /usr/include/sys/socket.h:80: error: previous declaration of 'socklen_t'
> was here
>
> sendmsg.c: In function 'sendtobbd':
>
> sendmsg.c:328: warning: passing argument 5 of 'getsockopt' from
> incompatible pointer type
>
> make[1]: *** [sendmsg.o] Error 1
>
> make[1]: Leaving directory `/usr/local/hobbit/snapshot/lib'
>
> make: *** [lib-client] Error 2
>
> #
>
>
>
>
>
> Hope someone can help.
>
>
>
> Thanks,
>
>
>
> Craig Whilding
>
>
>