Re: /usr/src/usr.sbin/pcvt/kcon
David O'Brien wrote: On Wed, May 22, 2002 at 12:37:57AM +0200, John Angelmo wrote: su-2.05a# make cc -O -pipe -march=pentiumpro -I/usr/src/usr.sbin/pcvt/kcon/../keycap -DKEYB_DEVICE=\/dev/ttyv0\ -o kcon kcon.o -lkeycap /usr/libexec/elf/ld: cannot find -lkeycap collect2: ld returned 1 exit status *** Error code 1 It would be nice to see a `cd' or `pwd' here so we can fully know what you are doing. I will assume you are in the /usr/src/usr.sbin/pcvt directory before you typed `make'. Warning, you cannot build all things in /usr/src in isolation. However you should have a /usr/lib/libkeycap.a, which would allow you to build this. You really need tell us more about what you are doing, and what your system is (`uname -a'). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message Ah sorry I thought it was so clear that it was /usr/src/usr.sbin/pcvt/kcon :) Well there it broke when I did make world so I went there trying to isolate stuff /usr/lib/libkeycap is there FreeBSD Amnesiac 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue May 21 19:37:38 CEST 2002 root@Amnesiac:/usr/obj/usr/src/sys/Linn i386 Well here is the thing, I just updated before gcc 3.1, everything worked fine, last night I felt like gcc 3.1 was ready for my system, So I did: make buildworld make buildkernel KERNCONF=Linn make installkernel KERNCONF=Linn mergemaster -v drop to single make installworld well no biggie there, but after reboot I got a strange dmesg (need to reboot to get it again) so I found out that not everything was build in /usr/src/usr.sbin and some other stuff. Right now I'm trying to do a new make buildworld and hope it works this time. and that my wi0 card will work one again :) /John To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
/usr/src/usr.sbin/pcvt/kcon
su-2.05a# make cc -O -pipe -march=pentiumpro -I/usr/src/usr.sbin/pcvt/kcon/../keycap -DKEYB_DEVICE=\/dev/ttyv0\ -o kcon kcon.o -lkeycap /usr/libexec/elf/ld: cannot find -lkeycap collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/src/usr.sbin/pcvt/kcon. Source updated about 23:00 and updated ld just to be sure in /usr/src/gnu/usr.bin/cc/collect2/ su-2.05a# make Warning: Object directory not changed from original /usr/src/gnu/usr.bin/cc/coll ect2 cc -O -pipe -march=pentiumpro -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr\ -I/usr/ src/gnu/usr.bin/cc/collect2/../cc_tools -I/usr/src/gnu/usr.bin/cc/collect2/../cc _tools -I/usr/src/gnu/usr.bin/cc/collect2/../../../../contrib/gcc -I/usr/src/gnu /usr.bin/cc/collect2/../../../../contrib/gcc/config-c /usr/src/gnu/usr.bin/c c/collect2/../../../../contrib/gcc/collect2.c /usr/src/contrib/gcc/collect2.c:29:20: config.h: No such file or directory In file included from /usr/src/contrib/gcc/collect2.c:30: /usr/src/contrib/gcc/system.h:110:24: safe-ctype.h: No such file or directory In file included from /usr/src/contrib/gcc/collect2.c:30: /usr/src/contrib/gcc/system.h:331: syntax error before PARAMS In file included from /usr/src/contrib/gcc/collect2.c:57: /usr/src/contrib/gcc/obstack.h:157:40: attempt to use poisoned bcopy /usr/src/contrib/gcc/collect2.c: In function `find_a_file': /usr/src/contrib/gcc/collect2.c:683: storage size of `st' isn't known /usr/src/contrib/gcc/collect2.c:689: `S_IFMT' undeclared (first use in this func tion) /usr/src/contrib/gcc/collect2.c:689: (Each undeclared identifier is reported onl y once /usr/src/contrib/gcc/collect2.c:689: for each function it appears in.) /usr/src/contrib/gcc/collect2.c:689: `S_IFDIR' undeclared (first use in this fun ction) /usr/src/contrib/gcc/collect2.c: In function `prefix_from_env': /usr/src/contrib/gcc/collect2.c:756: warning: assignment makes pointer from inte ger without a cast /usr/src/contrib/gcc/collect2.c: In function `main': /usr/src/contrib/gcc/collect2.c:919: `free' undeclared (first use in this functi on) /usr/src/contrib/gcc/collect2.c:924: warning: assignment makes pointer from inte ger without a cast /usr/src/contrib/gcc/collect2.c:1025: warning: assignment makes pointer from int eger without a cast /usr/src/contrib/gcc/collect2.c:1075: warning: assignment makes pointer from int eger without a cast /usr/src/contrib/gcc/collect2.c:1308: warning: assignment makes pointer from int eger without a cast /usr/src/contrib/gcc/collect2.c:1312: warning: assignment makes pointer from int eger without a cast /usr/src/contrib/gcc/collect2.c:1316: warning: assignment makes pointer from int eger without a cast /usr/src/contrib/gcc/collect2.c:1320: warning: assignment makes pointer from int eger without a cast /usr/src/contrib/gcc/collect2.c: In function `collect_execute': /usr/src/contrib/gcc/collect2.c:1581: `O_TRUNC' undeclared (first use in this fu nction) /usr/src/contrib/gcc/collect2.c:1581: `O_CREAT' undeclared (first use in this fu nction) /usr/src/contrib/gcc/collect2.c: In function `add_to_list': /usr/src/contrib/gcc/collect2.c:1664: `free' used prior to declaration /usr/src/contrib/gcc/collect2.c: In function `write_c_file_stat': /usr/src/contrib/gcc/collect2.c:1882: `free' used prior to declaration *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/collect2. su-2.05a# /John To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: /usr/src/usr.sbin/pcvt/kcon
On Wed, May 22, 2002 at 12:37:57AM +0200, John Angelmo wrote: su-2.05a# make cc -O -pipe -march=pentiumpro -I/usr/src/usr.sbin/pcvt/kcon/../keycap -DKEYB_DEVICE=\/dev/ttyv0\ -o kcon kcon.o -lkeycap /usr/libexec/elf/ld: cannot find -lkeycap collect2: ld returned 1 exit status *** Error code 1 It would be nice to see a `cd' or `pwd' here so we can fully know what you are doing. I will assume you are in the /usr/src/usr.sbin/pcvt directory before you typed `make'. Warning, you cannot build all things in /usr/src in isolation. However you should have a /usr/lib/libkeycap.a, which would allow you to build this. You really need tell us more about what you are doing, and what your system is (`uname -a'). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message