Amanda-Users

Re: problem building 2.5.2p1 on Cobalt raq-4i server appliance

2007-10-06 11:09:29
Subject: Re: problem building 2.5.2p1 on Cobalt raq-4i server appliance
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: "Amanda Users Mailing List" <amanda-users AT amanda DOT org>
Date: Sat, 6 Oct 2007 10:11:56 -0500
On 10/6/07, Craig Dewick <cdewick AT lios.apana.org DOT au> wrote:
> On Mon, 24 Sep 2007, Jean-Louis Martineau wrote:
> > I have:
> > /usr/include/netinet/in.h: typedef uint16_t in_port_t;
>
> Ah I've found this exists on my Raq-4i also. 8-)  Looking at the compiler
> output again, I might be interpreting the errors incorrectly so I've
> included the output as an attachment.

This seems to be a common problem:
 http://lists.andrew.cmu.edu/pipermail/imapproxy-info/2004-April/000238.html
 http://osdir.com/ml/security.virus.clamav.user/2004-02/msg00118.html
   http://osdir.com/ml/security.virus.clamav.user/2004-02/msg00354.html

Since you have netinet/in.h, can you look in that file to see if
in_port_t is defined there, perhaps conditionally?  If not, do a
recursive grep as JLM suggested to see if you can find a definition,
and let us know where it is.

If that doesn't work, if you can run
 gcc -E -DHAVE_CONFIG_H -I. -I. -I../config -I../gnulib -Wall -W
-Wparentheses -Wmissing-prototypes -Wstrict-prototypes
-Wmissing-declarations -Wformat -Wsign-compare -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -c bsd-security.c -Wp,-MD,.deps/bsd-security.TPlo  -fPIC
-DPIC
in common-src/ and send the output to me in private email (use your
gmail address please), that may also help.

Ideally, I'd like to make Amanda work out-of-the-box on the Raq, so
let's try to get to the bottom of this, instead of just applying a
band-aid.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com