From owner-freebsd-small Mon Sep 7 17:42:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08118 for freebsd-small-outgoing; Mon, 7 Sep 1998 17:42:55 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from tranq1.tranquility.net (tranq1.tranquility.net [206.156.230.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08108 for ; Mon, 7 Sep 1998 17:42:50 -0700 (PDT) (envelope-from ric@tranquility.net) Received: from tranquility.net (usr1-ppp43.tranquility.net [206.156.230.143]) by tranq1.tranquility.net (8.8.8/8.8.8) with ESMTP id TAA24985 for ; Mon, 7 Sep 1998 19:42:38 -0500 (CDT) (envelope-from ric@tranquility.net) Message-ID: <35F47D7E.3D292E96@tranquility.net> Date: Mon, 07 Sep 1998 19:42:38 -0500 From: Ric Reply-To: ric@tranquility.net X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-small@FreeBSD.ORG Subject: SUBSCRIBE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG SUBSCRIBE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Wed Sep 9 18:01:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23171 for freebsd-small-outgoing; Wed, 9 Sep 1998 18:01:10 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from mail4.aracnet.com (mail4.aracnet.com [205.159.88.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23166 for ; Wed, 9 Sep 1998 18:01:08 -0700 (PDT) (envelope-from conx@connectnet.com) Received: from connectnet.com (conx.aracnet.com [209.95.33.235]) by mail4.aracnet.com (8.9.1/8.9.0) with ESMTP id SAA02263 for ; Wed, 9 Sep 1998 18:01:13 -0700 Message-ID: <35F7266A.EB62B943@connectnet.com> Date: Wed, 09 Sep 1998 18:07:54 -0700 From: C J Considine X-Mailer: Mozilla 4.03 [en] (WinNT; I) MIME-Version: 1.0 To: freebsd-small@FreeBSD.ORG Subject: hi! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Sep 10 14:01:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25164 for freebsd-small-outgoing; Thu, 10 Sep 1998 14:01:29 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from lily.ezo.net (lily.ezo.net [206.102.130.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25141 for ; Thu, 10 Sep 1998 14:01:22 -0700 (PDT) (envelope-from jflowers@ezo.net) Received: from violet.ezo.net (violet.ezo.net [206.102.130.133]) by lily.ezo.net (8.8.7/8.8.7) with SMTP id QAA06680 for ; Thu, 10 Sep 1998 16:59:15 -0400 (EDT) From: "Jim Flowers" To: Subject: PicoBSD & 2.2.7 Date: Thu, 10 Sep 1998 17:02:20 -0400 Message-ID: <01bddcfe$4d188b60$858266ce@violet.ezo.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having trouble getting a static library for snmplib.a. The embedded instructions in crunch.conf to delete -fpic and -DPIC from snmplib/Makefile no longer work as the Makefile now produces a .so file and has a number of other shared library related lines. I've tried a few combinations but with no joy. Can anyone suggest how to modify the Makefile to accomplish this? Thanks Jim Flowers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Sep 10 22:55:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA13603 for freebsd-small-outgoing; Thu, 10 Sep 1998 22:55:59 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA13558 for ; Thu, 10 Sep 1998 22:55:21 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id HAA15204; Fri, 11 Sep 1998 07:59:50 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Fri, 11 Sep 1998 07:59:50 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Jim Flowers cc: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD & 2.2.7 In-Reply-To: <01bddcfe$4d188b60$858266ce@violet.ezo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 10 Sep 1998, Jim Flowers wrote: > I'm having trouble getting a static library for snmplib.a. The embedded > instructions in crunch.conf to delete -fpic and -DPIC from snmplib/Makefile > no longer work as the Makefile now produces a .so file and has a number of Ah! You're right. This has been changed with the v.3.3.1 of ucd-snmp, and the above notes are relating to the older version, where the library was (mistakenly) called libsnmp.a and in fact consisted of relocatable objects. But... wait a moment. _Which_ version do you use??? I just looked over the Makefile in version 3.3.1, and it produces libsnmp.a _only_, no *.so whatever... In order to successfully link with the crunch, your libraries need to be static. That is, you need to compile each object without -fpic -DPIC, and then make an ar archive with extension *.a. Whatever is in your Makefiles, you need to tweak them to do just this. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Sep 11 05:23:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA24355 for freebsd-small-outgoing; Fri, 11 Sep 1998 05:23:07 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from lily.ezo.net (lily.ezo.net [206.102.130.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA24348 for ; Fri, 11 Sep 1998 05:23:05 -0700 (PDT) (envelope-from jflowers@ezo.net) Received: from violet.ezo.net (violet.ezo.net [206.102.130.133]) by lily.ezo.net (8.8.7/8.8.7) with SMTP id IAA06150; Fri, 11 Sep 1998 08:20:42 -0400 (EDT) From: "Jim Flowers" To: "Andrzej Bialecki" Cc: Subject: Re: PicoBSD & 2.2.7 Date: Fri, 11 Sep 1998 08:23:49 -0400 Message-ID: <01bddd7f$0792fae0$858266ce@violet.ezo.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sounds like someone is listening to you. 2.2.7 is furnished with ucd-snmp-3.5 which (when configured) produces a Makefile that contains (among possibly others) ----------- # Shared library commands (or not) SHLIB_CFLAGS=-fpic -shared SHLIB_EXTENSION=so SHLIB_LDCONFIG_CMD= SHLIB_LD_CMD=ld -Bshareable -o CC_RUNTIME_ARG= ... CFLAGS=-O -Dfreebsd2 -shared ------------- When I remove the -fpic and -shared flags make generates masses of Undefined symbol errors (_close, _sysctl, _ioctl, ...). Rather than edit each .c file to add the includes my solution was to backup to the root level and edit the Makefile there to remove the --enable-shared argument and make reinstall the whole thing. Now everything is static including snmplib.a. --------- #CONFIGURE_ARGS= --enable-shared CONFIGURE_ARGS= -------- Hope the bugfix on 0.4 is progressing nicely. Jim -----Original Message----- From: Andrzej Bialecki To: Jim Flowers Cc: freebsd-small@FreeBSD.ORG Date: Friday, September 11, 1998 1:53 AM Subject: Re: PicoBSD & 2.2.7 >On Thu, 10 Sep 1998, Jim Flowers wrote: > >> I'm having trouble getting a static library for snmplib.a. The embedded >> instructions in crunch.conf to delete -fpic and -DPIC from snmplib/Makefile >> no longer work as the Makefile now produces a .so file and has a number of > >Ah! You're right. This has been changed with the v.3.3.1 of ucd-snmp, and >the above notes are relating to the older version, where the library was >(mistakenly) called libsnmp.a and in fact consisted of relocatable >objects. > >But... wait a moment. _Which_ version do you use??? I just looked over the >Makefile in version 3.3.1, and it produces libsnmp.a _only_, no *.so >whatever... > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Sep 11 05:32:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25310 for freebsd-small-outgoing; Fri, 11 Sep 1998 05:32:09 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA25263 for ; Fri, 11 Sep 1998 05:32:02 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id OAA24116; Fri, 11 Sep 1998 14:36:35 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Fri, 11 Sep 1998 14:36:34 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Jim Flowers cc: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD & 2.2.7 In-Reply-To: <01bddd7f$0792fae0$858266ce@violet.ezo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 11 Sep 1998, Jim Flowers wrote: > Sounds like someone is listening to you. 2.2.7 is furnished with Hehe... > ucd-snmp-3.5 which (when configured) produces a Makefile that contains Ok, my fault here. I didn't check the version in ports collection for 2.2.7. > to add the includes my solution was to backup to the root level and edit the > Makefile there to remove the --enable-shared argument and make reinstall the > whole thing. Now everything is static including snmplib.a. > > --------- > #CONFIGURE_ARGS= --enable-shared > CONFIGURE_ARGS= > -------- Ok, I'll change that comment to include your solution. Thanks! > > Hope the bugfix on 0.4 is progressing nicely. Unfortunately, it's not me who fixes it, and I haven't heard anything from that person during last few days.. :-(((( (though I keep pushing him). Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Sep 11 06:00:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA28238 for freebsd-small-outgoing; Fri, 11 Sep 1998 06:00:25 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [148.81.160.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28210 for ; Fri, 11 Sep 1998 06:00:15 -0700 (PDT) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id PAA08132; Fri, 11 Sep 1998 15:04:45 +0200 (CEST) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Fri, 11 Sep 1998 15:04:45 +0200 (CEST) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Jim Flowers cc: freebsd-small@FreeBSD.ORG Subject: Re: PicoBSD & 2.2.7 In-Reply-To: <01bddd82$d379be20$858266ce@violet.ezo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG (I added cc: to freebsd-small - I think they would also like to know) On Fri, 11 Sep 1998, Jim Flowers wrote: > As long as you're still up I'll ask: Can I use 0.4 with the RELENG_2_2 flag > with 2.2.7 instead of Dinesh Nair's 0.31? Yes, it should for the most part. Luigi Rizzo tested that it works and produces nice "router" floppy with dummynet (bandwidth limiter) and bridging code. There are only two points where it can fail, both of them very easy to fix when you encounter them: * patches in */crunch1/*.diff don't apply cleanly, or at all: - they are so simple that you can do this by hand; it's usually a matter of setting one or two env. variables. * you're out of inodes on MFS (in 'populate'): - when RELENG_2_2 is set, you don't use DEVFS and we have to make the whole /dev/* tree. Edit the Makefile in */mfs.tree/* and instead of './MAKEDEV std' use specific list of devices you need. Dinesh dissappeared from the net (I think he's very busy with implementing picobsd-based solutions for Malaysian schools), so this will have to suffice in the meantime. If you want to provide the (tested :-) patches, you're welcome. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Fri Sep 11 16:53:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29203 for freebsd-small-outgoing; Fri, 11 Sep 1998 16:53:53 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from gatekeeper.marshall.com (gatekeeper.marshall.com [199.182.144.189]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA29192 for ; Fri, 11 Sep 1998 16:53:51 -0700 (PDT) (envelope-from Albert_Yang@marshall.com) Received: by gatekeeper.marshall.com; id QAA20952; Fri, 11 Sep 1998 16:53:39 -0700 Received: from unknown(42.1.1.21) by gatekeeper.marshall.com via smap (3.2) id xma020657; Fri, 11 Sep 98 16:53:16 -0700 Received: by marshall.com(Lotus SMTP MTA v4.6.1 (569.2 2-6-1998)) id 8825667C.00839C18 ; Fri, 11 Sep 1998 16:57:31 -0700 X-Lotus-FromDomain: MARSHALL From: "Albert Yang" To: freebsd-small@FreeBSD.ORG Message-ID: <8825667C.00839252.00@marshall.com> Date: Fri, 11 Sep 1998 16:57:15 -0700 Subject: subscribe Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message