From: Shrek <shrek@progroup.ru>
To: community@altlinux.ru
Subject: Re: [Comm] сборка модуля для FastTrack SX4000
Date: Tue, 26 Aug 2003 11:41:29 +0400
Message-ID: <3F4B0F29.6090209@progroup.ru> (raw)
In-Reply-To: <3F4B0CF5.8040408@progroup.ru>
>
> Нашел дрова под SX4000, собираются без проблем, а вот дальше...
>
> # depmod -e
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.20-alt7-up/kernel/drivers/scsi/FastTrak.o
> depmod: __wake_up
> depmod: schedule
> depmod: __udelay
> depmod: kmalloc
> depmod: scsi_unregister_module
> depmod: scsi_register
> depmod: vfree
> depmod: unregister_blkdev
> depmod: pcibios_write_config_word
> depmod: free_irq
> depmod: pcibios_read_config_dword
> depmod: register_blkdev
> depmod: iounmap
> depmod: __ioremap
> depmod: do_gettimeofday
> depmod: del_timer
> depmod: interruptible_sleep_on
> depmod: kfree
> depmod: unregister_reboot_notifier
> depmod: request_irq
> depmod: scsi_register_module
> depmod: pci_find_device
> depmod: sprintf
> depmod: jiffies
> depmod: __vmalloc
> depmod: pcibios_read_config_word
> depmod: printk
> depmod: add_timer
> depmod: pcibios_find_device
> depmod: register_reboot_notifier
>
> явно что-то не подлинковалось
>
> Makefile:
> --------------------------------------------------------
> CC = gcc
>
>
> INDEP386= -D__KERNEL__ -D__LINUX__ -D_SUPPORTENCLOSURE_
> -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
> -mcpu=i386 -DCPU=386 -DMODULE -D_PBM_
>
> #INDEP386= -D__KERNEL__ -D__LINUX__ -D_SUPPORTENCLOSURE_
> -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
> -mcpu=i386 -DCPU=386 -DMODULE -D_PBM_ -DMODVERSIONS -include
> /usr/src/linux/include/linux/modversions.h
>
>
> FT = wrapper.o fasttrak.o ftlog.o #// release files
>
> .SUFFIXES: .c.o
> .c.o: ; $(CC) $(INDEP386) -c $*.c
> all : $(FT)
> ld -r -o FastTrak.o $(FT) ftlib.o
> clean :
> rm -f FastTrak.o
> rm -f fasttrak.o
> rm -f wrapper.o
> rm -f ftlog.o
> ------------------------------------------------------
>
> подскажите как победить
> да и интересно если оставить в таком виде он вообще загрузится?
>
все, разобрался... Makefile надо было исправить.
--------------------------------------------------------
CC = gcc
#INDEP386= -D__KERNEL__ -D__LINUX__ -D_SUPPORTENCLOSURE_
-I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-mcpu=i386 -DCPU=386 -DMODULE -D_PBM_
INDEP386= -D__KERNEL__ -D__LINUX__ -D_SUPPORTENCLOSURE_
-I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-mcpu=i386 -DCPU=386 -DMODULE -D_PBM_ -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h
FT = wrapper.o fasttrak.o ftlog.o #// release files
.SUFFIXES: .c.o
.c.o: ; $(CC) $(INDEP386) -c $*.c
all : $(FT)
ld -r -o FastTrak.o $(FT) ftlib.o
clean :
rm -f FastTrak.o
rm -f fasttrak.o
rm -f wrapper.o
rm -f ftlog.o
------------------------------------------------------
жаль контроллер дома...
prev parent reply other threads:[~2003-08-26 7:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-26 7:32 Shrek
2003-08-26 7:41 ` Shrek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F4B0F29.6090209@progroup.ru \
--to=shrek@progroup.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git