[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-GNUnet] Bug in configure, section mount.h
From: |
Stéphane ANGOT |
Subject: |
[bug-GNUnet] Bug in configure, section mount.h |
Date: |
Tue, 23 May 2006 22:51:09 +0200 |
User-agent: |
Thunderbird 1.5.0.2 (Windows/20060308) |
Hi,
I'm trying to install Gnunet on an OpenBSD 3.9 sparc64.
The first thing to say is that it's not a plaisure for now : I've tried
a lot of things for getting the ./configure script to work :
First, the configure script didn't find the GnuPM library (located by
default in /usr/local on openbsd). I had to define 2 env variables with
the commands :
export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"
the scrip could then continue...
A warning occured during the execution of the script, here is the output :
checking sys/mount.h usability... no
checking sys/mount.h presence... yes
configure: WARNING: sys/mount.h: present but cannot be compiled
configure: WARNING: sys/mount.h: check for missing prerequisite headers?
configure: WARNING: sys/mount.h: see the Autoconf documentation
configure: WARNING: sys/mount.h: section "Present But Cannot Be
Compiled"
configure: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure: WARNING: sys/mount.h: in the future, the compiler will take
precedence
configure: WARNING: ## --------------------------------- ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## --------------------------------- ##
checking for sys/mount.h... yes
And then, the script execution reach the end.
When I try to build the binaries, I get the following :
$ make
make all-recursive
Making all in m4
Making all in po
Making all in libltdl
make all-am
Making all in src
Making all in include
Making all in .
Making all in util
Making all in .
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../src/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -DPLUGIN_PATH="\"/usr/local/lib/GNUnet\""
-DPREFIX_PATH="\"/usr/local\"" -fno-strict-aliasing -Wall -g -O2 -MT
bloomfilter.lo -MD -MP -MF ".deps/bloomfilter.Tpo" -c -o bloomfilter.lo
bloomfilter.c; then mv -f ".deps/bloomfilter.Tpo"
".deps/bloomfilter.Plo"; else rm -f ".deps/bloomfilter.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-DPLUGIN_PATH=\"/usr/local/lib/GNUnet\" -DPREFIX_PATH=\"/usr/local\"
-fno-strict-aliasing -Wall -g -O2 -MT bloomfilter.lo -MD -MP -MF
.deps/bloomfilter.Tpo -c bloomfilter.c -fPIC -DPIC -o .libs/bloomfilter.o
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../src/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -DPLUGIN_PATH="\"/usr/local/lib/GNUnet\""
-DPREFIX_PATH="\"/usr/local\"" -fno-strict-aliasing -Wall -g -O2 -MT
checksum.lo -MD -MP -MF ".deps/checksum.Tpo" -c -o checksum.lo
checksum.c; then mv -f ".deps/checksum.Tpo" ".deps/checksum.Plo"; else
rm -f ".deps/checksum.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-DPLUGIN_PATH=\"/usr/local/lib/GNUnet\" -DPREFIX_PATH=\"/usr/local\"
-fno-strict-aliasing -Wall -g -O2 -MT checksum.lo -MD -MP -MF
.deps/checksum.Tpo -c checksum.c -fPIC -DPIC -o .libs/checksum.o
In file included from ../../src/include/platform.h:70,
from checksum.c:31:
/usr/include/netinet/tcp.h:50: error: syntax error before "u_int"
In file included from ../../src/include/platform.h:124,
from checksum.c:31:
/usr/include/net/if.h:113: error: syntax error before "u_char"
/usr/include/net/if.h:193: error: syntax error before "u_short"
/usr/include/net/if.h:207: error: syntax error before "u_long"
/usr/include/net/if.h:375: error: syntax error before "u_int"
/usr/include/net/if.h:386: error: syntax error before "u_short"
/usr/include/net/if.h:391: error: syntax error before "u_short"
/usr/include/net/if.h:400: error: syntax error before "u_short"
/usr/include/net/if.h:405: error: syntax error before "u_short"
/usr/include/net/if.h:414: error: syntax error before "u_short"
/usr/include/net/if.h:419: error: syntax error before "u_short"
/usr/include/net/if.h:434: error: syntax error before "u_int"
/usr/include/net/if.h:464: error: syntax error before "u_int"
checksum.c: In function `convertToUtf8':
checksum.c:165: warning: passing arg 2 of `libiconv' from incompatible
pointer type
*** Error code 1
Stop in /root/GNUnet-0.7.0e/src/util.
*** Error code 1
Stop in /root/GNUnet-0.7.0e/src/util (line 833 of Makefile).
*** Error code 1
Stop in /root/GNUnet-0.7.0e/src (line 297 of Makefile).
*** Error code 1
Stop in /root/GNUnet-0.7.0e (line 346 of Makefile).
*** Error code 1
Stop in /root/GNUnet-0.7.0e (line 259 of Makefile).
I've not taken the time for now to look at the source to try to find why
this error occur. If someone has an idea, I take.
My plateform is somewhat original, so I will try to test it well, if it
works, I will write a howto to help others.
Thanks in advance for your advices.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-GNUnet] Bug in configure, section mount.h,
Stéphane ANGOT <=