From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EJypv-0004u9-R1 for user-mode-linux-devel@lists.sourceforge.net; Mon, 26 Sep 2005 12:40:27 -0700 Received: from zproxy.gmail.com ([64.233.162.199]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EJypt-0003RK-UR for user-mode-linux-devel@lists.sourceforge.net; Mon, 26 Sep 2005 12:40:27 -0700 Received: by zproxy.gmail.com with SMTP id i11so119160nzh for ; Mon, 26 Sep 2005 12:40:13 -0700 (PDT) Message-ID: <229e70f205092612406fa7ecc3@mail.gmail.com> From: Etay Meiri Reply-To: Etay Meiri Subject: Re: [uml-devel] 2.6.13.2 + gcc 4.01 link error In-Reply-To: <200509251727.00589.blaisorblade@yahoo.it> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19673_32141046.1127763613581" References: <229e70f2050924085215707921@mail.gmail.com> <200509251727.00589.blaisorblade@yahoo.it> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 26 Sep 2005 22:40:13 +0300 To: Blaisorblade Cc: user-mode-linux-devel@lists.sourceforge.net ------=_Part_19673_32141046.1127763613581 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/25/05, Blaisorblade wrote: > > > dnsdomainname: Unknown host > This error is not related to Uml at all and shouldn't give problems in > itself, > but why dnsdomainname doesn't work on your machine? You should probably > fix > that. Etay: looks like name resolving is not working ok on my machine. I'm gettin= g 'host not found' when running host on my machine name. The name is configured in /etc/hosts and 'files' is set first in nsswitch.conf. Looks like the resolver is bypassing the hosts file and goes directly to the DNS server of my ISP. Read my previous answer, however if you want the fix it's in 2.6.13-bs2 - > and > it was already in 2.6.14 current Linus tree. Etay: I updated my kernel tree using: git pull rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git (is that the correct way to pull Linus tree?) and got the following errors on compilation: [cl@amber linux-2.6]$ ARCH=3Dum make make[1]: `arch/um/sys-i386/util/mk_sc' is up to date. CHK arch/um/include/uml-config.h UPD arch/um/include/uml-config.h CHK include/linux/version.h UPD include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -g -fprofile-arcs -ftest-coverage -D__arch_um__ -DSUBARCH=3D\"i386\" -Iarch/um/include -I/home/cl/kernel/linux-2.6/arch/um/kernel/tt/include -I/home/cl/kernel/linux-2.6/arch/um/kernel/skas/include -Dvmap=3Dkernel_vma= p -Din6addr_loopback=3Dkernel_in6addr_loopback -Derrno=3Dkernel_errno -Dsigprocmask=3Dkernel_sigprocmask -fno-unit-at-a-time -U__i386__ -Ui386 -D_LARGEFILE64_SOURCE -Wdeclaration-after-statement -Wno-pointer-sign -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.1/include -D__KERNEL_= _ -Iinclude -S -o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offsets.c In file included from include/asm/thread_info.h:17, from include/linux/thread_info.h:21, from include/linux/spinlock.h:53, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/um/sys-i386/kernel-offsets.c:3: include/asm/processor.h:69: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) include/asm/processor.h:69: error: requested alignment is not a constant In file included from include/linux/sched.h:12, from arch/um/sys-i386/kernel-offsets.c:3: include/linux/jiffies.h:27:5: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:29:7: warning: "CONFIG_HZ" is not defined Thanks a lot for your help, -Etay -- > Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". > Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ > 215621894) > http://www.user-mode-linux.org/~blaisorblade > > > ___________________________________ > Yahoo! Messenger: chiamate gratuite in tutto il mondo > http://it.messenger.yahoo.com > > -- ------------------------------------------------------ Etay Meiri etay.meiri@gmail.com ------=_Part_19673_32141046.1127763613581 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 9/25/05, Blaisorblade <blais= orblade@yahoo.it> wrote:
> dnsdomainname: Unknown host
This error is not related to Uml at all= and shouldn't give problems in itself,
but why dnsdomainname doesn't wo= rk on your machine? You should probably fix
that.

Etay: looks like name resolving is not working ok on my machine. I'm gettin= g 'host not
found' when running host on my machine name. The name is configured in /etc= /hosts
and 'files' is set first in nsswitch.conf. Looks like the resolver is bypas= sing the hosts file
and goes directly to the DNS server of my ISP.

 
Read = my previous answer, however if you want the fix it's in 2.6.13-bs2 - andit was already in=20 2.6.14 current Linus tree.

Etay: I updated my kernel tree using:

git pull rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torval= ds/linux-2.6.git

(is that the correct way to pull Linus tree?)

and got the following errors on compilation:

[cl@amber linux-2.6]$ ARCH=3Dum make
make[1]: `arch/um/sys-i386/util/mk_sc' is up to date.
  CHK     arch/um/include/uml-config.h
  UPD     arch/um/include/uml-config.h
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/* gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2     -fomit-frame-pointer -g -fprofile-arcs -ftest-coverage -D__arch_um__ -DSUBARCH=3D\"i386\" -Iarch/um/include  -I/home/cl/kernel/linux-2.6/arch/um/kernel/tt/include  -I/home/cl/kernel/linux-2.6/arch/um/kernel/skas/include -Dvmap=3Dkernel_vmap -Din6addr_loopback=3Dkernel_in6addr_loopback -Derrno=3Dkernel_errno -Dsigprocmask=3Dkernel_sigprocmask -fno-unit-at-a-time -U__i386__ -Ui386 -D_LARGEFILE64_SOURCE -Wdeclaration-after-statement -Wno-pointer-sign  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.1/include -D__KERNEL__ -Iinclude  -S -o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offsets.c
In file included from include/asm/thread_info.h:17,
            &nb= sp;    from include/linux/thread_info.h:21,
            &nb= sp;    from include/linux/spinlock.h:53,
            &nb= sp;    from include/linux/capability.h:45,
            &nb= sp;    from include/linux/sched.h:7,
            &nb= sp;    from arch/um/sys-i386/kernel-offsets.c:3:
include/asm/processor.h:69: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared h= ere (not in a function)
include/asm/processor.h:69: error: requested alignment is not a constant In file included from include/linux/sched.h:12,
            &nb= sp;    from arch/um/sys-i386/kernel-offsets.c:3:
include/linux/jiffies.h:27:5: warning: "CONFIG_HZ" is not defined=
include/linux/jiffies.h:29:7: warning: "CONFIG_HZ" is not defined=

Thanks a lot for your help,

-Etay
 

-= -
Inform me of my mistakes, so I can keep imitating Homer Simpson's &quo= t;Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso",= ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


______________= _____________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo
http://it.messenger.yahoo.com




--
-----------------------------= -------------------------
Etay Meiri
etay.meiri@gmail.= com ------=_Part_19673_32141046.1127763613581-- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel