View previous topic :: View next topic |
Author |
Message |
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Mon Jun 02, 2003 9:35 pm Post subject: [Alpha] bootstrap with ccc fails on baselayout/sysvinit |
|
|
Taviso, I send you an email message to taviso at gentoo.org, but it got bounced. Anyway, there may be others with ideas:
I followed your guide for bootstrap with ccc, using the special
ccc-stage1. All went well for 3.5 hours (on a PWS433au Miata) up to the
second stage reconfiguring compaq compilers. Then it proceeds to
baselayout and quits after lots of warnings with:
Code: | void quit_handler()
-----^
cc: Warning: last.c, line 283: In this statement, the referenced type of
the pointer value "quit_handler" is "function () returning void", which is
not compatible with "function (int) returning void". (ptrmismatch)
signal(SIGQUIT, quit_handler);
------------------------^
cc: Warning: last.c, line 589: In this statement, the referenced type of
the pointer value "int_handler" is "function () returning void", which is
not compatible with "function (int) returning void". (ptrmismatch)
signal(SIGINT, int_handler);
-----------------^
cc: Warning: last.c, line 590: In this statement, the referenced type of
the pointer value "quit_handler" is "function () returning void", which is
not compatible with "function (int) returning void". (ptrmismatch)
signal(SIGQUIT, quit_handler);
------------------^
ccc -o init init.o init_utmp.o
ccc -o halt halt.o ifdown.o hddown.o utmp.o
ccc -o shutdown dowall.o shutdown.o utmp.o
ccc -o runlevel runlevel.o
ccc -o sulogin sulogin.o
sulogin.o(.text+0x10d4): In function `main':
: undefined reference to `crypt'
sulogin.o(.text+0x10d8): In function `main':
: undefined reference to `crypt'
sulogin.o(.text+0x10d8): In function `main':
: undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [sulogin] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: sys-apps/baselayout-1.8.5.9 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! problem compiling sysvinit |
I'm going to try to modify the script to use gcc for baselayout, see what
happens next. Do you have any suggestions? |
|
Back to top |
|
|
taviso Retired Dev
Joined: 15 Apr 2003 Posts: 261 Location: United Kingdom
|
Posted: Tue Jun 03, 2003 4:25 pm Post subject: Re: [Alpha] bootstrap with ccc fails on baselayout/sysvinit |
|
|
yngwin wrote: | Taviso, I send you an email message to taviso at gentoo.org, but it got bounced. |
ack, sorry about that, it should be fixed now.
Quote: | I followed your guide for bootstrap with ccc, using the special
ccc-stage1. All went well for 3.5 hours (on a PWS433au Miata) up to the
second stage reconfiguring compaq compilers. Then it proceeds to
baselayout and quits after lots of warnings with:
sulogin.o(.text+0x10d4): In function `main':
: undefined reference to `crypt'
sulogin.o(.text+0x10d8): In function `main':
: undefined reference to `crypt'
sulogin.o(.text+0x10d8): In function `main':
: undefined reference to `crypt'
collect2: ld returned 1 exit status |
hmm, i cant reproduce, `crypt` is provided by glibc in libcrypt, what happens if you add -lcrypt?
btw, you probably know this, but you can continue at the second stage of bootstrap by using
_________________ --------------------------------------
Gentoo on Alpha, is your penguin 64bit?
-------------------------------------------------------- |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Tue Jun 03, 2003 8:59 pm Post subject: Re: [Alpha] bootstrap with ccc fails on baselayout/sysvinit |
|
|
taviso wrote: | hmm, i cant reproduce, `crypt` is provided by glibc in libcrypt, what happens if you add -lcrypt? |
Where exactly should I add that?
It may be that this is caused by setting the crypt USE flag, maybe I should leave that one out? Or is that what you meant?
taviso wrote: | btw, you probably know this, but you can continue at the second stage of bootstrap by using
|
No, I didn't know, but that's useful Thanks. |
|
Back to top |
|
|
|
|
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
|
|