Re: Error :Code 1
mohd hilmi mohd salleh wrote: I try to build and install custom kernel.However when i write this command, make buildkernel KERNCONF=MYKERNEL I got this error: ERROR:Missing kernel configuration file(s) (MYKERNEL) Error code 1 Stop in /usr/src Error code 1 Stop in /usr/src Can somebody help me! Thanks, -Hilmi Let me guess, you have been reading the Handbook and taken the instructions *too* literally ;) MYKERNEL is your kernel configuration file, and you should create it yourself by hand, before running the command. You can start with a copy of GENERIC. Better to keep it in your own folder rather than /usr/src/sys/i386/conf. (I assume you use the i386 version) Example (as root): cd /usr/src/sys/i386/conf cp GENERIC /root/MYKERNEL ln -s /root/MYKERNEL . Now edit /root/MYKERNEL and make any changes you wish. Then run your make command. (Note: Typically, you will name it after the machine's hostname rather than MYKERNEL) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error :Code 1
On Sun, 7 Sep 2008 22:14:38 -0700 (PDT) mohd hilmi mohd salleh <[EMAIL PROTECTED]> wrote: > I try to build and install custom kernel.However when i write this command, > > make buildkernel KERNCONF=MYKERNEL > > I got this error: > > ERROR:Missing kernel configuration file(s) (MYKERNEL) > Error code 1 Your kernel configuration file is missing or has another name. Read: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 pgpS9VJIaglq7.pgp Description: PGP signature
RE: Error :Code 1
>I try to build and install custom kernel.However when i write this command, > make buildkernel KERNCONF=MYKERNEL >I got this error: >ERROR:Missing kernel configuration file(s) (MYKERNEL) >Error code 1 >Stop in /usr/src >Error code 1 >Stop in /usr/src >Can somebody help me! >Thanks, >-Hilmi You need to create a kernel config file and give it a name like MYKERNEL Place this file in /usr/src/sys/i386/conf/ If you use amd64 then it needs to go in /usr/src/sys/amd64/conf/ If you named that file KRNL then the command needs to be: make buildkernel KERNCONF=KRNL regards Johan No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.19/1659 - Release Date: 8-9-2008 7:01 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error :Code 1
On Sun, 7 Sep 2008 22:14:38 -0700 (PDT), mohd hilmi mohd salleh <[EMAIL PROTECTED]> wrote: > I try to build and install custom kernel.However when i write this command, > > make buildkernel KERNCONF=MYKERNEL > > I got this error: > > ERROR:Missing kernel configuration file(s) (MYKERNEL) > Error code 1 > > Stop in /usr/src > Error code 1 > > Stop in /usr/src > > Can somebody help me! Check if your kernel configuration file is named "MYKERNEL" and is located in /usr/src/sys/i386/conf (in case you're using x86). You may have chosen another name? Pay attention to case sensitivity, MyKerNel != MYKERNEL. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error code 1 upon building-installing kernel FreeBSD 7.0
Indiana Jones wrote: Hi, If anybody could help, I'd be most grateful. I have been getting this error message during buildinfg and installing a custom kernel on FreeBSD 7.0, after make depend command! options INET # InterNETworking #options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling As I discovered myself upon building my first 7.0 kernel, if you remove options INET6 you should also remove the line following it: options SCTP ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error code 1 upon building-installing kernel FreeBSD 7.0
On Thu, March 20, 2008 15:06, Indiana Jones wrote: > Hi, > > If anybody could help, I'd be most grateful. > I have been getting this error message during buildinfg and > installing a custom kernel on FreeBSD 7.0, after make depend command! SCTP requires options INET6 to be set in kernel conf. Either remove SCTP or add INET6 Cheers Patrick > > linking kernel.debug > uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg': > ../../../kern/uipc_syscalls.c:2608: undefined reference to > `sctp_sorecvmsg' > uipc_syscalls.o(.text+0x21a2): In function > `sctp_generic_sendmsg_iov': > ../../../kern/uipc_syscalls.c:2486: undefined reference to > `sctp_lower_sosend' > uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg': > ../../../kern/uipc_syscalls.c:2379: undefined reference to > `sctp_lower_sosend' > uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff': > ../../../kern/uipc_syscalls.c:2246: undefined reference to > `sctp_can_peel_off' > uipc_syscalls.o(.text+0x28e6):../../../kern/uipc_syscalls.c:2287: > undefined reference to `sctp_do_peeloff' > rtsock.o(.text+0xb7d): In function `rt_newaddrmsg': > ../../../net/rtsock.c:897: undefined reference to `sctp_addr_change' > in_proto.o(.data+0xa8): undefined reference to `sctp_input' > in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' > in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' > in_proto.o(.data+0xbc): undefined reference to `sctp_init' > in_proto.o(.data+0xc8): undefined reference to `sctp_drain' > in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' > in_proto.o(.data+0xdc): undefined reference to `sctp_input' > in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' > in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' > in_proto.o(.data+0xfc): undefined reference to `sctp_drain' > in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' > in_proto.o(.data+0x110): undefined reference to `sctp_input' > in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' > in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' > in_proto.o(.data+0x130): undefined reference to `sctp_drain' > in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' > > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/WWW. > WWW# > > My Config file is as follows: > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 > # > # For more information on this file, please read the handbook section > on > # Kernel Configuration Files: > # > # > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > > # > # The handbook is also available locally in /usr/share/doc/handbook > # if you've installed the doc distribution, otherwise always see the > # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > # latest information. > # > # An exhaustive list of options and more detailed explanations of the > > # device lines is also present in the ../../conf/NOTES and NOTES > files. > # If you are in doubt as to the purpose or necessity of a line, check > first > # in NOTES. > # > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 > 03:24:28 scottl Exp $ > > #cpu I486_CPU > #cpu I586_CPU > cpu I686_CPU > ident WWW > > # To statically compile in device wiring instead of > /boot/device.hints > #hints "GENERIC.hints" # Default places to look for devices. > > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > > options SCHED_4BSD # 4BSD scheduler > options PREEMPTION # Enable kernel thread preemption > options INET # InterNETworking > #options INET6 # IPv6 communications protocols > options SCTP # Stream Control Transmission Protocol > options FFS # Berkeley Fast Filesystem > options SOFTUPDATES # Enable FFS soft updates support > options UFS_ACL # Support for access control lists > options UFS_DIRHASH # Improve performance on big directories > options UFS_GJOURNAL # Enable gjournal-based UFS journaling > options MD_ROOT # MD is a potential root device > #options NFSCLIENT # Network Filesystem Client > #options NFSSERVER # Network Filesystem Server > #options NFS_ROOT # NFS usable as /, requires NFSCLIENT > #options MSDOSFS # MSDOS Filesystem > options CD9660 # ISO 9660 Filesystem > options PROCFS # Process filesystem (requires PSEUDOFS) > options PSEUDOFS # Pseudo-filesystem framework > options GEOM_PART_GPT # GUID Partition Tables. > options GEOM_LABEL # Provides labelization > options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > options COMPAT_FREEBSD5 # Compatible with FreeBSD5 > options COMPAT_FREEBSD6 # Compatible with FreeBSD6 > #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI > options KTRACE # ktrace(1) support > options SYSVSHM # SYSV-style shared memory > options SYSVMSG # SYSV-style message queues > options SYSVSEM # SYSV-style semaphores > options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time > extensions > options KBD_INS
Re: Error code 1 on make installworld 6.0-Beta5
Yes, that's my case and I didn't know that's not supported... Well, I think I will reinstall now :) Thanks for the tip Sorry, I am resending to the list Kris Kennaway <[EMAIL PROTECTED]> wrote: On Fri, Nov 04, 2005 at 06:10:01PM -0800, Martin Tsanov wrote: > Hi all, > > I had 6.0-Beta5 installed on a Dell Dimension 4100. > Yesterday I decided to upgrade to the current source. > I cvsup-ed the source tree. > make buildworld > make buildkernel > make installkernel all run without errors > Then I shut down to single user mode > mergemaster -p > make installworld > Installation of the new world is running untill /usr.sbin/chown > Bellow I'm retyping the error messages: > > ===> usr.sbin/chown (install) > install -s -o root -g wheel -m 555 chown /usr/sbin > install -o root -g wheel -m 444 chgrp.1.gz /usr/share/man/man1 > install -o root -g wheel -m 444 chgrp.8.gz /usr/share/man/man8 > /usr/bin/chgrp -> /usr/sbin/chown > ln: /usr/bin/chgrp: Cross-device link > *** Error code 1 > > Stop in /usr/src/usr.sbin/chown. > *** Error code 1 > > Stop in /usr/src/usr.sbin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > I deleted /usr/obj, cvsup-ed again and repeated the whole procedure, > but I'm getting exactly the same result for the third time. > Help anyone?? Well, are your /usr/bin and /usr/sbin on different filesystems? That's not supported. Kris - Yahoo! FareChase - Search multiple travel sites in one click. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error code 1 on make installworld 6.0-Beta5
On Fri, Nov 04, 2005 at 06:10:01PM -0800, Martin Tsanov wrote: > Hi all, > > I had 6.0-Beta5 installed on a Dell Dimension 4100. > Yesterday I decided to upgrade to the current source. > I cvsup-ed the source tree. > make buildworld > make buildkernel > make installkernel all run without errors > Then I shut down to single user mode > mergemaster -p > make installworld > Installation of the new world is running untill /usr.sbin/chown > Bellow I'm retyping the error messages: > > ===> usr.sbin/chown (install) > install -s -o root -g wheel -m 555 chown /usr/sbin > install -o root -g wheel -m 444 chgrp.1.gz /usr/share/man/man1 > install -o root -g wheel -m 444 chgrp.8.gz /usr/share/man/man8 > /usr/bin/chgrp -> /usr/sbin/chown > ln: /usr/bin/chgrp: Cross-device link > *** Error code 1 > > Stop in /usr/src/usr.sbin/chown. > *** Error code 1 > > Stop in /usr/src/usr.sbin. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > I deleted /usr/obj, cvsup-ed again and repeated the whole procedure, > but I'm getting exactly the same result for the third time. > Help anyone?? Well, are your /usr/bin and /usr/sbin on different filesystems? That's not supported. Kris pgpSYCeWed82Y.pgp Description: PGP signature
Re: Error Code 1 building Sendmail. FreeBSD 5.4-p6
Mario Hoerich wrote: # Jordan Freeman: Here's the output. Any assistance would be apprecaited. make Warning: Object directory not changed from original /usr/src/usr.sbin/sendmail cc -O2 -pipe -march=pentium3 [...] -D_FFR_SMTP_SSL -I/usr/local/lib -o sendmail [...] /usr/bin/ld: cannot find -lsasl2 *** Error code 1 Looks like a typo. Changing that "-I/usr/local/lib" to "-L/usr/local/lib", so it's added to the library search path instead of the include search path, should do the trick. HTH Mario Thank you, Mario. That will tech me not to stay up so late o_O . I fall on my sword for a second time. Jordan Freeman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error Code 1 building Sendmail. FreeBSD 5.4-p6
# Jordan Freeman: > Here's the output. Any assistance would be apprecaited. > > make > Warning: Object directory not changed from original > /usr/src/usr.sbin/sendmail > cc -O2 -pipe -march=pentium3 [...] > -D_FFR_SMTP_SSL -I/usr/local/lib -o sendmail [...] > /usr/bin/ld: cannot find -lsasl2 > *** Error code 1 Looks like a typo. Changing that "-I/usr/local/lib" to "-L/usr/local/lib", so it's added to the library search path instead of the include search path, should do the trick. HTH Mario ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error code 1 in make depend (kernel)
On Thu, 2002-11-14 at 14:26, Tibor Selesi wrote: > Hello, > > I'm sending the last lines of the make depend command. It would be better if you send your kernel config file :) Also, information about your FreeBSD release would not be bad Regards, Sergey To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Error code 1 in make depend (kernel)
On Thursday 14 November 2002 14:26, Tibor Selesi wrote: > I have another question. My CDROM is not working with BSD. The model is > TEAC EA. When I enter the command: > mount /dev/acd0c /cdrom try mount -t cd9660 /dev/acd0c /cdrom To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: Error code 1 in make depend (kernel)
Hello, I wanted to compile my newly reconfigured kernel and the make command cannot finish. An error interrupts it. What is wrong? The best thing is that I can't make depend the GENERIC kernel either!!!??? Can you help me? What am I doing wrong? I'm sendig my kernel confguration. I'm looking forward to hearing from you. Thank you. Yours sincerely, Tibor Selesi -- Could be lots of things. Could be a memory issue, hardware problems, basic lack of space, etc etc. Send the error and send any logs. BTW, what were you trying to do to the kernel? Hard to see when you've only sent GENERIC. Send your custom kernel. ==charles pelletier To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Error code 1 in make depend (kernel)
> Hello, > I wanted to compile my newly reconfigured kernel and the make command cannot > finish. An error interrupts it. What is wrong? What is the error message? -- Matt Emmerton To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message