ipsvd-0.11.0 build problem on Irix 6.5.22m (cdb_make.c)
"Ole Lennert" <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have run into a problem building ipsvd-0.11.0 on my SGI Indy with Irix
6.5.22m (gcc 3.3). The build stops with the following message:
/package/net/ipsvd-0.11.0# package/install
Linking ./src/* into ./compile...
Compiling everything in ./compile...
+ cd compile
+ exec make
( (test ! -r matrixssl.tar.gz && echo nossl) || \
echo sslio) >command.sslcheck
mv -f command.sslcheck command.ssl
./compile cdb_make.c
cdb_make.c: I funktionen 'cdb_make_start':
cdb_make.c:19: error: `write' undeclared (first use in this function)
cdb_make.c:19: error: (Each undeclared identifier is reported only once
cdb_make.c:19: error: for each function it appears in.)
*** Error code 1 (bu21)
I can see that 'write' is used as a parameter to buffer_init, where a
pointer to a function expecting no parameters and returning an int is
expected. The only 'write' I have been able to find is write(2) in
<unistd.h>, which returns an ssize_t (which could be a typedef for int),
but expects a number of parameters. In desparation, I even tried to
#include <unistd.h>, but this made no difference.
Anyone know where I can find the missing write function? I have tried to
locate this information in the mailing list archive on gmane.org, but
without luck.
Regards,
Ole Lennert