make -DWANT_AOUT build stops in ncurses
Hi, I'm trying to build the aout libraries on a machine I had to reinstall recently. But I can't make the world with the AOUT legacy stuff, breaking in ncurses on bad magic for /usr/lib/libgcc.a I'll try to do my next make world to a file or under X so I might be able to reproduce the exact error, but does anyone have other experiences with the legacy build? Mark -- Nice testing in little China... To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Building PicoBSD
I'm trying to build a `net' PicoBSD on a -current system and am running into problems that appear to be inside make(1) (and how it imports/exports/treats MAKEFLAGS). I thought I'd try to shrink things by stripping the ISDN and RADIUS support out of ppp (amongst other things), but ppp/i4b.c kept getting included in the crunch1.cache and crunch1.mk. I eventually wound up with the patches below which: 1) Within crunchgen(8), explicitly pass the environment MAKEFLAGS to the subordinate make as a commandline option. 2) Add various options to net/crunch1/Makefile's MAKEFLAGS to disable unwanted bits and pieces. 3) Explicitly pass MAKEFLAGS to both crunchgen and the `build it all` make. 4) Remote ipfw and -lradius from the crunch.conf file. 5) Fix the password diffs to suit a -current system. (Note that there is a generic problem with including the $FreeBSD$ tag in the diffs). The result of all this is that ppp/i4b.o _has_ been left out (suggesting that the -DNOI4B in MAKEFLAGS is being seen), but ppp/nat_cmd.o and ppp/chap_ms.o are still being included (suggesting that the -DNONAT, -DNOALIAS, -DRELEASE_CRUNCH and -DNOCRYPT _aren't_ being seen). Does anyone have any ideas? I _hope_ I'm doing soething silly... Index: src/usr.sbin/crunch/crunchgen/crunchgen.c === RCS file: /home/CVSROOT/./src/usr.sbin/crunch/crunchgen/crunchgen.c,v retrieving revision 1.11 diff -u -r1.11 crunchgen.c --- crunchgen.c 1998/09/14 11:33:38 1.11 +++ crunchgen.c 1999/09/15 05:41:23 @@ -544,7 +544,7 @@ fprintf(f, "crunchgen_objs:\n\t@echo 'OBJS= '${OBJS}\n"); fclose(f); -sprintf(line, "make -f %s crunchgen_objs 21", tempfname); +sprintf(line, "make 'MAKEFLAGS=$MAKEFLAGS' -f %s crunchgen_objs 21", tempfname); if((f = popen(line, "r")) == NULL) { warn("submake pipe"); goterror = 1; Index: src/release/picobsd/net/crunch1/Makefile === RCS file: /home/CVSROOT/./src/release/picobsd/net/crunch1/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile1999/08/28 01:33:39 1.5 +++ Makefile1999/09/15 05:47:50 @@ -3,6 +3,8 @@ # SRC?=/usr/src +MAKEFLAGS+=-DNOPAM -DNOSECURE -DNOCRYPT -DRELEASE_CRUNCH -DNOI4B -DNORADIUS -DNONAT + all: crunch crunch: @@ -11,8 +13,8 @@ touch /usr/src/usr.bin/passwd/.picobsd.patched; \ fi @cat crunch.conf|sed -e "s@/usr/src@${SRC}@" crunch1.conf - @crunchgen ./crunch1.conf - @${MAKE} -f crunch1.mk -DNOPAM all \ + @MAKEFLAGS="${MAKEFLAGS}" crunchgen ./crunch1.conf + @${MAKE} ${MAKEFLAGS} -f crunch1.mk -DNOPAM all \ "CFLAGS=${CFLAGS} -DRELEASE_CRUNCH -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT" #21 /dev/null clean: Index: src/release/picobsd/net/crunch1/crunch.conf === RCS file: /home/CVSROOT/./src/release/picobsd/net/crunch1/crunch.conf,v retrieving revision 1.9 diff -u -r1.9 crunch.conf --- crunch.conf 1999/08/28 01:33:39 1.9 +++ crunch.conf 1999/09/15 05:52:33 @@ -25,7 +25,8 @@ progs pwd ppp telnet more progs passwd date -progs mount_cd9660 mount_nfs ping traceroute routed ipfw +progs mount_cd9660 mount_nfs ping traceroute routed +# ipfw ln mount_cd9660 cd9660 ln mount_nfs nfs @@ -42,4 +43,4 @@ libs -lncurses -lmytinfo -lipx -lz -lpcap -lalias -lwrap libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm libs -lgnuregex -ltelnet -libs -lradius # used by ppp +# libs -lradius # used by ppp Index: src/release/picobsd/net/crunch1/passwd.diff === RCS file: /home/CVSROOT/./src/release/picobsd/net/crunch1/passwd.diff,v retrieving revision 1.5 diff -u -r1.5 passwd.diff --- passwd.diff 1999/08/28 01:33:39 1.5 +++ passwd.diff 1999/09/13 03:08:52 @@ -2,14 +2,14 @@ --- Makefile Sat Aug 1 20:40:38 1998 *** *** 2,24 - # $FreeBSD: ./src/release/picobsd/net/crunch1/passwd.diff,v 1.5 1999/08/28 01:33:39 peter Exp $ + # $FreeBSD: ./src/usr.bin/passwd/Makefile,v 1.34 1999/09/06 17:30:02 peter Exp $ PROG=passwd ! SRCS=local_passwd.c passwd.c pw_copy.c pw_util.c pw_yp.c \ ! yp_passwd.c ypxfr_misc.c ${GENSRCS} GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \ yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c - CFLAGS+=-Wall -DPASSWD_IGNORE_COMMENTS + CFLAGS+=-Wall ! DPADD= ${LIBCRYPT} ${LIBRPCSVC} ${LIBUTIL} ! LDADD= -lcrypt -lrpcsvc -lutil @@ -26,14 +26,14 @@ CLEANFILES= ${GENSRCS} --- 2,21 - # $FreeBSD: ./src/release/picobsd/net/crunch1/passwd.diff,v 1.5 1999/08/28 01:33:39 peter Exp $ + # $FreeBSD: ./src/usr.bin/passwd/Makefile,v 1.34 1999/09/06 17:30:02 peter Exp $ PROG=passwd ! SRCS=local_passwd.c passwd.c pw_copy.c pw_util.c ! GENSRCS=yp.h yp_clnt.c yppasswd.h
Re: make kernel fails
I had that a few days back and just added controller miibus0 to my kernel config file for my xl0 controler. provecho, ed Tomas TPS Ulej wrote: CVSUP + make world from today is ok. Than I tried recompilation of kernel. Exits with: /libkern/strlen.c ../../libkern/strncmp.c ../../libkern/strncpy.c ../../libkern/udivdi3.c ../../libkern/umoddi3.c ../../pci/ide_pci.c ioconf.c param.c vnode_if.c config.c ../../pci/if_rl.c:123: miibus_if.h: No such file or directory ../../pci/if_tl.c:227: miibus_if.h: No such file or directory ../../pci/if_wb.c:129: miibus_if.h: No such file or directory ../../pci/if_xl.c:134: miibus_if.h: No such file or directory mkdep: compile failed *** Error code 1 -- Tomas 'TPS' Ulej [EMAIL PROTECTED], tu36-ripe To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Newbus/bus/space info at FBSDcon?
On Tue, Sep 14, 1999 at 12:49:46PM -0600, Warner Losh wrote: In message [EMAIL PROTECTED] Mike Smith writes: : I was going to touch on some bits of it in the driver intro, and it : occurred to me that perhaps I should ask Justin and Doug to be present : to provide more detail. Maybe we could take it a step further again : and hand part of the session over for a general discussion? : : The slot is 1.5 hours long; I wasn't expecting to have an hour's : material to present and was counting on questions and corrections to : fill it out, so something like this might be appropriate. Hopefully this won't be opposite my talk on the distribution of config files. I'd love to be there for that as well... /me looks at the speaker line-up Since you're not on there I suppose this won't happen :) -Bill -- -=| --- B i l l S w i n g l e --- http://www.dub.net/ -=| [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] -=| Different all twisty a of in maze are you, passages little To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: newpcm and Vibra16X
On Tue, 14 Sep 1999, Jordan K. Hubbard wrote: If this is a card you own, please just wrap it up and put it in the post to Cameron so that he has a chance to see what is going on. If only it were - it's the on-board sound on my Tyan Thunder 100 Mobo. If you or anyone else knows of a particular card which uses this chip, however, then I'd be happy to pick one up. I have a friend with one of these. I will find out what it is, and let you know. David Scheidt To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: make kernel fails
In message [EMAIL PROTECTED] Edwin Culp writes: : I had that a few days back and just added : controller miibus0 : to my kernel config file for my xl0 controler. Its even in UPDATING :-) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Newbus/bus/space info at FBSDcon?
yo guys, are we going to have a lecture on this new-bus/bus-space/new-config/etc/etc. at the FreeBSDcon? This stuff is pretty hard to digest in one hit and it would be great if there was some introductory talk to get us headded int eh right direction.. julian To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: newpcm and Vibra16X
On Tue, 14 Sep 1999, Jordan K. Hubbard wrote: If this is a card you own, please just wrap it up and put it in the post to Cameron so that he has a chance to see what is going on. If only it were - it's the on-board sound on my Tyan Thunder 100 Mobo. If you or anyone else knows of a particular card which uses this chip, however, then I'd be happy to pick one up. Peter mumbled something about 'borrowing' the card from his wife's machine to see if it was one of the bad ones. I don't know if it was though. -- Doug Rabson Mail: [EMAIL PROTECTED] Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: newpcm and Vibra16X
On Mon, 13 Sep 1999, Jordan K. Hubbard wrote: Card assigned CSN #1 Vendor ID CTL0070 (0x70008c0e), Serial Number 0x PnP Version 1.0, Vendor Version 16 Device Description: Creative ViBRA16C PnP And JFYI, this: Vendor ID CTL00f0 (0xf0008c0e), Serial Number 0x PnP Version 1.0, Vendor Version 16 Device Description: Creative ViBRA16X PnP Does *not* work with newpcm. :) If this is a card you own, please just wrap it up and put it in the post to Cameron so that he has a chance to see what is going on. -- Doug Rabson Mail: [EMAIL PROTECTED] Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
make kernel fails
CVSUP + make world from today is ok. Than I tried recompilation of kernel. Exits with: /libkern/strlen.c ../../libkern/strncmp.c ../../libkern/strncpy.c ../../libkern/udivdi3.c ../../libkern/umoddi3.c ../../pci/ide_pci.c ioconf.c param.c vnode_if.c config.c ../../pci/if_rl.c:123: miibus_if.h: No such file or directory ../../pci/if_tl.c:227: miibus_if.h: No such file or directory ../../pci/if_wb.c:129: miibus_if.h: No such file or directory ../../pci/if_xl.c:134: miibus_if.h: No such file or directory mkdep: compile failed *** Error code 1 -- Tomas 'TPS' Ulej [EMAIL PROTECTED], tu36-ripe To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Newbus/bus/space info at FBSDcon?
In message [EMAIL PROTECTED] Mike Smith writes: : I was going to touch on some bits of it in the driver intro, and it : occurred to me that perhaps I should ask Justin and Doug to be present : to provide more detail. Maybe we could take it a step further again : and hand part of the session over for a general discussion? : : The slot is 1.5 hours long; I wasn't expecting to have an hour's : material to present and was counting on questions and corrections to : fill it out, so something like this might be appropriate. Hopefully this won't be opposite my talk on the distribution of config files. I'd love to be there for that as well... Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: What's wrong with this picture?
On Mon, Sep 13, 1999 at 05:32:41PM -0400, Mark S. Reichman wrote: Second, I will respond as I see fit to any public posting with or without your permission Mr. Mike Smith. HUH?? Where did Mike direct something at you in this thread? And yes, posting messages like that in a public forum is lame because postings like that get arguments like this started. Only by busy-bodies. The message was directed at someone that knows Mike and that person is the only one that should even consider saying anything about Mike's tone. Lighten up people! -- -- David([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Newbus/bus/space info at FBSDcon?
Unfortunatly the schedule is already totally full, bursting at the seams in fact. It would be very difficult to squeeze another talk in. If Jordan feels that this should be on the schedule we can give a few other ppl the boot I suppose (just kidding) :) -Bill On Tue, Sep 14, 1999 at 11:07:05AM -0700, Julian Elischer wrote: yo guys, are we going to have a lecture on this new-bus/bus-space/new-config/etc/etc. at the FreeBSDcon? This stuff is pretty hard to digest in one hit and it would be great if there was some introductory talk to get us headded int eh right direction.. julian To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message -- -=| --- B i l l S w i n g l e --- http://www.dub.net/ -=| [EMAIL PROTECTED] - [EMAIL PROTECTED] - [EMAIL PROTECTED] -=| Different all twisty a of in maze are you, passages little To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
4.0-19990914-SNAP/xterm/libtermcap/libncurses problem/fix
Hi, I just finished doing a test install of 4.0-19990914-SNAP, which worked like a champ. The X11 config with 3.3.5 also went great. However, after everything was up and running, I couldn't start an xterm. The following error was reported: /usr/libexec/ld-elf.so.1: Shared object "libtermcap.so.2" not found Well, not the correct fix, but to get around the problem I did the following: cd /usr/lib ln -s libncurses.so libtermcap.so.2 A system from just before the ncurses work shows the following: $ uname -a FreeBSD looney.unx.sas.com 4.0-19990827-SNAP FreeBSD 4.0-19990827-SNAP #0: Thu Sep 2 10:38:29 EDT 1999 [EMAIL PROTECTED]:/usr/src/sys/compile/LOONEY i386 $ cd /usr/lib $ ls -al libtermcap* -r--r--r-- 2 root wheel 19126 Aug 27 07:14 libtermcap.a lrwxrwxrwx 1 root wheel 15 Aug 27 10:17 libtermcap.so - libtermcap.so.2 -r--r--r-- 1 root wheel 14344 Aug 27 07:14 libtermcap.so.2 -r--r--r-- 2 root wheel 20356 Aug 27 07:14 libtermcap_p.a So, we may want to add the extra symlink as a default. thanks, John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: -current buildworld
Is it possible that it isnt working because its not in /usr/src, but in /usr/src2/src? No. I would check and see if you have /usr/local/bin/gcc or any other "gcc" named compilers anywhere. Also cd /usr/src (for convience make it a sym link to /usr/src2/src) make cleandir make cleandir -- -- David([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
newpcm and rvplayer
Hello- This is a second try at this. I updating my kernel to current as of September 12 1999 and have been consistently able to panic my machine when attempting to use real audio (rvplayer5 under linux compatibility) The panic is in feeder.c of the newpcm device with $FreeBSD: src/sys/dev/pcm/feeder.c,v 1.3 1999/09/04 17:08:30 cg Exp$ The hardware is a Crystal CS4236B: pcm0: CS4236B at port 0x530-0x533,0x388-0x38b,0x220-0x22f irq 5 drq 0,1 on isa0 Error message is: panic: feed_root: count == 0 Bactrace: (kgdb) bt #0 boot (howto=260) at ../../kern/kern_shutdown.c:281 #1 0xc013008d in panic (fmt=0xc01ea614 "from debugger") at ../../kern/kern_shutdown.c:531 #2 0xc01194c5 in db_panic (addr=-1071896353, have_addr=0, count=-1, modif=0xc7cdbc3c "") at ../../ddb/db_command.c:433 #3 0xc0119465 in db_command (last_cmdp=0xc020fae8, cmd_table=0xc020f948, aux_cmd_tablep=0xc02288d4) at ../../ddb/db_command.c:333 #4 0xc011952a in db_command_loop () at ../../ddb/db_command.c:455 #5 0xc011b5af in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71 #6 0xc01c269c in kdb_trap (type=3, code=0, regs=0xc7cdbd30) at ../../i386/i386/db_interface.c:157 #7 0xc01cda58 in trap (frame={tf_fs = -1060569072, tf_es = 16, tf_ds = -1061158896, tf_edi = -942817540, tf_esi = 256, tf_ebp = -942817928, tf_isp = -942817956, tf_ebx = -1071659632, tf_edx = -1071635441, tf_ecx = 0, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1071896353, tf_cs = 8, tf_eflags = 598, tf_esp = -1071635457, tf_ss = -1071721021}) at ../../i386/i386/trap.c:534 #8 0xc01c28df in Debugger (msg=0xc01ed5c3 "panic") at machine/cpufunc.h:64 #9 0xc0130084 in panic (fmt=0xc01fc590 "feed_root: count == 0") at ../../kern/kern_shutdown.c:529 #10 0xc01a9501 in feed_root (feeder=0xc021d600, buffer=0xc6d34efe "\025\r", count=0, stream=0xc7cdbefc) at ../../dev/pcm/feeder.c:112 #11 0xc01a8afc in chn_write (c=0xc0a4da00, buf=0xc7cdbefc) at ../../dev/pcm/channel.c:286 #12 0xc01a7bec in dsp_write (d=0xc0682400, chan=0, buf=0xc7cdbefc, flag=17) at ../../dev/pcm/dsp.c:187 #13 0xc01a7099 in sndwrite (i_dev=0xc0b6f100, buf=0xc7cdbefc, flag=17) at ../../dev/pcm/sound.c:310 #14 0xc0163ca4 in spec_write (ap=0xc7cdbeb4) at ../../miscfs/specfs/spec_vnops.c:369 #15 0xc0195d3c in ufsspec_write (ap=0xc7cdbeb4) at ../../ufs/ufs/ufs_vnops.c:1858 #16 0xc0196251 in ufs_vnoperatespec (ap=0xc7cdbeb4) at ../../ufs/ufs/ufs_vnops.c:2313 #17 0xc015df1e in vn_write (fp=0xc0c91100, uio=0xc7cdbefc, cred=0xc0c04e00, flags=0) at vnode_if.h:331 #18 0xc013ccd0 in dofilewrite (p=0xc74e4b80, fp=0xc0c91100, fd=6, buf=0x81d78c8, nbyte=132, offset=-1, flags=0) at ../../kern/sys_generic.c:363 #19 0xc013cbdf in write (p=0xc74e4b80, uap=0xc7cdbf80) at ../../kern/sys_generic.c:298 #20 0xc01ce26a in syscall (frame={tf_fs = 135921711, tf_es = -1078001617, tf_ds = -1078001617, tf_edi = 135922760, tf_esi = -1077947048, tf_ebp = -1077947152, tf_isp = -942817324, tf_ebx = 6, tf_edx = 132, tf_ecx = 136149192, tf_eax = 4, tf_trapno = 22, tf_err = 2, tf_eip = 674069812, tf_cs = 31, tf_eflags = 582, tf_esp = -1077947156, tf_ss = 47}) at ../../i386/i386/trap.c:1056 #21 0xc01c2f96 in Xint0x80_syscall () #22 0x80f3b44 in ?? () #23 0x80f2e40 in ?? () #24 0x80ef1cd in ?? () #25 0x80d79f0 in ?? () #26 0x80d7709 in ?? () #27 0x80d5f5c in ?? () #28 0x80cbf2d in ?? () #29 0x80cafb7 in ?? () #30 0x807ee36 in ?? () #31 0x807d230 in ?? () #32 0x8094ccd in ?? () #33 0x80797b4 in ?? () #34 0x8076fb8 in ?? () #35 0x8076abb in ?? () (kgdb) -- --- Sean O'ConnellEmail: [EMAIL PROTECTED] Institute of Statistics and Decision Sciences Phone: (919) 684-5419 Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message