2003-08-01 20:51:49

by Viaris

[permalink] [raw]
Subject: problems compiling kernel 2.5.75

Hi all, I ma compiling kernel version 2.5.75, but I have the folloienw
error:

drivers/built-in.o(.text+0x1d41e): In function `pc_close':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1d423): In function `pc_close':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1d586): In function `shutdown':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1d58b): In function `shutdown':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1d67e): In function `pc_hangup':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1d683): In function `pc_hangup':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1d6bc): In function `pc_hangup':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1d7c0): In function `pc_write':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1d7c5): In function `pc_write':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1d8e2): In function `pc_write':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1d908): In function `pc_write':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1d90d): In function `pc_write':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1d990): In function `pc_write':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1daf2): In function `pc_write_room':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1daf7): In function `pc_write_room':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1db6f): In function `pc_write_room':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1dbf0): In function `pc_chars_in_buffer':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1dbf5): In function `pc_chars_in_buffer':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1dc61): In function `pc_chars_in_buffer':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1dcfe): In function `pc_flush_buffer':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1dd03): In function `pc_flush_buffer':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1dd53): In function `pc_flush_buffer':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1ddfa): In function `pc_flush_chars':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1ddff): In function `pc_flush_chars':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1df2d): In function `block_til_ready':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1df32): In function `block_til_ready':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1df4d): In function `block_til_ready':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1dfd2): In function `block_til_ready':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1dfed): In function `block_til_ready':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1e1a4): In function `pc_open':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1e1a9): In function `pc_open':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1e1fa): In function `pc_open':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1e221): In function `pc_open':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1e226): In function `pc_open':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1e244): In function `pc_open':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1e9ec): In function `epcapoll':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1e9f1): In function `epcapoll':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1ea3f): In function `epcapoll':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1f7f8): In function `pc_ioctl':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x1f8da): In function `pc_ioctl':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1f901): In function `pc_ioctl':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1fa5d): In function `pc_ioctl':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1fa8b): In function `pc_ioctl':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1fc26): In function `pc_ioctl':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1fce6): In function `pc_ioctl':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1fd74): In function `pc_ioctl':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1fe35): In function `pc_ioctl':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1fe70): In function `pc_ioctl':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1ff3e): In function `pc_ioctl':
: undefined reference to `cli'
drivers/built-in.o(.text+0x200ae): In function `pc_set_termios':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x200b3): In function `pc_set_termios':
: undefined reference to `cli'
drivers/built-in.o(.text+0x2021a): In function `pc_stop':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x2021f): In function `pc_stop':
: undefined reference to `cli'
drivers/built-in.o(.text+0x202fa): In function `pc_start':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x202ff): In function `pc_start':
: undefined reference to `cli'
drivers/built-in.o(.text+0x203ea): In function `pc_throttle':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x203ef): In function `pc_throttle':
: undefined reference to `cli'
drivers/built-in.o(.text+0x204ca): In function `pc_unthrottle':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x204cf): In function `pc_unthrottle':
: undefined reference to `cli'
drivers/built-in.o(.text+0x2056b): In function `digi_send_break':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x20570): In function `digi_send_break':
: undefined reference to `cli'
drivers/built-in.o(.text+0x205ea): In function `setup_empty_event':
: undefined reference to `save_flags'
drivers/built-in.o(.text+0x205ef): In function `setup_empty_event':
: undefined reference to `cli'
drivers/built-in.o(.text+0x1d4e9): In function `pc_close':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1d5cf): In function `shutdown':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x1de22): In function `pc_flush_chars':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x20119): In function `pc_set_termios':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x20239): In function `pc_stop':
: undefined reference to `restore_flags'
drivers/built-in.o(.text+0x20319): more undefined references to
`restore_flags' follow
drivers/built-in.o(.text+0x23f77): In function `stli_poll':
: undefined reference to `schedule_task'
drivers/built-in.o(.init.text+0x28f3): In function `pc_init':
: undefined reference to `save_flags'
drivers/built-in.o(.init.text+0x28f8): In function `pc_init':
: undefined reference to `cli'
drivers/built-in.o(.init.text+0x2a2a): In function `pc_init':
: undefined reference to `restore_flags'
make: *** [.tmp_vmlinux1] Error 1

How can i do ti to resolv?

Thanks in Advanced,



2003-08-01 21:13:03

by Sam Ravnborg

[permalink] [raw]
Subject: Re: problems compiling kernel 2.5.75

On Fri, Aug 01, 2003 at 02:51:32PM -0600, Viaris wrote:
> Hi all, I ma compiling kernel version 2.5.75, but I have the folloienw
> error:
>
> drivers/built-in.o(.text+0x1d41e): In function `pc_close':
> : undefined reference to `save_flags'
Try to disbale SMP (do you need it)?

Sam

2003-08-01 22:18:08

by Viaris

[permalink] [raw]
Subject: Re: problems compiling kernel 2.5.75

Ok, I comliled again, I put the bzImage in /boot, generate the image with
mkintrd, now when I enter with the new kernel, I have this message: kernel
Panic: No init found , Try passing init= option to kernel.

How can I do it?

Thanks

----- Original Message -----
From: "Sam Ravnborg" <[email protected]>
To: "Viaris" <[email protected]>
Cc: <[email protected]>
Sent: Friday, August 01, 2003 3:13 PM
Subject: Re: problems compiling kernel 2.5.75


> On Fri, Aug 01, 2003 at 02:51:32PM -0600, Viaris wrote:
> > Hi all, I ma compiling kernel version 2.5.75, but I have the folloienw
> > error:
> >
> > drivers/built-in.o(.text+0x1d41e): In function `pc_close':
> > : undefined reference to `save_flags'
> Try to disbale SMP (do you need it)?
>
> Sam
>

2003-08-01 23:03:46

by Alex Goddard

[permalink] [raw]
Subject: Re: problems compiling kernel 2.5.75

On Fri, 1 Aug 2003, Viaris wrote:

[Snip]

Aside from what the other person suggested, you should probably give
2.6.0-test2 a try. If you're going to run a development kernel, why run
an old one unless you absolutely have to?

--
Alex Goddard
[email protected]

2003-08-02 19:03:21

by Viaris

[permalink] [raw]
Subject: Re: problems compiling kernel 2.5.75

Hi All,

Ok, now my new kernel 2.5.75 is fine, but I have problems with the CDROM,
this new kernel no found /dev/cdrom, my CDROM is IDE, how can I To resolv
this problem?

Thanks in Advanced,

Regards,

----- Original Message -----
From: "Sam Ravnborg" <[email protected]>
To: "Viaris" <[email protected]>
Cc: <[email protected]>
Sent: Friday, August 01, 2003 3:13 PM
Subject: Re: problems compiling kernel 2.5.75


> On Fri, Aug 01, 2003 at 02:51:32PM -0600, Viaris wrote:
> > Hi all, I ma compiling kernel version 2.5.75, but I have the folloienw
> > error:
> >
> > drivers/built-in.o(.text+0x1d41e): In function `pc_close':
> > : undefined reference to `save_flags'
> Try to disbale SMP (do you need it)?
>
> Sam
>