Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

problems compiling gentoo-dev-sources

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
motzl
n00b
n00b
Posts: 44
Joined: Thu Jan 22, 2004 1:53 pm

problems compiling gentoo-dev-sources

  • Quote

Post by motzl » Thu Jul 08, 2004 1:53 pm

. :D
hello

got an error during compilation and bzImage isnt there

Code: Select all

 make: *** [.tmp_vmlinux1] Error 139 
whats the problem?

thanx
motzl
Top
Houdini
Apprentice
Apprentice
User avatar
Posts: 224
Joined: Fri Jun 14, 2002 4:59 am
Location: New Mexico Tech, Socorro, NM

  • Quote

Post by Houdini » Thu Jul 08, 2004 2:33 pm

We need some context to be able to figure that out.
^]:wq
Top
baobab88
n00b
n00b
Posts: 18
Joined: Fri Mar 12, 2004 5:34 pm
Location: Paris

  • Quote

Post by baobab88 » Mon Jul 12, 2004 6:17 pm

the same for me.
I'm trying to build a complete system for my new Pentium M and the kernel compil crash here :

make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
GEN .version
CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
make: *** [.tmp_vmlinux1] Error 139

i had this message after a first try. I don't know what happened and i don't know where i have to look for more informations...

If anyone can help...
Top
Maedhros
Bodhisattva
Bodhisattva
User avatar
Posts: 5511
Joined: Wed Apr 14, 2004 8:10 pm
Location: Durham, UK

  • Quote

Post by Maedhros » Mon Jul 12, 2004 8:48 pm

DId you put a domainname in /etc/dnsdomainname as per this part of the handbook?
No-one's more important than the earthworm.
Top
baobab88
n00b
n00b
Posts: 18
Joined: Fri Mar 12, 2004 5:34 pm
Location: Paris

  • Quote

Post by baobab88 » Mon Jul 12, 2004 9:54 pm

No I'm following the hand book. Kernel Compilation is on chapter 7.
I won't use it anyway. I'm using a dhcp server which will give this information to the computer.

I'm trying to change some settings in the config but i don't have enough information to look for a real solution. I need more messages from the make process. Is there any log file with better error messages ?
Top
arachn1d
Guru
Guru
User avatar
Posts: 369
Joined: Thu Apr 15, 2004 8:14 pm
Location: /var/www/wtf-dude.com lynx wtf-dude.com
Contact:
Contact arachn1d
Website

  • Quote

Post by arachn1d » Mon Jul 12, 2004 10:30 pm

You still need to setup the dnsdomainname to set your network group.
( i believe )
WTF?? Dude... Visit wtf??
Top
mike4148
l33t
l33t
Posts: 641
Joined: Tue Sep 09, 2003 11:05 pm

  • Quote

Post by mike4148 » Mon Jul 12, 2004 11:41 pm

Actually, that's not a problem - I just completed four installs following the handbook, which doesn't command you to create /etc/dnsdomainname until after building the kernel. Chances are, the real error message happened somewhere before the posted context.

Do this:
1. Give us the name of the kernel package you're trying to build (e.g., gentoo-dev-sources-2.6.7-r1)

2. Run these commands in /usr/src/linux:

Code: Select all

make clean
make -j1 &>makelog
3. Open up makelog and post all error messages and the commands that immediately precede them. For example, if you get

Code: Select all

GEN .version
CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
again, only post

Code: Select all

CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
Top
baobab88
n00b
n00b
Posts: 18
Joined: Fri Mar 12, 2004 5:34 pm
Location: Paris

  • Quote

Post by baobab88 » Tue Jul 13, 2004 8:25 am

OK i've done make -j1 &> errorlog

here is what I get :

livecd linux-2.6.7-gentoo-r9 # tail errorlog
CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
dnsdomainname: Host name lookup failure
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
make: *** [.tmp_vmlinux1] Error 139

there are several errors before this one :

CC [M] fs/smbfs/inode.o
fs/smbfs/inode.c: In function `smb_fill_super':
fs/smbfs/inode.c:562: warning: comparison is always false due to limited range of data type
fs/smbfs/inode.c:563: warning: comparison is always false due to limited range of data type

CC [M] drivers/pcmcia/i82092.o
drivers/pcmcia/i82092.c: In function `i82092aa_set_io_map':
drivers/pcmcia/i82092.c:677: warning: comparison is always false due to limited range of data type
drivers/pcmcia/i82092.c:677: warning: comparison is always false due to limited range of data type

CC drivers/video/fbmem.o
drivers/video/fbmem.c: In function `fb_cursor':
drivers/video/fbmem.c:933: warning: passing arg 1 of `copy_from_user' discards qualifiers from pointer target type

CC [M] sound/pci/intel8x0.o
sound/pci/intel8x0.c: In function `snd_intel8x0_create':
sound/pci/intel8x0.c:2586: warning: statement with no effect
Top
baobab88
n00b
n00b
Posts: 18
Joined: Fri Mar 12, 2004 5:34 pm
Location: Paris

SOLVED

  • Quote

Post by baobab88 » Tue Jul 13, 2004 10:22 am

Sorry about this mess... I should have i little research on the old message before posting ...
Well, there is a conflict with binutils compiled with aggressive flags :
-O3 seems to be a little dangerous ...
I have recompiled binutils without -O3 and some other tweakings and everything goes right now ...
Top
Post Reply

9 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic