Date: Sat, 27 Jul 2013 18:47:56 -0700 (PDT) From: gahn <ipfreak@yahoo.com> To: Freddie Cash <fjwcash@gmail.com> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: compilation Message-ID: <1374976076.26859.YahooMailNeo@web122306.mail.ne1.yahoo.com> In-Reply-To: <CAOjFWZ7EYxt6Uk-j1mOn47Gc7QBsK09j_qwbd=JzDPSMK%2BdSwA@mail.gmail.com> References: <1374973084.89271.YahooMailNeo@web122306.mail.ne1.yahoo.com> <CAOjFWZ7EYxt6Uk-j1mOn47Gc7QBsK09j_qwbd=JzDPSMK%2BdSwA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
thank freddie! ________________________________ From: Freddie Cash <fjwcash@gmail.com> To: gahn <ipfreak@yahoo.com> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Sent: Saturday, July 27, 2013 9:23 PM Subject: Re: compilation umass requires SCSI support. Bert you removed scbus, da, and similar. On 2013-07-27 6:00 PM, "gahn" <ipfreak@yahoo.com> wrote: hi all: > >need your experts' opinions, i tried to compile customized kernel for 8.3 but failed miserably: > >linking kernel.debug >dcons_crom.o(.text+0x388): In function `dcons_crom_post_busreset': >/usr/src/sys/dev/dcons/dcons_crom.c:145: undefined reference to `crom_add_chunk' >dcons_crom.o(.text+0x3a0):/usr/src/sys/dev/dcons/dcons_crom.c:146: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x3be):/usr/src/sys/dev/dcons/dcons_crom.c:147: undefined reference to `crom_add_simple_text' >dcons_crom.o(.text+0x3d6):/usr/src/sys/dev/dcons/dcons_crom.c:148: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x3f7):/usr/src/sys/dev/dcons/dcons_crom.c:149: undefined reference to `crom_add_simple_text' >dcons_crom.o(.text+0x412):/usr/src/sys/dev/dcons/dcons_crom.c:150: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x430):/usr/src/sys/dev/dcons/dcons_crom.c:151: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x467):/usr/src/sys/dev/dcons/dcons_crom.c:128: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x485):/usr/src/sys/dev/dcons/dcons_crom.c:129: undefined reference to `crom_add_entry' >umass.o(.text+0xf9): In function `umass_detach': >/usr/src/sys/dev/usb/storage/umass.c:2180: undefined reference to `xpt_bus_deregister' >umass.o(.text+0x120):/usr/src/sys/dev/usb/storage/umass.c:2183: undefined reference to `cam_sim_free' >umass.o(.text+0xcfd): In function `umass_std_transform': >/usr/src/sys/dev/usb/storage/umass.c:3018: undefined reference to `xpt_done' >umass.o(.text+0xd1c):/usr/src/sys/dev/usb/storage/umass.c:3022: undefined reference to `xpt_done' >umass.o(.text+0xd8a): In function `umass_cam_quirk_cb': >/usr/src/sys/dev/usb/storage/umass.c:2733: undefined reference to `xpt_done' >umass.o(.text+0xe13): In function `umass_command_start': >/usr/src/sys/dev/usb/storage/umass.c:1611: undefined reference to `xpt_done' >umass.o(.text+0xf48): In function `umass_cam_sense_cb': >/usr/src/sys/dev/usb/storage/umass.c:2707: undefined reference to `xpt_done' >umass.o(.text+0xf92):/usr/src/sys/dev/usb/storage/umass.c:2714: more undefined references to `xpt_done' follow >umass.o(.text+0x245e): In function `umass_cam_action': >/usr/src/sys/dev/usb/storage/umass.c:2497: undefined reference to `cam_calc_geometry' >umass.o(.text+0x2466):/usr/src/sys/dev/usb/storage/umass.c:2498: undefined reference to `xpt_done' >umass.o(.text+0x24d2):/usr/src/sys/dev/usb/storage/umass.c:2508: undefined reference to `xpt_done' >umass.o(.text+0x2556):/usr/src/sys/dev/usb/storage/umass.c:2518: undefined reference to `xpt_done' >umass.o(.text+0x2d86): In function `umass_attach': >/usr/src/sys/dev/usb/storage/umass.c:2115: undefined reference to `cam_simq_alloc' >umass.o(.text+0x2dd5):/usr/src/sys/dev/usb/storage/umass.c:2119: undefined reference to `cam_sim_alloc' >umass.o(.text+0x2de7):/usr/src/sys/dev/usb/storage/umass.c:2132: undefined reference to `cam_simq_free' >umass.o(.text+0x2e4c):/usr/src/sys/dev/usb/storage/umass.c:2141: undefined reference to `xpt_bus_register' >*** Error code 1 > >Stop in /usr/obj/usr/src/sys/giraffe. >*** Error code 1 > >Stop in /usr/src. >*** Error code 1 > >Stop in /usr/src. > > > >any help would be greatly appreciated. > >_dave >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Sun Jul 28 07:08:56 2013 Return-Path: <owner-freebsd-current@FreeBSD.ORG> Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8836A9B0; Sun, 28 Jul 2013 07:08:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5940F2342; Sun, 28 Jul 2013 07:08:56 +0000 (UTC) Received: from delphij-macbook.local (c-67-188-85-47.hsd1.ca.comcast.net [67.188.85.47]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id CF08F16886; Sun, 28 Jul 2013 00:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1374995335; bh=oMYmt2kc/gJg2wLk/kexOXGc4kV+TZ91TUQYWok4EHo=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=g9z1h5Qx3XVRepSZsj5kVOcpd9K4FFa2fCo27k57Ey++RmjQfmb5apO/TIkg6/C4b mbYQa1qXRX0GFr5tirb2kxjJ0n6oWwo0nzQCGkU1WfLwcQox/xVqIqqOX9J8e4Szgo KjIPX9sEvQgPVMbfFGatSSNiNUNE4lg0gelDp7gI= Message-ID: <51F4C388.3010800@delphij.net> Date: Sun, 28 Jul 2013 00:08:56 -0700 From: Xin Li <delphij@delphij.net> Organization: The FreeBSD Project MIME-Version: 1.0 To: Pedro Giffuni <pfg@FreeBSD.org> Subject: Re: [Heads up] BSD-licensed patch becoming the default RSN. References: <51F2E627.9090907@FreeBSD.org> <1V2ssp-000Nrk-Q8@internal.tormail.org> <51F3E261.9090903@FreeBSD.org> In-Reply-To: <51F3E261.9090903@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current <freebsd-current@freebsd.org>, Jan Beich <jbeich@tormail.org> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 28 Jul 2013 07:08:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 7/27/13 8:08 AM, Pedro Giffuni wrote: > OK; On further revision ... > > On 26.07.2013 20:01, Jan Beich wrote: >> bsdpatch doesn't list files of the failed hunks with -C and -s >> option. This may be less convenient if you edit a patch directly >> rather than regen it after polluting the tree. >> >> $ patch -CEfsp0 -i /path/to/varsym.diff 1 out of 1 hunks failed 1 >> out of 2 hunks failed 2 out of 2 hunks failed 1 out of 5 hunks >> failed 1 out of 1 hunks failed 1 out of 1 hunks failed 1 out of 1 >> hunks failed zsh: exit 1 >> >> $ gnupatch -CEfsp0 -i /path/to/varsym.diff 1 out of 1 hunks >> failed--saving rejects to contrib/openbsm/etc/audit_event.rej 1 >> out of 2 hunks failed--saving rejects to >> lib/libc/sys/Makefile.inc.rej 2 out of 2 hunks failed--saving >> rejects to sys/security/audit/audit_private.h.rej 1 out of 5 >> hunks failed--saving rejects to sys/security/audit/audit.h.rej 1 >> out of 1 hunks failed--saving rejects to >> sys/bsm/audit_kevents.h.rej 1 out of 1 hunks failed--saving >> rejects to sys/kern/syscalls.master.rej 1 out of 1 hunks >> failed--saving rejects to sys/sys/priv.h.rej zsh: exit 8 > The change came from OpenBSD, which took it from DragonFlyBSD: > > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/patch.c.diff?r1=1.49;r2=1.50 > > > > It was merged as part of some OpenBSD syncing in patch.c > http://svnweb.freebsd.org/base?view=revision&revision=246091 Ah, thanks for the detective work. I think the showing the filename would be more reasonable. How about this? Sample output: [delphij@zeta] /usr/src/usr.bin/patch> patch -RCfs < 1.diff 1 out of 1 hunks failed while patching patch.c [delphij@zeta] /usr/src> svn diff -x -p usr.bin/patch/ Index: usr.bin/patch/patch.c =================================================================== - --- usr.bin/patch/patch.c (revision 253736) +++ usr.bin/patch/patch.c (working copy) @@ -406,8 +406,8 @@ main(int argc, char *argv[]) say("%d out of %d hunks %s--saving rejects to %s\n", failed, hunk, skip_rest_of_patch ? "ignored" : "failed", rejname); else - - say("%d out of %d hunks %s\n", - - failed, hunk, skip_rest_of_patch ? "ignored" : "failed"); + say("%d out of %d hunks %s while patching %s\n", + failed, hunk, skip_rest_of_patch ? "ignored" : "failed", filearg[0]); if (!check_only && move_file(TMPREJNAME, rejname) < 0) trejkeep = true; } Cheers, -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJR9MOIAAoJEG80Jeu8UPuzBu8H/AnbhUFoCDI5WNqXzYNi6is3 t989x+Tg01rI1hWimvWnZOWXVVosIP8JZfFydPhd1FHGZ2mxlB8kCpxAO33fhGkO 90v07+qNpA8fIzxNUtb7fbrzEpILRJ2TxzVEeIRHJ3rNzTFIOpJoII+wNSukD3om Jl3x2OXv0UL1dCyIgvi7MtpwwllpK9mBuZhjQRQjKzh9k9TYW6n5dLsMIoFfvp4s syXqxAWNdR+couvE8Q1ia9jKi6veE6UP2U6FT43GHTYym8srzWOj0dAXNjyrWqBr EVIw4oKS9tPv4OAaDVjYhQJwtBdtmbCW3HVQ1OJ+GvH3IK1JlPzVYmIdQt2SAnQ= =bU/M -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1374976076.26859.YahooMailNeo>