public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Another .text.exit error with 2.4.19-rc1
@ 2002-06-24 21:56 Toni Viemero
  2002-06-24 22:49 ` Keith Owens
  0 siblings, 1 reply; 3+ messages in thread
From: Toni Viemero @ 2002-06-24 21:56 UTC (permalink / raw)
  To: linux-kernel

Seems like ServeRAID driver is causing problems

System: Debian GNU/Linux unstable (IBM eServer 232 with ServeRAID 4Lx)

compiling kernel stops, error output:

drivers/scsi/scsidrv.o(.data+0x3874): undefined reference to local symbols
in discarded section .text.exit'


and output of "reference_discarded.pl" by Keith Owens:

aq144:/usr/src/linux# perl ../reference_discarded.pl 
Finding objects, 392 objects, ignoring 0 module(s)
Finding conglomerates, ignoring 35 conglomerate(s)
Scanning objects
Error: ./drivers/scsi/ips.o .data refers to 000000d4 R_386_32
.text.exit
Done

Regards,
-- 
Toni Viemerö  |  http://selfdestruct.net
"The ones who dont do anything are always the ones who try to pull you
 down."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Another .text.exit error with 2.4.19-rc1
  2002-06-24 21:56 Another .text.exit error with 2.4.19-rc1 Toni Viemero
@ 2002-06-24 22:49 ` Keith Owens
  2002-06-25  1:16   ` Toni Viemero
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Owens @ 2002-06-24 22:49 UTC (permalink / raw)
  To: Toni Viemero; +Cc: linux-kernel

On Tue, 25 Jun 2002 00:56:19 +0300, 
Toni Viemero <toni.viemero@iki.fi> wrote:
>drivers/scsi/scsidrv.o(.data+0x3874): undefined reference to local symbols
>in discarded section .text.exit'
>aq144:/usr/src/linux# perl ../reference_discarded.pl 
>Finding objects, 392 objects, ignoring 0 module(s)
>Finding conglomerates, ignoring 35 conglomerate(s)
>Scanning objects
>Error: ./drivers/scsi/ips.o .data refers to 000000d4 R_386_32
>.text.exit

Untested.

--- drivers/scsi/ips.c	Tue Jun  4 13:34:30 2002
+++ drivers/scsi/ips.c.new	Tue Jun 25 08:48:25 2002
@@ -284,7 +284,7 @@
        name:		ips_hot_plug_name,
        id_table:	ips_pci_table,
        probe:		ips_insert_device,
-       remove:		ips_remove_device,
+       remove:		__devexit_p(ips_remove_device),
    };
 #endif
 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Another .text.exit error with 2.4.19-rc1
  2002-06-24 22:49 ` Keith Owens
@ 2002-06-25  1:16   ` Toni Viemero
  0 siblings, 0 replies; 3+ messages in thread
From: Toni Viemero @ 2002-06-25  1:16 UTC (permalink / raw)
  To: Keith Owens; +Cc: linux-kernel

On Tue, Jun 25, 2002 at 08:49:28AM +1000, Keith Owens wrote:
> On Tue, 25 Jun 2002 00:56:19 +0300, 
> Toni Viemero <toni.viemero@iki.fi> wrote:
> >drivers/scsi/scsidrv.o(.data+0x3874): undefined reference to local symbols
> >in discarded section .text.exit'
> >aq144:/usr/src/linux# perl ../reference_discarded.pl 
> >Finding objects, 392 objects, ignoring 0 module(s)
> >Finding conglomerates, ignoring 35 conglomerate(s)
> >Scanning objects
> >Error: ./drivers/scsi/ips.o .data refers to 000000d4 R_386_32
> >.text.exit
> 
> Untested.
> 
> --- drivers/scsi/ips.c	Tue Jun  4 13:34:30 2002
> +++ drivers/scsi/ips.c.new	Tue Jun 25 08:48:25 2002
> @@ -284,7 +284,7 @@
>         name:		ips_hot_plug_name,
>         id_table:	ips_pci_table,
>         probe:		ips_insert_device,
> -       remove:		ips_remove_device,
> +       remove:		__devexit_p(ips_remove_device),
>     };
>  #endif

Tested and now compiles/works ok.

-- 
Toni Viemerö  |  http://selfdestruct.net
"The scars will take me far, they always do."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-25  1:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-24 21:56 Another .text.exit error with 2.4.19-rc1 Toni Viemero
2002-06-24 22:49 ` Keith Owens
2002-06-25  1:16   ` Toni Viemero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox