Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] error: expected ‘,’ or ‘;’ before ‘en’
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sade
Guru
Guru


Joined: 22 Mar 2005
Posts: 406
Location: Netherlands - Eindhoven

PostPosted: Mon Sep 08, 2008 1:42 pm    Post subject: [solved] error: expected ‘,’ or ‘;’ before ‘en’ Reply with quote

I've just finished a fresh install,

when still chrooted from the host system i could/can compile the kernel fine, but when i try to compile from the new installation it gives this error:
Code:
HOSTNAME="en" linux # make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
dnsdomainname: Unknown host
  CC      init/version.o
init/version.c:39: error: expected ‘,’ or ‘;’ before ‘en’
init/version.c:43: error: expected ‘,’ or ‘;’ before ‘en’
make[1]: *** [init/version.o] Error 1
make: *** [init] Error 2


I need some help finding what i did wrong in this new install

Code:
sys-devel/binutils-2.18-r3  USE="nls -multislot -multitarget -test -vanilla"
sys-devel/gcc-4.1.2  USE="fortran gtk mudflap nls (-altivec) -bootstrap -build -d
                                       -doc -gcj (-hardened) -ip28 -ip32r10k -libffi (-multilib)
                                       -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla"
sys-libs/glibc-2.6.1  USE="nls -debug -gd -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla"

_________________
| 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file |


Last edited by Sade on Mon Sep 08, 2008 5:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
ibins
n00b
n00b


Joined: 27 Jul 2007
Posts: 27

PostPosted: Mon Sep 08, 2008 3:36 pm    Post subject: Reply with quote

maybe your hostname is not defined:

init/version.c:
Code:

37| const char linux_banner[] =
38|        "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
39|        LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
40|
41|const char linux_proc_banner[] =
42|        "%s version %s"
43|        " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")"
44|        " (" LINUX_COMPILER ") %s\n";


edit: or wrong defined, like: HOSTNAME="en" :wink:
Back to top
View user's profile Send private message
Sade
Guru
Guru


Joined: 22 Mar 2005
Posts: 406
Location: Netherlands - Eindhoven

PostPosted: Mon Sep 08, 2008 5:10 pm    Post subject: Reply with quote

thx that fixed it, i made a booboo in my /etc/conf.d/hostname
_________________
| 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file |
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum