2.4.21-rc1 compile failure [toshoboe]

2.4.21-rc1 compile failure [toshoboe]

Post by Jean Tourrilhe » Wed, 30 Apr 2003 04:10:07



Pavel Machek wrote :

Quote:> I get compile failure for 2.4.21-rc1:

> "in irda_device_init: undefined reference to toshoboe_init".

        Non-modular IrDA is not supported in 2.4.X and is known to be
broken in various way (see bottom of my web page). This was fixed in
2.5.24, but won't be fixed in the 2.4.X serie. However, I always
accept trivial patches...
        Have fun...

        Jean

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.4.21-rc1 compile failure [toshoboe]

Post by Pavel Mache » Thu, 01 May 2003 19:50:18


Hi!

Quote:> > I get compile failure for 2.4.21-rc1:

> > "in irda_device_init: undefined reference to toshoboe_init".

>    Non-modular IrDA is not supported in 2.4.X and is known to be
> broken in various way (see bottom of my web page). This was fixed in
> 2.5.24, but won't be fixed in the 2.4.X serie. However, I always
> accept trivial patches...
>    Have fun...

Fix was to kill toshoboe_init() from irda_device_init(): it is
module_init() so it gets called, anyway.

Unfortunately toshoboe in 2.4.21-rc1 works as badly as in 2.5: the
"new" driver does not even detect it and the "old" driver breaks with
max_baud > 9600.

                                                                Pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.4.21-rc1 compile failure [toshoboe]

Post by Jean Tourrilhe » Thu, 01 May 2003 20:10:16



> Hi!

> > > I get compile failure for 2.4.21-rc1:

> > > "in irda_device_init: undefined reference to toshoboe_init".

> >       Non-modular IrDA is not supported in 2.4.X and is known to be
> > broken in various way (see bottom of my web page). This was fixed in
> > 2.5.24, but won't be fixed in the 2.4.X serie. However, I always
> > accept trivial patches...
> >       Have fun...

> Fix was to kill toshoboe_init() from irda_device_init(): it is
> module_init() so it gets called, anyway.

        Actually, it should probably be encapsualted in
TOSHIBA_OLD. But unfortunately, there is more than that, trust me.

Quote:> Unfortunately toshoboe in 2.4.21-rc1 works as badly as in 2.5: the
> "new" driver does not even detect it and the "old" driver breaks with
> max_baud > 9600.

        First, please verify if you have the same problem when the
full IrDA stack and drivers are modular.
        I would expect the same behaviour in 2.5.X and 2.4.X, because
it's the same driver. I personally don't have this hardware, so can't
do much, and the maintainer are unresponsive. It supposed to work
better if you pass the flag to bypass the self test.
        Also, most modern Toshiba laptops seems to have SMC instead of
toshoboe hardware.

Quote:>                                                            Pavel

        Good luck...

        Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. v4l won't compile 2.4.21-rc1 & rc1-ac3

gcc -D__KERNEL__ -I/drives/sg4/src/linux-2.4.21-rc1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /drives/sg4/src/linux-2.4.21-rc1/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=videodev  -DEXPORT_SYMTAB -c videodev.c
videodev.c: In function `video_read':
videodev.c:73: warning: implicit declaration of function `video_devdata_Rsmp_b8120f61'
videodev.c:73: warning: initialization makes pointer from integer without a castvideodev.c: In function `video_write':
videodev.c:89: warning: initialization makes pointer from integer without a castvideodev.c: At top level:
videodev.c:97: warning: type mismatch with previous implicit declaration
videodev.c:89: warning: previous implicit declaration of `video_devdata_Rsmp_b8120f61'
videodev.c:97: warning: `video_devdata_Rsmp_b8120f61' was previously implicitly
declared to return `int'
videodev.c: In function `video_open':
videodev.c:157: structure has no member named `users'
videodev.c:161: structure has no member named `users'
videodev.c:169: structure has no member named `users'
videodev.c: In function `video_release':
videodev.c:201: structure has no member named `users'
videodev.c: In function `video_exclusive_open_Rsmp_ec87c43b':
videodev.c:310: structure has no member named `lock'
videodev.c:311: structure has no member named `users'
videodev.c:314: structure has no member named `users'
videodev.c:316: structure has no member named `lock'
videodev.c: In function `video_exclusive_release_Rsmp_5bc94222':
videodev.c:324: structure has no member named `users'
videodev.c: In function `video_register_device_Rsmp_bc156dda':
videodev.c:585: structure has no member named `lock'
videodev.c: At top level:
videodev.c:638: warning: static declaration for `videodev_init' follows non-static
make[3]: *** [videodev.o] Error 1
make[3]: Leaving directory `/drives/sg4/src/linux-2.4.21-rc1/drivers/media/video'
make[2]: *** [_modsubdir_video] Error 2
make[2]: Leaving directory `/drives/sg4/src/linux-2.4.21-rc1/drivers/media'
make[1]: *** [_modsubdir_media] Error 2
make[1]: Leaving directory `/drives/sg4/src/linux-2.4.21-rc1/drivers'
make: *** [_mod_drivers] Error 2

--

Fred

Error Loading Explorer.exe
You must reinstall Windows.

2. Sound under Linux

3. 2.4.21-rc1 compile fails on serveraid

4. Access to extended partition from Windows95

5. 2.4.21-rc2 and rc1 compile problem in fs/exec.c + PATCH

6. enterprise20 ceased to work

7. PPC: compile failure in 2.4.21-pre1 ide

8. dgettext problem with plugin

9. debian 2.4.21 compile failure

10. cs46xx compile failure in 2.4.21

11. Oops in firewire (2.4.21-pre5 with 2.4.21-pre4 firewire driver)

12. 2.4.21-pre3aa1 and RAID0 issue (was: 2.4.21-pre2aa1 - RAID0 issue.)

13. 2.4.21-pre7 & 2.4.21-pre5-ac3 IDE resets