|
Re: lug-bg: pentanet & kernel 2.4.5
- Subject: Re: lug-bg: pentanet & kernel 2.4.5
- From: whitefang@xxxxxx (Angel Valkov)
- Date: Thu, 2 Aug 2001 22:31:11 +0300
On Tuesday 31 July 2001 08:48, you wrote:
Zdravei.
Malko sys zakysnenie, no po dobre kysno otkolkoto nikoga :)
Ako vse oshte ne si si reshil problema. Probvai slednoto:
Directivata -I path-to-kernel-includes e pravilno da ia
dobavish ako kompilirash ne kato 4ast ot celia kernel-build.
Taka 4e prominata na CFLAGS ti e viarna.
Az zabeliazah 4e 2.4 ima problemi sys MODVERSIONS.
Syobshteniata za unresolved symbols idvat to4no ot tam.
Mahni i macrodefiniciata -DMODVERSIONS.
Taka shte triabva kato si smenish kernel-a da si rebuildvash vseki pyt i
vyprosnia modul.No tova e nai byrzoto reshenie.
Uspeh.
> znachi taka doide sorce
> =========================
> CC = gcc
> CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ \
> -Wstrict-prototypes \
> -fomit-frame-pointer \
> -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> -malign-jumps=2 -malign-functions=2 -DCPU=486
> #CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/include \
> # -Wstrict-prototypes \
> # -fomit-frame-pointer \
> # -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> # -malign-jumps=2 -malign-functions=2 -DCPU=486
> ==========================
> imame tva :
> eto samo malka chast zastoto ne moga da hvana err
> ====================
> /usr/include/linux/coda.h:261: storage size of `va_atime' isn't known
> /usr/include/linux/coda.h:262: storage size of `va_mtime' isn't known
> /usr/include/linux/coda.h:263: storage size of `va_ctime' isn't known
> /usr/include/linux/coda.h:566: storage size of `attr' isn't known
> /usr/include/linux/fs.h:500: storage size of `f_owner' isn't known
> /usr/include/linux/reiserfs_fs_sb.h:253: storage size of `j_journal_list'
> isn't known
> /usr/include/linux/sched.h:352: storage size of `times' isn't known
>
>
> az smenih
> ==========================
> #CC = gcc
> #CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ \
> # -Wstrict-prototypes \
> # -fomit-frame-pointer \
> # -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> # -malign-jumps=2 -malign-functions=2 -DCPU=486
> CFLAGS = -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/include \
> -Wstrict-prototypes \
> -fomit-frame-pointer \
> -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> -malign-jumps=2 -malign-functions=2 -DCPU=486
>
> i uspqva da se izkompilra
>
>
>
> posle:
> modprobe pentanet
> /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: unresolved symbol
> tqueue_lock
> /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: unresolved symbol
> synchronize_irq
> /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: unresolved symbol
> printk_Rsmp_1b7d4074
> /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: insmod
> /lib/modules/2.4.5/kernel/drivers/net/pentanet.o failed
> /lib/modules/2.4.5/kernel/drivers/net/pentanet.o: insmod pentanet failed
>
>
>
> __ __
> / /____ ___ ____/ / ___
> / __/ _ \/ _ \/ __/ _ \/ -_)
> \__/\___/ .__/\__/_//_/\__/
> @/_/administrators.com
> +35988987720
> http://www.campus-bg.net
>
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|