View previous topic :: View next topic |
Author |
Message |
Sade Guru
Joined: 22 Mar 2005 Posts: 406 Location: Netherlands - Eindhoven
|
Posted: Mon Sep 08, 2008 1:42 pm Post subject: [solved] error: expected ‘,’ or ‘;’ before ‘en’ |
|
|
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 |
|
|
ibins n00b
Joined: 27 Jul 2007 Posts: 27
|
Posted: Mon Sep 08, 2008 3:36 pm Post subject: |
|
|
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" |
|
Back to top |
|
|
Sade Guru
Joined: 22 Mar 2005 Posts: 406 Location: Netherlands - Eindhoven
|
|
Back to top |
|
|
|