From owner-freebsd-current@FreeBSD.ORG Mon Sep 16 23:07:30 2013 Return-Path: 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 376CBC59 for ; Mon, 16 Sep 2013 23:07:30 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F01CC26C3 for ; Mon, 16 Sep 2013 23:07:29 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r8GN7SPn082652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Sep 2013 16:07:29 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r8GN7S26082651; Mon, 16 Sep 2013 16:07:28 -0700 (PDT) (envelope-from jmg) Date: Mon, 16 Sep 2013 16:07:28 -0700 From: John-Mark Gurney To: Nilton Jose Rizzo Subject: Re: problems with libiconv into kernel Message-ID: <20130916230728.GF68682@funkthat.com> Mail-Followup-To: Nilton Jose Rizzo , freebsd-current@freebsd.org References: <20130915161341.M51733@i805.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130915161341.M51733@i805.com.br> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Mon, 16 Sep 2013 16:07:29 -0700 (PDT) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Sep 2013 23:07:30 -0000 Nilton Jose Rizzo wrote this message on Sun, Sep 15, 2013 at 13:14 -0300: > Last night, I has tried to put in my kernel config the libiconv with this > knobs from LINT: > > options CD9660_ICONV > options MSDOSFS_ICONV > options UDF_ICONV > options LIBICONV > > but this results int this error: > > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I../../.. > -I../../../contrib/altq -I../../../contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer > -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone > -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > -fstack-protector -Werror ../../../libkern/iconv.c > ../../../libkern/iconv.c:39:10: fatal error: 'iconv_converter_if.h' file not > found > #include "iconv_converter_if.h" > ^ > 1 error generated. > *** Error code 1 > > Stop. > make: stopped in /usr/src/sys/amd64/compile/VALFENDA > > What am I doing wrong? My svn version is 255531 How are you building your kernel? are you using config and make or are you using buildkernel? If you are using config and make, did you run: make cleandepend && make depend first before make like said? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."