Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors compiling kernel sparc-sources-2.4.27-r3 on Ultra2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
gouns
n00b
n00b


Joined: 27 Nov 2002
Posts: 6
Location: Paris, France

PostPosted: Fri Nov 26, 2004 7:51 am    Post subject: Errors compiling kernel sparc-sources-2.4.27-r3 on Ultra2 Reply with quote

I've got the following error when compiling my kernel on a Ultra2:

Code:
arch/sparc64/kernel/head.o(.text+0xa014): In function `sys_call_table32':
: undefined reference to `sparc32_open'
arch/sparc64/kernel/head.o(.text+0xa01c): In function `sys_call_table32':
: undefined reference to `sys32_wait4'
arch/sparc64/kernel/head.o(.text+0xa034): In function `sys_call_table32':
: undefined reference to `sys32_chown16'
arch/sparc64/kernel/head.o(.text+0xa038): In function `sys_call_table32':
: undefined reference to `sys32_mknod'
arch/sparc64/kernel/head.o(.text+0xa03c): In function `sys_call_table32':
: undefined reference to `sys32_chmod'
arch/sparc64/kernel/head.o(.text+0xa040): In function `sys_call_table32':
: undefined reference to `sys32_lchown16'
arch/sparc64/kernel/head.o(.text+0xa04c): In function `sys_call_table32':
: undefined reference to `sys32_lseek'
arch/sparc64/kernel/head.o(.text+0xa05c): In function `sys_call_table32':
: undefined reference to `sys32_setuid16'
arch/sparc64/kernel/head.o(.text+0xa060): In function `sys_call_table32':
: undefined reference to `sys32_getuid16'
arch/sparc64/kernel/head.o(.text+0xa074): In function `sys_call_table32':
: undefined reference to `sys32_pause'
arch/sparc64/kernel/head.o(.text+0xa078): In function `sys_call_table32':
: undefined reference to `sys32_utime'
arch/sparc64/kernel/head.o(.text+0xa098): In function `sys_call_table32':
: undefined reference to `sys32_newstat'
arch/sparc64/kernel/head.o(.text+0xa09c): In function `sys_call_table32':
: undefined reference to `sys32_sendfile'
arch/sparc64/kernel/head.o(.text+0xa0a0): In function `sys_call_table32':
: undefined reference to `sys32_newlstat'
arch/sparc64/kernel/head.o(.text+0xa0ac): In function `sys_call_table32':
: undefined reference to `sys32_times'
arch/sparc64/kernel/head.o(.text+0xa0b8): In function `sys_call_table32':
: undefined reference to `sys32_setgid16'
arch/sparc64/kernel/head.o(.text+0xa0bc): In function `sys_call_table32':
: undefined reference to `sys32_getgid16'
arch/sparc64/kernel/head.o(.text+0xa0c4): In function `sys_call_table32':
: undefined reference to `sys32_geteuid16'
arch/sparc64/kernel/head.o(.text+0xa0c8): In function `sys_call_table32':
: undefined reference to `sys32_getegid16'
arch/sparc64/kernel/head.o(.text+0xa0d8): In function `sys_call_table32':
: undefined reference to `sys32_ioctl'
arch/sparc64/kernel/head.o(.text+0xa0e0): In function `sys_call_table32':
: undefined reference to `sys32_mmap2'
arch/sparc64/kernel/head.o(.text+0xa0f8): In function `sys_call_table32':
: undefined reference to `sys32_newfstat'
arch/sparc64/kernel/head.o(.text+0xa10c): In function `sys_call_table32':
: undefined reference to `sys32_pread'
arch/sparc64/kernel/head.o(.text+0xa110): In function `sys_call_table32':
: undefined reference to `sys32_pwrite'
arch/sparc64/kernel/head.o(.text+0xa11c): In function `sys_call_table32':
: undefined reference to `sys32_mmap'
arch/sparc64/kernel/head.o(.text+0xa134): In function `sys_call_table32':
: undefined reference to `sys32_truncate64'
arch/sparc64/kernel/head.o(.text+0xa13c): In function `sys_call_table32':
: undefined reference to `sys32_getgroups16'
arch/sparc64/kernel/head.o(.text+0xa140): In function `sys_call_table32':
: undefined reference to `sys32_setgroups16'
arch/sparc64/kernel/head.o(.text+0xa14c): In function `sys_call_table32':
: undefined reference to `sys32_setitimer'
arch/sparc64/kernel/head.o(.text+0xa150): In function `sys_call_table32':
: undefined reference to `sys32_ftruncate64'
arch/sparc64/kernel/head.o(.text+0xa158): In function `sys_call_table32':
: undefined reference to `sys32_getitimer'
arch/sparc64/kernel/head.o(.text+0xa170): In function `sys_call_table32':
: undefined reference to `sys32_fcntl'
arch/sparc64/kernel/head.o(.text+0xa174): In function `sys_call_table32':
: undefined reference to `sys32_select'
arch/sparc64/kernel/head.o(.text+0xa180): In function `sys_call_table32':
: undefined reference to `sys_setpriority32'
arch/sparc64/kernel/head.o(.text+0xa198): In function `sys_call_table32':
: undefined reference to `sys32_rt_sigaction'
arch/sparc64/kernel/head.o(.text+0xa19c): In function `sys_call_table32':
: undefined reference to `sys32_rt_sigprocmask'
arch/sparc64/kernel/head.o(.text+0xa1a0): In function `sys_call_table32':
: undefined reference to `sys32_rt_sigpending'
arch/sparc64/kernel/head.o(.text+0xa1a4): In function `sys_call_table32':
: undefined reference to `sys32_rt_sigtimedwait'
arch/sparc64/kernel/head.o(.text+0xa1a8): In function `sys_call_table32':
: undefined reference to `sys32_rt_sigqueueinfo'
arch/sparc64/kernel/head.o(.text+0xa1d0): In function `sys_call_table32':
: undefined reference to `sys32_gettimeofday'
arch/sparc64/kernel/head.o(.text+0xa1d4): In function `sys_call_table32':
: undefined reference to `sys32_getrusage'
arch/sparc64/kernel/head.o(.text+0xa1e0): In function `sys_call_table32':
: undefined reference to `sys32_readv'
arch/sparc64/kernel/head.o(.text+0xa1e4): In function `sys_call_table32':
: undefined reference to `sys32_writev'
arch/sparc64/kernel/head.o(.text+0xa1e8): In function `sys_call_table32':
: undefined reference to `sys32_settimeofday'
arch/sparc64/kernel/head.o(.text+0xa1ec): In function `sys_call_table32':
: undefined reference to `sys32_fchown16'
arch/sparc64/kernel/head.o(.text+0xa1f8): In function `sys_call_table32':
: undefined reference to `sys32_setreuid16'
arch/sparc64/kernel/head.o(.text+0xa1fc): In function `sys_call_table32':
: undefined reference to `sys32_setregid16'
arch/sparc64/kernel/head.o(.text+0xa228): In function `sys_call_table32':
: undefined reference to `sys32_utimes'
arch/sparc64/kernel/head.o(.text+0xa240): In function `sys_call_table32':
: undefined reference to `sys32_getrlimit'
arch/sparc64/kernel/head.o(.text+0xa244): In function `sys_call_table32':
: undefined reference to `sys32_setrlimit'
arch/sparc64/kernel/head.o(.text+0xa24c): In function `sys_call_table32':
: undefined reference to `sys32_prctl'
arch/sparc64/kernel/head.o(.text+0xa250): In function `sys_call_table32':
: undefined reference to `sys32_pciconfig_read'
arch/sparc64/kernel/head.o(.text+0xa254): In function `sys_call_table32':
: undefined reference to `sys32_pciconfig_write'

[...]

arch/sparc64/kernel/head.o(.text+0xc668): In function `sys32_execve':
: undefined reference to `sparc32_execve'
arch/sparc64/kernel/head.o(.text+0xc66c): In function `sys32_execve':
: undefined reference to `sparc32_execve'
arch/sparc64/kernel/head.o(.text+0xc6a0): In function `sys32_sigstack':
: undefined reference to `do_sys32_sigstack'
arch/sparc64/kernel/head.o(.text+0xc6a8): In function `sys32_sigaltstack':
: undefined reference to `do_sys32_sigaltstack'
arch/sparc64/kernel/head.o(.text+0xc6e8): In function `sys32_rt_sigsuspend':
: undefined reference to `do_rt_sigsuspend32'
arch/sparc64/kernel/head.o(.text+0xc704): In function `sys32_sigreturn':
: undefined reference to `do_sigreturn32'
arch/sparc64/kernel/head.o(.text+0xc724): In function `sys32_rt_sigreturn':
: undefined reference to `do_rt_sigreturn32'
make: *** [vmlinux] Error 1


Does someone know what's the problem ? I tried to remove grsecurity but that doesn't change anything :?

Thanks!!!
Back to top
View user's profile Send private message
gouns
n00b
n00b


Joined: 27 Nov 2002
Posts: 6
Location: Paris, France

PostPosted: Sun Nov 28, 2004 2:36 pm    Post subject: Reply with quote

Hi all,

hmmmm.... more than 200 views of the post and no answer, it seems that my problem is not a common one.
I tried with 2.4.28 sparc-sources today, same problem!

Could it be my hardened gcc ???
Code:

livecd linux-2.4.28-sparc # gcc --version
gcc (GCC) 3.3.4 20040623 (Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)


Any other ideas ???
By the way, I'm using 2004.3 starting from stage1.
Back to top
View user's profile Send private message
Drunkula
Apprentice
Apprentice


Joined: 28 Jul 2003
Posts: 257
Location: Denton, TX - USA

PostPosted: Tue Nov 30, 2004 6:43 pm    Post subject: Reply with quote

I have an Ultra2E also but get no compilation errors on 2.4.27-x. Not sure which specific release I use (can't check from here) but I'm fairly certain I'm not using "hardened" gcc. I'll check when I get home...
Back to top
View user's profile Send private message
gouns
n00b
n00b


Joined: 27 Nov 2002
Posts: 6
Location: Paris, France

PostPosted: Tue Nov 30, 2004 8:57 pm    Post subject: Reply with quote

Thanks man!

I'll wait for your answer and try without hardened.
Back to top
View user's profile Send private message
Drunkula
Apprentice
Apprentice


Joined: 28 Jul 2003
Posts: 257
Location: Denton, TX - USA

PostPosted: Tue Nov 30, 2004 11:56 pm    Post subject: Reply with quote

I'm using gcc-3.3.4 (not hardened) and my kernel is sparc-sources 2.4.27-r3.

Not sure if this would cause that or not but is /usr/src/linux where your kernel tree is or at least a link to the sources? Be sure /usr/src/linux points to the right sources...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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