From nobody@FreeBSD.org Fri Jan 25 10:07:17 2002 Return-Path: Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C3B9E37B400 for ; Fri, 25 Jan 2002 10:07:16 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0PI7GJ82397; Fri, 25 Jan 2002 10:07:16 -0800 (PST) (envelope-from nobody) Message-Id: <200201251807.g0PI7GJ82397@freefall.freebsd.org> Date: Fri, 25 Jan 2002 10:07:16 -0800 (PST) From: Merijn Schenk To: freebsd-gnats-submit@FreeBSD.org Subject: make kernel 4.5-rc crashes on linux module X-Send-Pr-Version: www-1.0 >Number: 34272 >Category: kern >Synopsis: make kernel 4.5-rc crashes on linux module >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 25 10:10:01 PST 2002 >Closed-Date: Mon Jan 28 05:21:06 PST 2002 >Last-Modified: Mon Jan 28 05:28:02 PST 2002 >Originator: Merijn Schenk >Release: 4.5-rc >Organization: University of Amsterdam >Environment: FreeBSD ct-pc79.chem.uva.nl 4.5-RC FreeBSD 4.5-RC #17: Wed Jan 23 14:42:44 CET 2002 root@ct-pc79.chem.uva.nl:/usr/src/sys/compile/CTPC79 i386 >Description: after make world, make kernel crashes on linux module with : In file included from linux_sysent.c:14: linux_proto.h:57: syntax error before `linux_time_t' linux_proto.h:57: `linux_time_t' undeclared here (not in a function) linux_proto.h:57: syntax error before `)' linux_proto.h:57: `linux_time_t' undeclared here (not in a function) linux_proto.h:57: syntax error before `)' linux_proto.h:156: syntax error before `linux_handler_t' linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) linux_proto.h:156: `linux_handler_t' undeclared here (not in a function) and more of that kind >How-To-Repeat: is /sys/compile// make >Fix: >Release-Note: >Audit-Trail: From: Mike Makonnen To: Merijn Schenk Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/34272: make kernel 4.5-rc crashes on linux module Date: Fri, 25 Jan 2002 10:48:00 -0800 On Fri, 25 Jan 2002 10:07:16 -0800 (PST) Merijn Schenk wrote: > is /sys/compile// make The correct way to build and install a kernel is: % cd /usr/src % make kernel KERNCONF= For this kind of support issue you should ask freebsd-questions@FreeBSD.org instead of submitting a PR. cheers, mike makonnen From: Will Andrews To: Merijn Schenk Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/34272: make kernel 4.5-rc crashes on linux module Date: Fri, 25 Jan 2002 16:13:16 -0500 On Fri, Jan 25, 2002 at 10:07:16AM -0800, Merijn Schenk wrote: > >Synopsis: make kernel 4.5-rc crashes on linux module Just for future reference, "crash" is misleading here. You're actually referring to a build failure. "Crash" normally refers to when a machine encounters runtime code it can't handle and makes the machine unusable in a number of ways. -- wca State-Changed-From-To: open->closed State-Changed-By: sheldonh State-Changed-When: Mon Jan 28 05:21:06 PST 2002 State-Changed-Why: Please read the FreeBSD Handbook for instructions on building a kernel. Note in particular the requirement to make the 'depend' target. The instructions are available at: http://www.freebsd.org/doc/handbook/kernelconfig.html Please post further usage questions to the freebsd-questions mailing list. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34272 >Unformatted: