Re: options COMPAT_LINUX makes kernel fail to compile
Hello, Not that this is an actual fix to the problem, but: The COMPAT_LINUX kernel option isn't needed any more, per Marcel. (At least, when I wrote an article on this, it wasn't.) You can probably remove COMPAT_LINUX entirely. (If only the rest of the problems were this easy. :) ==ml Hi! With option COMPAT_LINUX (which present in LINT) make depend fails with: cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -fno-builtin -mpreferred-stack-boundary=2 -UKERNEL -o linux_genassym.o -c ../../i386/linux/linux_genassym.c genassym -o linux_assym.h linux_genassym.o genassym:No such file or directory *** Error code 1 Dmitry. 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: options COMPAT_LINUX makes kernel fail to compile
Well, just make sure that you load the linux compatibility kernel module though. = | Kenneth Culver | FreeBSD: The best OS around.| | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: AgRSkaterq | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| = On Wed, 5 Jan 2000, Michael Lucas wrote: Hello, Not that this is an actual fix to the problem, but: The COMPAT_LINUX kernel option isn't needed any more, per Marcel. (At least, when I wrote an article on this, it wasn't.) You can probably remove COMPAT_LINUX entirely. (If only the rest of the problems were this easy. :) ==ml Hi! With option COMPAT_LINUX (which present in LINT) make depend fails with: cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -fno-builtin -mpreferred-stack-boundary=2 -UKERNEL -o linux_genassym.o -c ../../i386/linux/linux_genassym.c genassym -o linux_assym.h linux_genassym.o genassym:No such file or directory *** Error code 1 Dmitry. 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 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: options COMPAT_LINUX makes kernel fail to compile
David Scheidt wrote: On Wed, 5 Jan 2000, Michael Lucas wrote: Hello, Not that this is an actual fix to the problem, but: The COMPAT_LINUX kernel option isn't needed any more, per Marcel. (At least, when I wrote an article on this, it wasn't.) You can probably remove COMPAT_LINUX entirely. I use COMPAT_LINUX because I make kernels more frequently then I make world or modules. I get fewer panics that way. David Scheidt You should definately use a static kernel without modules if you are tracking -current and rebuilding regularly. It is too easy to shoot yourself in the foot by getting /modules and the kernel out of sync while the internal interfaces are still changing. Using kld's to develop drivers is different. Cheers, -Peter To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: options COMPAT_LINUX makes kernel fail to compile
Should it be described in /usr/src/UPDATING ? On Tue, 4 Jan 2000, Matthew Dillon wrote: Date: Tue, 4 Jan 2000 14:38:45 -0800 (PST) From: Matthew Dillon [EMAIL PROTECTED] To: Dmitry Valdov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: options COMPAT_LINUX makes kernel fail to compile :Hi! : :With option COMPAT_LINUX (which present in LINT) make depend fails with: :cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes :-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual :-fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include :-D_KERNEL -include opt_global.h -elf -fno-builtin :-mpreferred-stack-boundary=2 -UKERNEL -o linux_genassym.o -c :../../i386/linux/linux_genassym.c :genassym -o linux_assym.h linux_genassym.o :genassym:No such file or directory :*** Error code 1 : :Dmitry. genassym is now in /usr/src/usr.bin/genassym, compile and install that then try your make again. The one in the local compile directory is still being used for other things (and not compatible with the one in /usr/src/usr.bin/ ) -Matt Matthew Dillon [EMAIL PROTECTED] 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