From owner-freebsd-small Sun Aug 12 12:25:31 2001 Delivered-To: freebsd-small@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6FF6D37B407; Sun, 12 Aug 2001 12:25:28 -0700 (PDT) (envelope-from dougb@FreeBSD.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7CJLUN72701; Sun, 12 Aug 2001 12:21:30 -0700 (PDT) (envelope-from dougb) Date: Sun, 12 Aug 2001 12:21:30 -0700 (PDT) From: Message-Id: <200108121921.f7CJLUN72701@freefall.freebsd.org> To: dougb@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-small@FreeBSD.org Subject: Re: misc/28938: PicoBSD - An update to the build script to add new features Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: PicoBSD - An update to the build script to add new features Responsible-Changed-From-To: freebsd-bugs->freebsd-small Responsible-Changed-By: dougb Responsible-Changed-When: Sun Aug 12 12:21:05 PDT 2001 Responsible-Changed-Why: According to Simon Nielsen http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28938 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 2:34:53 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail.element5.com (hermes.element5.com [217.65.128.204]) by hub.freebsd.org (Postfix) with SMTP id 2A1BB37B40A for ; Mon, 13 Aug 2001 02:34:48 -0700 (PDT) (envelope-from glaess@hermes.element5.com) Received: (qmail 17981 invoked by uid 1001); 13 Aug 2001 11:34:31 +0200 Message-ID: <20010813093431.17980.qmail@element5.com> From: glaess@element5.de To: freebsd-small@freebsd.org Subject: error message Date: Mon, 13 Aug 2001 09:34:31 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi all, igot this error MFS filesystem signature not found in kernel after build of picobsd-net put i have mfs md_root md and vn in my kernel what happend here ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 2:51:13 2001 Delivered-To: freebsd-small@freebsd.org Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id B624D37B409 for ; Mon, 13 Aug 2001 02:51:08 -0700 (PDT) (envelope-from eugen@iname.com) Received: from iname.com (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.9.3/8.9.3) with ESMTP id RAA51806; Mon, 13 Aug 2001 17:50:55 +0800 (KRAST) (envelope-from eugen@iname.com) Message-ID: <3B77A2FE.6EEC503@iname.com> Date: Mon, 13 Aug 2001 17:50:54 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: glaess@element5.de Cc: freebsd-small@FreeBSD.ORG Subject: Re: error message References: <20010813093431.17980.qmail@element5.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG glaess@element5.de wrote: > MFS filesystem signature not found in kernel > > after build of picobsd-net > > put i have > mfs md_root md and vn in my kernel > > what happend here ? Check that you have options MD_ROOT_SIZE in kernel config. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 3: 6:37 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail.element5.com (hermes.element5.com [217.65.128.204]) by hub.freebsd.org (Postfix) with SMTP id 60BAA37B40A for ; Mon, 13 Aug 2001 03:06:33 -0700 (PDT) (envelope-from glaess@hermes.element5.com) Received: (qmail 32671 invoked by uid 1001); 13 Aug 2001 12:06:32 +0200 Message-ID: <20010813100632.32670.qmail@element5.com> References: <20010813093431.17980.qmail@element5.com> <3B77A2FE.6EEC503@iname.com> In-Reply-To: <3B77A2FE.6EEC503@iname.com> From: glaess@element5.de To: Eugene Grosbein Cc: freebsd-small@FreeBSD.ORG Subject: Re: error message Date: Mon, 13 Aug 2001 10:06:31 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eugene Grosbein writes: > glaess@element5.de wrote: > >> MFS filesystem signature not found in kernel >> >> after build of picobsd-net >> >> put i have >> mfs md_root md and vn in my kernel >> >> what happend here ? > > Check that you have options MD_ROOT_SIZE in kernel config. > i checked my kernel config and build a new one with this option but i got this error with the new kernel . below my kernel config options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options MD_ROOT_SIZE=1440 --- snip -- pseudo-device md # Memory "disks" pseudo-device vn # any hints ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 11:49: 1 2001 Delivered-To: freebsd-small@freebsd.org Received: from rgmail.regenstrief.org (rgmail.regenstrief.org [134.68.31.197]) by hub.freebsd.org (Postfix) with ESMTP id 80B1737B40B for ; Mon, 13 Aug 2001 11:48:57 -0700 (PDT) (envelope-from gunther@aurora.regenstrief.org) Received: from aurora.regenstrief.org ([172.31.26.4]) by rgmail.regenstrief.org (8.11.0/8.8.7) with ESMTP id f7DItPj07354 for ; Mon, 13 Aug 2001 13:55:25 -0500 Message-ID: <3B782116.3010904@aurora.regenstrief.org> Date: Mon, 13 Aug 2001 13:48:54 -0500 From: Gunther Schadow Organization: Regenstrief Institute for Health Care User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: PicoBSD List Subject: crunchgen issue ... Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm using crunchgen extensively to produce my small VPN boxes. Works very well. However, there's one thing that repeatedly bugs me. Some programs will have their private library of utilities that needs to be linked too and that is difficult. As an example suppose you want to add "ntpdate" into your crunched binary. The ntp-related programs all want their private utility library libntp.a linked with them. This library is not installed, so I add it to crunch.conf using a "libs" line like this: libs /usr/obj/usr/src/usr.sbin/ntp/libntp/libntp.a that will sometimes work just fine; but sometimes, as in this case, it will fail because of that libntp.a backwards referencing symbols that are found in ntpdate.lo. All sorts of other problems can happen too, like symbol name conflicts (e.g., many such things may use a global variable such as "debug"). The only proper place to link such private utility libraries would be in the partial link that produces the ntpdate.lo object. So, what crunchgen is missing is a conf option like this: special progname libs libspec ... so one could say: special ntpdate libs /usr/obj/usr/src/usr.sbin/ntp/libntp/libntp.a and that would add the additional library to the makefile. Of course it would be more elegant to have crunchgen guess that long path that leads up to libntp.a, but that's refinement. At least something better than having to specify the *entire* objpaths would be needed. Thanks, -Gunther -- Gunther Schadow, M.D., Ph.D. gschadow@regenstrief.org Medical Information Scientist Regenstrief Institute for Health Care Adjunct Assistant Professor Indiana University School of Medicine tel:1(317)630-7960 http://aurora.regenstrief.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 12:32:51 2001 Delivered-To: freebsd-small@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 2B27D37B401 for ; Mon, 13 Aug 2001 12:32:47 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id VAA27142; Mon, 13 Aug 2001 21:25:24 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200108131925.VAA27142@info.iet.unipi.it> Subject: Re: crunchgen issue ... In-Reply-To: <3B782116.3010904@aurora.regenstrief.org> from Gunther Schadow at "Aug 13, 2001 01:48:54 pm" To: Gunther Schadow Date: Mon, 13 Aug 2001 21:25:24 +0200 (CEST) Cc: PicoBSD List X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > libs /usr/obj/usr/src/usr.sbin/ntp/libntp/libntp.a > > that will sometimes work just fine; but sometimes, as in this > case, it will fail because of that libntp.a backwards referencing > symbols that are found in ntpdate.lo. All sorts of other problems that is not a crunchgen problem, is poor coding of the library itself, and there is nothing crunchgen can do about it (i mean nothing that is not tightly related to the specific misuse of the library). ssh had a similar problem, and i had to patch it (in the picobsd/ssh port) extensively to fix the problem and avoid having to include a replica of the "library" for each binary that used it. I suggest that you bite the bullet and try doing something similar with ntp. > The only proper place to link such private utility libraries would > be in the partial link that produces the ntpdate.lo object. unfortunately this causes replicas of the library to be linked to each binary using it, which partly defeats the purpose of crunchgen. cheers luigi > So, what crunchgen is missing is a conf option like this: > > special progname libs libspec ... > > so one could say: > > special ntpdate libs /usr/obj/usr/src/usr.sbin/ntp/libntp/libntp.a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 13: 3:37 2001 Delivered-To: freebsd-small@freebsd.org Received: from rgmail.regenstrief.org (rgmail.regenstrief.org [134.68.31.197]) by hub.freebsd.org (Postfix) with ESMTP id DC82C37B40C for ; Mon, 13 Aug 2001 13:03:32 -0700 (PDT) (envelope-from gunther@aurora.regenstrief.org) Received: from aurora.regenstrief.org ([172.31.26.4]) by rgmail.regenstrief.org (8.11.0/8.8.7) with ESMTP id f7DK9wj08591; Mon, 13 Aug 2001 15:09:58 -0500 Message-ID: <3B78328B.8070603@aurora.regenstrief.org> Date: Mon, 13 Aug 2001 15:03:23 -0500 From: Gunther Schadow Organization: Regenstrief Institute for Health Care User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Luigi Rizzo Cc: PicoBSD List Subject: Re: crunchgen issue ... References: <200108131925.VAA27142@info.iet.unipi.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Luigi Rizzo wrote: >>libs /usr/obj/usr/src/usr.sbin/ntp/libntp/libntp.a >> >>that will sometimes work just fine; but sometimes, as in this >>case, it will fail because of that libntp.a backwards referencing >>symbols that are found in ntpdate.lo. All sorts of other problems >> > > that is not a crunchgen problem, is poor coding of the library > itself, and there is nothing crunchgen can do about it > (i mean nothing that is not tightly related to the specific > misuse of the library). I can see your point ... > ssh had a similar problem, and i had to patch it (in the picobsd/ssh port) > extensively to fix the problem and avoid having to include a replica > of the "library" for each binary that used it. right, that's what made me give up on SSH before. Did you feed back your changes to the ssh maintenance? That's where I'm afraid the problem ends up being. You're right that the special libs approach leads to replicating those libraries into multiple programs that use them, but sometimes I only use one. I'm afraid that eventually naming conflicts between such private libraries are not avoidable even with good c-coding. So, it may remain to be the problem of the crunchgen user ... so crunchgen could still help here. regards, -Gunther -- Gunther Schadow, M.D., Ph.D. gschadow@regenstrief.org Medical Information Scientist Regenstrief Institute for Health Care Adjunct Assistant Professor Indiana University School of Medicine tel:1(317)630-7960 http://aurora.regenstrief.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 13:52:17 2001 Delivered-To: freebsd-small@freebsd.org Received: from tao.org.uk (xwing.creative.net.au [203.56.168.36]) by hub.freebsd.org (Postfix) with ESMTP id 65D3C37B408 for ; Mon, 13 Aug 2001 13:52:10 -0700 (PDT) (envelope-from joe@tao.org.uk) Received: by tao.org.uk (Postfix, from userid 100) id A4DE6490; Mon, 13 Aug 2001 09:26:54 +0100 (BST) Date: Mon, 13 Aug 2001 09:26:54 +0100 From: Josef Karthauser To: Small FreeBSD Subject: Request for testing of a crunchgen patch. Message-ID: <20010813092654.B12557@tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="GpGaEY17fSl8rd50" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --GpGaEY17fSl8rd50 Content-Type: multipart/mixed; boundary="HG+GLK89HZ1zG0kk" Content-Disposition: inline --HG+GLK89HZ1zG0kk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi everyone, I've got a patch to crunchgen which fixes a bug that I introduced around the time of 4.2. I broke the proper handling of this kind of crunch.conf file: progs prog1 special prog1 objdir ../../prog1/obj special prog1 objs prog1.o I'd be very grateful if people could patch crunchgen and test that it still works as expected before I commit the fix. Many thanks, Joe --HG+GLK89HZ1zG0kk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="crunchgen.c-patch" Content-Transfer-Encoding: quoted-printable Index: crunchgen.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.sbin/crunch/crunchgen/crunchgen.c,v retrieving revision 1.28 diff -u -r1.28 crunchgen.c --- crunchgen.c 2001/06/20 23:21:02 1.28 +++ crunchgen.c 2001/08/13 07:53:24 @@ -636,7 +636,7 @@ if (!p->objs && p->srcdir && is_nonempty_file(path)) fillin_program_objs(p, path); =20 - if (!p->srcdir && verbose) + if (!p->srcdir && !p->objdir && verbose) warnx("%s: %s: %s", "warning: could not find source directory", infilename, p->name); @@ -644,7 +644,7 @@ warnx("%s: %s: warning: could not find any .o files", infilename, p->name); =20 - if (!p->srcdir || !p->objs) + if (!p->objdir || !p->objs) p->goterror =3D 1; } =20 @@ -962,17 +962,17 @@ =20 fprintf(outmk, "\n# -------- %s\n\n", p->name); =20 + fprintf(outmk, "%s_OBJDIR=3D", p->ident); + if (p->objdir) + fprintf(outmk, "%s", p->objdir); + else + fprintf(outmk, "$(MAKEOBJDIRPREFIX)/$(%s_REALSRCDIR)\n", + p->ident); + fprintf(outmk, "\n"); + if (p->srcdir && p->objs) { fprintf(outmk, "%s_SRCDIR=3D%s\n", p->ident, p->srcdir); fprintf(outmk, "%s_REALSRCDIR=3D%s\n", p->ident, p->realsrcdir); - - fprintf(outmk, "%s_OBJDIR=3D", p->ident); - if (p->objdir) - fprintf(outmk, "%s", p->objdir); - else - fprintf(outmk, "$(MAKEOBJDIRPREFIX)/$(%s_REALSRCDIR)\n", - p->ident); - fprintf(outmk, "\n"); =20 fprintf(outmk, "%s_OBJS=3D", p->ident); output_strlst(outmk, p->objs); --HG+GLK89HZ1zG0kk-- --GpGaEY17fSl8rd50 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjt3j00ACgkQXVIcjOaxUBZaWACdH/Z2DjIXyZKdKeAR3oGz8rZk v4AAoNk6A6O9SNOGSYN6iweFpK/ArA1S =WxR4 -----END PGP SIGNATURE----- --GpGaEY17fSl8rd50-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 13:52:30 2001 Delivered-To: freebsd-small@freebsd.org Received: from hotmail.com (f74.law3.hotmail.com [209.185.241.74]) by hub.freebsd.org (Postfix) with ESMTP id 6AC7F37B411; Mon, 13 Aug 2001 13:52:21 -0700 (PDT) (envelope-from the_srinivas@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 13 Aug 2001 13:52:21 -0700 Received: from 205.158.104.176 by lw3fd.law3.hotmail.msn.com with HTTP; Mon, 13 Aug 2001 20:52:21 GMT X-Originating-IP: [205.158.104.176] From: "Srinivas Dharmasanam" To: freebsd-small@freebsd.org, freebsd-smp@freebsd.org Subject: Re: 4.2 SMP driver for DiskonChip Date: Mon, 13 Aug 2001 13:52:21 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Aug 2001 20:52:21.0318 (UTC) FILETIME=[D8DCF660:01C12439] Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm trying to use the M-Systems', DiskonChip on a Dual PIII SBC running the SMP FreeBSD4.2 kernel. However, I get kernel crashes when trying to write to the DiskonChip (on a 4.2FreeBSD SMP kernel on a regular IDE disk) or sometimes even when I try to reboot from an existing FreeBSD 4.2-SMP system already on the DOC. It seems lik the DOC driver is not 4.2FreeBSD-SMP compliant. Has anyone faced this problem already? I will contact the developer of the driver and also M-Sys about this but please let me know how you address this problem. Thanks a lot. Regards, -Srinivas _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 15:15:23 2001 Delivered-To: freebsd-small@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 540B137B407 for ; Mon, 13 Aug 2001 15:15:19 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id AAA28026; Tue, 14 Aug 2001 00:07:56 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200108132207.AAA28026@info.iet.unipi.it> Subject: Re: crunchgen issue ... In-Reply-To: <3B78328B.8070603@aurora.regenstrief.org> from Gunther Schadow at "Aug 13, 2001 03:03:23 pm" To: Gunther Schadow Date: Tue, 14 Aug 2001 00:07:56 +0200 (CEST) Cc: PicoBSD List X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > ssh had a similar problem, and i had to patch it (in the picobsd/ssh port) > > extensively to fix the problem and avoid having to include a replica > > of the "library" for each binary that used it. > > right, that's what made me give up on SSH before. Did you > feed back your changes to the ssh maintenance? That's where > I'm afraid the problem ends up being. the picobsd port of ssh handles this ok, but it is for the partly-restricted version of ssh, and no, i have not emailed the ssh people about this problem. The openssh in our source is too bloated, it links in about 500KB of libraries (with the same misuse of libraries) so even fixing the library problem would not make it useable for picobsd purposes (on floppy at least). > You're right that the special libs approach leads to replicating > those libraries into multiple programs that use them, but > sometimes I only use one. I'm afraid that eventually naming > conflicts between such private libraries are not avoidable even > with good c-coding. So, it may remain to be the problem of the > crunchgen user ... so crunchgen could still help here. In these cases, wouldn't it suffice to put the library name in the OBJS variable of the Makefile ? This would also reflect more accurately the actual use of the "library", which really becomes just a set of objects which might be needed for the build. cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 18:42:55 2001 Delivered-To: freebsd-small@freebsd.org Received: from sv.compuland.com.br (sv.compuland.com.br [200.255.96.21]) by hub.freebsd.org (Postfix) with ESMTP id B9DD937B407 for ; Mon, 13 Aug 2001 18:42:51 -0700 (PDT) (envelope-from helio@compuland.com.br) Received: (from mailler@localhost) by sv.compuland.com.br (8.11.4/8.11.4) id f7E1jgg26961 for freebsd-small@freebsd.org; Mon, 13 Aug 2001 22:45:42 -0300 (BRT) Received: from fuzzy (fuzzy.compuland.com.br [200.255.96.29]) by sv.compuland.com.br (8.11.4/8.11.4) with ESMTP id f7E1jdw26941 for ; Mon, 13 Aug 2001 22:45:39 -0300 (BRT) From: helio@compuland.com.br Organization: CompuLand ISP To: Date: Mon, 13 Aug 2001 22:43:51 -0300 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: Problem building a custom kernel Message-ID: <3B785827.24057.B63399@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi: I=B4m building a custom picobsd floppy based on the =B4bridge=B4 setup= . I=B4ve succesfully added sshd (ported by Luigi) and arpwatch. My last effort is to add ipfm_mysql ( a modificated version that logs to a databas= e using mysqlclient). It=B4s statically built (using -g) and depends of libmysqlclient. The problem is exactly the mysqlclient library. It uses =B4crypt=B4. if I specify the library in crunch.conf, I got the floppy donne but when I boot with it, I got a panic - the system could not find INIT. If I remove the library from crunch conf (and =B4prog ipfm=B4) it works fine. I know it=B4s a crypt related problem but I don=B4t know why the crypt in mysql is colliding with the crypt used by INIT. In crunch conf I have to specify =B4libs /usr/local/lib/libmysqlclient.so=B4= to get the floppy built, but it bloats INIT. Anyone could provide a direction that I should follow to try to solve that= ? Thanks a lot, Helio. - CompuLand ISP Admin GnuPG Public Key: http://www.compuland.com.br/helio/gpgpublic.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Mon Aug 13 22:29: 8 2001 Delivered-To: freebsd-small@freebsd.org Received: from hotmail.com (f101.law9.hotmail.com [64.4.9.101]) by hub.freebsd.org (Postfix) with ESMTP id 1391937B403 for ; Mon, 13 Aug 2001 22:29:06 -0700 (PDT) (envelope-from freebsdfan@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 13 Aug 2001 22:29:05 -0700 Received: from 24.9.137.53 by lw9fd.law9.hotmail.msn.com with HTTP; Tue, 14 Aug 2001 05:29:05 GMT X-Originating-IP: [24.9.137.53] From: "Chuck TheMascot" To: freebsd-small@FreeBSD.ORG Subject: PicoBSD configured for net4501 available Date: Mon, 13 Aug 2001 22:29:05 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Aug 2001 05:29:05.0942 (UTC) FILETIME=[090F2360:01C12482] Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A PicoBSD configuration tree for creating a pxe bootable version of PicoBSD for the Soekris net4501 card is now available at http://sourceforge.net/projects/thewall . I've also included a prebuilt binary (based on 4.4-prerelease as of 8/10) for those that want to just load and go. This configuration creates a simple two port ipfw based firewall with enough tools (hopefully) to assist the commissioning a compact flash card. Comments are welcome. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Aug 14 9:27:31 2001 Delivered-To: freebsd-small@freebsd.org Received: from sv.compuland.com.br (sv.compuland.com.br [200.255.96.21]) by hub.freebsd.org (Postfix) with ESMTP id 6390837B405 for ; Tue, 14 Aug 2001 09:27:26 -0700 (PDT) (envelope-from helio@compuland.com.br) Received: (from mailler@localhost) by sv.compuland.com.br (8.11.4/8.11.4) id f7EGUDB20915 for freebsd-small@freebsd.org; Tue, 14 Aug 2001 13:30:13 -0300 (BRT) Received: from fuzzy (fuzzy.compuland.com.br [200.255.96.29]) by sv.compuland.com.br (8.11.4/8.11.4) with ESMTP id f7EGUCw20902 for ; Tue, 14 Aug 2001 13:30:12 -0300 (BRT) From: helio@compuland.com.br Organization: CompuLand ISP To: Date: Tue, 14 Aug 2001 13:28:28 -0300 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: libc issue Message-ID: <3B79277C.28167.7F27C9@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi: I=B4m trying to build a picobsd floppy with an aplication that depends on libmysqlclient ( I sent another message but without error messages). If I use the shared library, libmysqlclient.so the build is completed but the INIT panics when the floppy boots. Seems to me that crypt somehow conflicts. If I use the static libmysqlclient.a , I got a conflict with LIBC (I suppo= se): /usr/lib/libc.a(getopt.o)(.data+0x0): multiple definition of `opterr' /usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.data+0x8): first defined = here /usr/lib/libc.a(getopt.o)(.data+0x4): multiple definition of `optind' /usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.data+0x4): first defined = here /usr/lib/libc.a(getopt.o): In function `getopt': getopt.o(.text+0x0): multiple definition of `getopt' /usr/local/lib/mysql/libmysqlclient.a(getopt.o)(.text+0x84c): first define= d here /usr/libexec/elf/ld: Warning: size of symbol `getopt' changed from 31 to 4= 26 in getopt.o /usr/local/lib/mysql/libmysqlclient.a(password.o): In function `scramble': password.o(.text+0x1cc): undefined reference to `floor' password.o(.text+0x261): undefined reference to `floor' /usr/local/lib/mysql/libmysqlclient.a(password.o): In function `check_scramble': password.o(.text+0x3fe): undefined reference to `floor' password.o(.text+0x490): undefined reference to `floor' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompress ': my_compress.o(.text+0x9d): undefined reference to `uncompress' /usr/local/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x130): undefined reference to `compress' *** Error code 1 Is there any solution for that - maybe change something in the build proce= ss of the mysqlclientlibrary ? Any tip would be greatly appreciated. Thanks, Helio. - CompuLand ISP Admin GnuPG Public Key: http://www.compuland.com.br/helio/gpgpublic.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Tue Aug 14 12: 6:35 2001 Delivered-To: freebsd-small@freebsd.org Received: from gta.com (mailgate.gta.com [199.120.225.4]) by hub.freebsd.org (Postfix) with ESMTP id 40CCB37B405 for ; Tue, 14 Aug 2001 12:06:32 -0700 (PDT) (envelope-from lab@gta.com) Received: from gta.com (GTA internal mail system) by gta.com id MAA07359; Tue, 14 Aug 2001 12:51:25 -0400 (EDT) Date: Tue, 14 Aug 2001 12:51:25 -0400 (EDT) Message-Id: <200108141651.MAA07359@gta.com> From: Larry Baird To: freebsd-small@freebsd.org Cc: Luigi Rizzo Subject: Re: crunchgen issue ... In-Reply-To: <200108132207.AAA28026@gta.com> User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386)) Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> You're right that the special libs approach leads to replicating >> those libraries into multiple programs that use them, but >> sometimes I only use one. I'm afraid that eventually naming >> conflicts between such private libraries are not avoidable even >> with good c-coding. So, it may remain to be the problem of the >> crunchgen user ... so crunchgen could still help here. > In these cases, wouldn't it suffice to put the library name in the > OBJS variable of the Makefile ? This would also reflect more > accurately the actual use of the "library", which really > becomes just a set of objects which might be needed for the > build. From my experience this approach works with a small caveate. It links in the complete library and not just the required object modules. This can lead to substantial bloat if most of the library is not required. (-; Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gnatbox.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message From owner-freebsd-small Thu Aug 16 2:38:23 2001 Delivered-To: freebsd-small@freebsd.org Received: from nitro.dk (213.237.101.114.adsl.kh.worldonline.dk [213.237.101.114]) by hub.freebsd.org (Postfix) with SMTP id CF56737B40D for ; Thu, 16 Aug 2001 02:38:16 -0700 (PDT) (envelope-from simon@nitro.dk) Received: (qmail 23254 invoked by uid 1000); 16 Aug 2001 09:38:14 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by fishbone.nitro.dk with SMTP; 16 Aug 2001 09:38:14 -0000 Date: Thu, 16 Aug 2001 11:38:14 +0200 (CEST) From: Simon Nielsen To: Subject: misc/28938: updates to build script Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello I have made some udates to the picobsd build script which is in PR misc/28938. Would someone of the picobsd commiters have a look at them? Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message