Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 08:12:46 +0100 (CET)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        "Foresight One Solutions, Inc." <info@foresightone.com>
Cc:        freebsd-small@FreeBSD.ORG
Subject:   Re: picobsd-router build fails
Message-ID:  <200103130712.IAA00615@info.iet.unipi.it>
In-Reply-To: <5.0.2.1.2.20010313095224.00a087f0@localhost> from "Foresight One Solutions, Inc." at "Mar 13, 2001 09:57:49 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> hi all!
> 
> I have been trying to build a router version of picobsd 0.445. During the 
> build we keep on getting the following error. Does anyone have any ideas on 
> how we can go around this?

probably the objects are a leftover of some older compile involving
the pthread library. Other than cleanup /usr/obj and the source
tree, I would suggest to upgrade the stuff in /usr/src/release/picobsd
and /usr/src/usr.sbin/crunch so you can use the new scripts which
are much less error prone.

	cheers
	luigi
	

> TIA
> 
> --- start of log ---
> 
> (cd /usr/src/sbin/ping &&  make -DNOPAM -DRELEASE_CRUNCH -DNOSECURE 
> -DNOCRYPT -DNONETGRAPH -DNOIPSEC  depend &&  make -DNOPAM -DRELEASE_CRUNCH 
> -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC  ping.o)
> `ping.o' is up to date.
> (cd /usr/src/usr.sbin/traceroute &&  make -DNOPAM -DRELEASE_CRUNCH 
> -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC  depend &&  make -DNOPAM 
> -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC  version.o 
> traceroute.o)
> `version.o' is up to date.
> `traceroute.o' is up to date.
> (cd /usr/src/sbin/routed &&  make -DNOPAM -DRELEASE_CRUNCH -DNOSECURE 
> -DNOCRYPT -DNONETGRAPH -DNOIPSEC  depend &&  make -DNOPAM -DRELEASE_CRUNCH 
> -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC  if.o input.o main.o output.o 
> parms.o radix.o rdisc.o table.o trace.o)
> ===> rtquery
> `if.o' is up to date.
> `input.o' is up to date.
> `main.o' is up to date.
> `output.o' is up to date.
> `parms.o' is up to date.
> `radix.o' is up to date.
> `rdisc.o' is up to date.
> `table.o' is up to date.
> `trace.o' is up to date.
> (cd /usr/src/sbin/ipfw &&  make -DNOPAM -DRELEASE_CRUNCH -DNOSECURE 
> -DNOCRYPT -DNONETGRAPH -DNOIPSEC  depend &&  make -DNOPAM -DRELEASE_CRUNCH 
> -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC  ipfw.o)
> `ipfw.o' is up to date.
> (cd /usr/src/usr.bin/minigzip &&  make -DNOPAM -DRELEASE_CRUNCH -DNOSECURE 
> -DNOCRYPT -DNONETGRAPH -DNOIPSEC  depend &&  make -DNOPAM -DRELEASE_CRUNCH 
> -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC  minigzip.o)
> `minigzip.o' is up to date.
> cc -O -pipe   -DCRUNCHED_BINARY -DRELEASE_CRUNCH -c crunch1.c
> cc -static -o crunch1 crunch1.o hostname.lo cat.lo kget.lo oinit.lo 
> ifconfig.lo df.lo sps.lo ns.lo vm.lo msg.lo cp.lo rm.lo ls.lo reboot.lo 
> sysctl.lo route.lo mount.lo umount.lo kill.lo natd.lo pppd.lo less.lo 
> ping.lo traceroute.lo routed.lo ipfw.lo minigzip.lo -lncurses -lmytinfo 
> -lipx -lz -lpcap -lalias -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm 
> -lgnuregex -ltelnet
> hostname.lo: In function `hostname_cache_init(void)':
> hostname.lo(.text+0x38): undefined reference to `pthread_mutex_init'
> hostname.lo(.text+0x107): undefined reference to `pthread_mutex_init'
> hostname.lo(.text+0x11c): undefined reference to `pthread_mutex_lock'
> hostname.lo(.text+0x131): undefined reference to `hash_free'
> hostname.lo(.text+0x150): undefined reference to `hash_init'
> hostname.lo(.text+0x15f): undefined reference to `pthread_mutex_unlock'
> hostname.lo: In function `add_hostname(in_addr *, char const *)':
> hostname.lo(.text+0x1eb): undefined reference to `specialflag'
> hostname.lo(.text+0x203): undefined reference to `pthread_mutex_lock'
> hostname.lo(.text+0x2ef): undefined reference to `hash_delete'
> hostname.lo(.text+0x2ff): undefined reference to `hash_insert'
> hostname.lo(.text+0x343): undefined reference to `pthread_mutex_unlock'
> hostname.lo: In function `ip_to_hostname(in_addr *, unsigned int *)':
> hostname.lo(.text+0x364): undefined reference to `specialflag'
> hostname.lo(.text+0x37c): undefined reference to `pthread_mutex_lock'
> hostname.lo(.text+0x3ef): undefined reference to `my_strdup'
> hostname.lo(.text+0x40a): undefined reference to `pthread_mutex_unlock'
> hostname.lo(.text+0x425): undefined reference to `pthread_mutex_unlock'
> hostname.lo(.text+0x435): undefined reference to `pthread_mutex_lock'
> hostname.lo(.text+0x459): undefined reference to `pthread_mutex_unlock'
> hostname.lo(.text+0x474): undefined reference to `pthread_mutex_unlock'
> hostname.lo(.text+0x487): undefined reference to `my_strdup'
> hostname.lo(.text+0x49d): undefined reference to `pthread_mutex_unlock'
> hostname.lo(.text+0x4bc): undefined reference to `pthread_mutex_unlock'
> hostname.lo(.text+0x4cc): undefined reference to `my_no_flags_free'
> hostname.lo(.text+0x4d9): undefined reference to `default_charset_info'
> hostname.lo(.text+0x547): undefined reference to `my_no_flags_free'
> hostname.lo: In function `hostname_cache_refresh(void)':
> hostname.lo(.text+0x58b): undefined reference to `pthread_mutex_init'
> hostname.lo(.text+0x59a): undefined reference to `pthread_mutex_lock'
> hostname.lo(.text+0x5a9): undefined reference to `hash_free'
> hostname.lo(.text+0x5c2): undefined reference to `hash_init'
> hostname.lo(.text+0x5ce): undefined reference to `pthread_mutex_unlock'
> hostname.lo: In function `hostname_cache_free(void)':
> hostname.lo(.text+0x5f8): undefined reference to `pthread_mutex_destroy'
> hostname.lo(.text+0x61d): undefined reference to `hash_free'
> hostname.lo(.text+0x62c): undefined reference to `pthread_mutex_destroy'
> hostname.lo: In function `inc_host_errors(in_addr *)':
> hostname.lo(.text+0x65c): undefined reference to `pthread_mutex_lock'
> hostname.lo(.text+0x6c9): undefined reference to `pthread_mutex_unlock'
> hostname.lo: In function `reset_host_errors(in_addr *)':
> hostname.lo(.text+0x6ec): undefined reference to `pthread_mutex_lock'
> hostname.lo(.text+0x75d): undefined reference to `pthread_mutex_unlock'
> *** Error code 1
> 
> Stop in /usr/src/release/picobsd/router/crunch1.
> *** Error code 1
> 
> Stop in /usr/src/release/picobsd/router/crunch1.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-small" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103130712.IAA00615>