OpenBSD 3.2 and Release 1

William Meloy altentry at yahoo.com
Tue Aug 5 03:52:16 CEST 2003


--- Guus Sliepen  wrote:
> On Mon, Aug 04, 2003 at 01:56:29PM -0700, William
> Meloy wrote:
> 
> > I got the file that was sent to me the other day. 
> > Unfortunitly it did not solve
> > my problems.  
> > 
> > After a lot of hacking I have been able to get
> release
> > 1.0 to almost compile. I
> > have finally gotten all of the dependancies worked
> out
> > under OpenBSD 3.2.
> > 
> > This next error has me stumped.  I can tell that
> it is
> > looking for a file but
> > have no idea how to create the file. This is the
> > output of the the autogen
> > script along with the CVS check out:
> [...]
> > Making /ttest/tinc/aclocal.m4 writable ...
> > make: illegal option -- C
> 
> I think it goes wrong here.
> Do you have GNU make installed? If not, please
> install it.
> 
> > config.status: error: cannot find input file:
> > m4/Makefile.in
> 
> That file is generated from m4/Makefile.am.in by
> autogen.sh.
> 
> You could also try to download
> http://tinc.nl.linux.org/packages/tinc-1.0.tar.gz
> and use that instead
> of a CVS checkout.
> 
> -- 
> Met vriendelijke groet / with kind regards,
>     Guus Sliepen <guus at sliepen.eu.org>
> 

> ATTACHMENT part 2 application/pgp-signature 

Thanks for the help so far.  That got me past the
configuration part.  Now I am running into problems
with the 'make.'  I seam to have the same problem with
both the cvs verson and the the tag.gz verson.  

Any thoughts on this:


PC206# ./autogen.sh --with-lzo=/usr/local/
processing /ttest/tinc
Creating /ttest/tinc/aclocal.m4 ...
Running autopoint...
Making /ttest/tinc/aclocal.m4 writable ...
gmake: Entering directory `/ttest/tinc/m4'
gmake: `Makefile.am' is up to date.
gmake: Leaving directory `/ttest/tinc/m4'
Running aclocal  -I m4 ...
Running autoheader...
Running automake --gnu  ...
Running autoconf ...
Running /ttest/tinc/configure --enable-maintainer-mode
--enable-compile-warnings --with-lzo=/usr/local/ ...
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific
portions of Makefiles... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking dependency style of gcc... gcc
checking build system type... i386-unknown-openbsd3.2
checking host system type... i386-unknown-openbsd3.2
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv...
/usr/local/lib/libiconv.a
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from...
external libintl
checking how to link with libintl...
/usr/local/lib/libintl.a -L/usr/local/lib
/usr/local/lib/libiconv.a
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler...
(cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached)
none needed
checking dependency style of gcc... (cached) gcc
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for gawk... (cached) nawk
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for net/ethernet.h... no
checking for net/if_arp.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/in6.h... no
checking for netinet/if_ether.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip6.h... yes
checking for netinet/tcp.h... yes
checking for netinet/ip_icmp.h... yes
checking for netinet/icmp6.h... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be
included... yes
checking whether struct tm is in sys/time.h or
time.h... time.h
checking for working __malloc__ attribute... no
checking for socklen_t... yes
checking for struct arphdr... yes
checking for struct ether_arp... yes
checking for struct in_addr... yes
checking for struct addrinfo... yes
checking for struct ip... yes
checking for struct icmp... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for struct ip6_hdr... yes
checking for struct icmp6_hdr... yes
checking for struct nd_neighbor_solicit... yes
checking for struct nd_opt_hdr... yes
checking for working memcmp... yes
checking for working alloca.h... no
checking for alloca... yes
checking return type of signal handlers... void
checking for asprintf... yes
checking for daemon... yes
checking for fcloseall... no
checking for flock... yes
checking for ftime... no
checking for fork... yes
checking for get_current_dir_name... no
checking for gettimeofday... yes
checking for mlockall... yes
checking for putenv... yes
checking for random... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strsignal... yes
checking for strtol... yes
checking for unsetenv... yes
checking for vsyslog... yes
checking for working malloc... yes
checking for working realloc... yes
checking for socket... yes
checking for gethostbyname... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for inet_aton... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking for SHA1_version in -lcrypto... yes
checking for dlopen... yes
checking for RAND_pseudo_bytes... yes
checking for EVP_EncryptInit_ex... yes
checking whether OpenSSL_add_all_algorithms is
declared... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress2 in -lz... yes
checking lzo1x.h usability... yes
checking lzo1x.h presence... yes
checking for lzo1x.h... yes
checking for lzo1x_1_compress in -llzo... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
Now type `make' to compile
PC206# make
cd /ttest/tinc && /bin/sh /ttest/tinc/missing --run
autoheader
touch /ttest/tinc/config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
Making all in m4
Making all in lib
Making all in src
source='device.c' object='device.o' libtool=no 
depfile='.deps/device.Po'
tmpdepfile='.deps/device.TPo'  depmode=gcc /bin/sh
/ttest/tinc/depcomp  gcc -DHAVE_CONFIG_H  -I..
-I/ttest/tinc/lib   -I/usr/local/include -g -O2
-I/usr/local//include -DCONFDIR=\"/usr/local/etc\"
-DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALSTATEDIR=\"/usr/local/var\" -g -O2
-I/usr/local//include -c `test -f 'device.c' || echo
'/ttest/tinc/src/'`device.c
In file included from ../system.h:96,
                 from device.c:23:
/usr/include/arpa/inet.h:78: warning: `struct in_addr'
declared inside parameter list
/usr/include/arpa/inet.h:78: warning: its scope is
only this definition or declaration, which is probably
not what you want.
/usr/include/arpa/inet.h:79: warning: `struct in_addr'
declared inside parameter list
/usr/include/arpa/inet.h:79: warning: parameter has
incomplete type
/usr/include/arpa/inet.h:82: warning: parameter has
incomplete type
/usr/include/arpa/inet.h:86: warning: parameter has
incomplete type
device.c: In function `read_packet':
device.c:75: elements of array `vector' have
incomplete type
device.c:75: warning: excess elements in struct
initializer
device.c:75: warning: (near initialization for
`vector[0]')
device.c:75: warning: excess elements in struct
initializer
device.c:75: warning: (near initialization for
`vector[0]')
device.c:75: warning: excess elements in struct
initializer
device.c:75: warning: (near initialization for
`vector[1]')
device.c:75: warning: excess elements in struct
initializer
device.c:75: warning: (near initialization for
`vector[1]')
device.c:75: storage size of `vector' isn't known
device.c: In function `write_packet':
device.c:116: storage size of `vector' isn't known
*** Error code 1

Stop in /ttest/tinc/src.
*** Error code 1

Stop in /ttest/tinc (line 230 of Makefile).
*** Error code 1

Stop in /ttest/tinc (line 169 of Makefile).
PC206#


__________________________________

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://tinc.nl.linux.org/




More information about the Tinc mailing list