* aboot on redhat6.1
@ 1999-12-25 5:00 Steeve McCauley
1999-12-27 5:00 ` rocoto
0 siblings, 1 reply; 4+ messages in thread
From: Steeve McCauley @ 1999-12-25 5:00 UTC (permalink / raw)
I'm trying to compile aboot on an alpha PC164. During
the link of aboot the following error occurs,
ld -static -N -Ttext 20000000 head.o aboot.o cons.o utils.o
zip/misc.o zip/unzip.o zip/inflate.o
disk.o fs/ext2.o fs/ufs.o fs/dummy.o fs/iso.o -o aboot lib/libaboot.a
aboot.o: In function `main_':
aboot.c(.text+0x438): undefined reference to `halt'
aboot.c(.text+0x43c): undefined reference to `halt'
cons.o: In function `cons_puts':
cons.c(.text+0x64): undefined reference to `halt'
cons.c(.text+0x68): undefined reference to `halt'
cons.o: In function `cons_init':
cons.c(.text+0x508): undefined reference to `halt'
cons.o(.text+0x50c):cons.c: more undefined references to `halt' follow
make: *** [aboot] Error 1
Can anyone tell me where the halt() function lives?
Thanks,
steeve
--
:wq
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aboot on redhat6.1
1999-12-25 5:00 aboot on redhat6.1 Steeve McCauley
@ 1999-12-27 5:00 ` rocoto
1999-12-27 5:00 ` Steeve McCauley
0 siblings, 1 reply; 4+ messages in thread
From: rocoto @ 1999-12-27 5:00 UTC (permalink / raw)
In article <38651F90.5227105E@oneguycoding.com>,
Steeve McCauley <steeve@oneguycoding.com> wrote:
...
>
> Can anyone tell me where the halt() function lives?
./head.S
Its in assembly language.
--
David.
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aboot on redhat6.1
1999-12-27 5:00 ` rocoto
@ 1999-12-27 5:00 ` Steeve McCauley
1999-12-27 5:00 ` rocoto
0 siblings, 1 reply; 4+ messages in thread
From: Steeve McCauley @ 1999-12-27 5:00 UTC (permalink / raw)
rocoto@my-deja.com wrote:
>
> In article <38651F90.5227105E@oneguycoding.com>,
> Steeve McCauley <steeve@oneguycoding.com> wrote:
> ...
> >
> > Can anyone tell me where the halt() function lives?
>
> ./head.S
>
> Its in assembly language.
No, this is just a #define for that file,
#define halt .long PAL_halt
The halt() function is called in aboot.c, cons.c and
is defined in /usr/include/asm/system.h as an extern.
aboot.c(.text+0x438): undefined reference to `halt'
aboot.c(.text+0x43c): undefined reference to `halt'
cons.o: In function `cons_puts':
cons.c(.text+0x64): undefined reference to `halt'
cons.c(.text+0x68): undefined reference to `halt'
cons.o: In function `cons_init':
cons.c(.text+0x508): undefined reference to `halt'
cons.o(.text+0x50c):cons.c: more undefined references to `halt' follow
Still in the dark, me.
--
One Guy Coding steeve@oneguycoding.com
Steeve McCauley http://oneguycoding.com
:wq
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: aboot on redhat6.1
1999-12-27 5:00 ` Steeve McCauley
@ 1999-12-27 5:00 ` rocoto
0 siblings, 0 replies; 4+ messages in thread
From: rocoto @ 1999-12-27 5:00 UTC (permalink / raw)
In article <3867931D.BE8332D4@oneguycoding.com>,
Steeve McCauley <steeve@oneguycoding.com> wrote:
>
> rocoto@my-deja.com wrote:
> > In article <38651F90.5227105E@oneguycoding.com>,
> > Steeve McCauley <steeve@oneguycoding.com> wrote:
> > ...
> > >
> > > Can anyone tell me where the halt() function lives?
> >
> > ./head.S
> >
> > Its in assembly language.
>
> No, this is just a #define for that file,
>
> #define halt .long PAL_halt
For the record.... After exchanging an email or two.... I think the
distribution being used doesn't have the patch kits applied to it...
Specifically, the aboot-0.5-rth.patch.gz changes the above definition.
Recommend applying the patches accompanying the distribution and
retrying the build.
Regards.
--
David
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-12-27 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-25 5:00 aboot on redhat6.1 Steeve McCauley
1999-12-27 5:00 ` rocoto
1999-12-27 5:00 ` Steeve McCauley
1999-12-27 5:00 ` rocoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox