problem compiling drivers

Aaron Stromas astromas@us.oracle.com
Thu Jan 28 12:45:24 1999


--------------6D709AAB2D2B3908E4291687
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> >
> > "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
> > -Wstrict-prototypes -O6 -c tulip.c `[ -f
> > /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
> >
> > to
> >
> > "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wall
> > -Wstrict-prototypes -O6 -c tulip.c `[ -f
> > /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
> >
> > and i still get the "unresolved symbols" from "depmod -a". please, can
> > you tell me what else i need to do? tia,
>
> What unresolved symbols? Do a nm -u and look at /proc/ksyms and see what's
> what...
>
>

nm -u tulip.o lists... a lot!:
__do_delay
add_timer
bh_active
check_region
current_set
del_timer
dev_alloc_skb
dev_ktree_skb
eth_type_trans
free_irq
init_etherdev
jiffies
kfree
kmalloc
loops_per_sec
mod_use_count
netif_rx
panic
pcibios_find_class
pcibios_read_byte
pcibios_read_dword
pcibios_read_word
pcibios_write_config_byte
pcibios_write_config_dword
pcibios_write_config_word
printk
release_region
request_irq
request_region
unregister_netdev

/proc/ksyms is empty. i'm not sure how /proc comes into the picture for
i don't have the driver loaded. should i?

-a
--
Aaron Stromas     |   "Tick-tick-tick!!!... ja, Pantani is weg...."
Oracle Corp.        |       BRTN commentator, L'Alpe d'Huez, 1995 Tour
de France
+1 703 917 48 72  |


--------------6D709AAB2D2B3908E4291687
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

> 
> "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
> -Wstrict-prototypes -O6 -c tulip.c `[ -f
> /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
> 
> to
> 
> "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wall
> -Wstrict-prototypes -O6 -c tulip.c `[ -f
> /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
> 
> and i still get the "unresolved symbols" from "depmod -a". please, can
> you tell me what else i need to do? tia,

What unresolved symbols? Do a nm -u and look at /proc/ksyms and see what's
what...


nm -u tulip.o lists... a lot!:
__do_delay
add_timer
bh_active
check_region
current_set
del_timer
dev_alloc_skb
dev_ktree_skb
eth_type_trans
free_irq
init_etherdev
jiffies
kfree
kmalloc
loops_per_sec
mod_use_count
netif_rx
panic
pcibios_find_class
pcibios_read_byte
pcibios_read_dword
pcibios_read_word
pcibios_write_config_byte
pcibios_write_config_dword
pcibios_write_config_word
printk
release_region
request_irq
request_region
unregister_netdev

/proc/ksyms is empty. i'm not sure how /proc comes into the picture for i don't have the driver loaded. should i?

-a
--
Aaron Stromas     |   "Tick-tick-tick!!!... ja, Pantani is weg...."
Oracle Corp.        |       BRTN commentator, L'Alpe d'Huez, 1995 Tour de France
+1 703 917 48 72  |
  --------------6D709AAB2D2B3908E4291687--