Re: System.map: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Warning : your lines are too long (> 80 characters).

What does this subjet have to do with networking ?

Mahmood Naderan a écrit :
> Hi,
> I have installed linux header for the existing kernel however when I make 
> something I get an error that System.map is not present. I searched for
> that and really there is no such file. What should i do?
> 
> mahmood@localhost:k10temp$ sudo make install
> [sudo] password for mahmood: 
> test -d /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon || mkdir  
> /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
> cp k10temp.ko /lib/modules/2.6.32-25-generic/kernel/drivers/hwmon
> depmod -a -F /lib/modules/2.6.32-25-generic/build/System.map 2.6.32-25-generic
> FATAL: Could not open '/lib/modules/2.6.32-25-generic/build/System.map': No such 

You seem to be using a Debian-style distribution. The System.map file
should be available as /boot/System.map-2.6.32-25-generic.

You could create a symbolic link
/lib/modules/2.6.32-25-generic/build/System.map pointing to
/boot/System.map-2.6.32-25-generic so the Makefile works as it is. Or
modify the depmod command in the Makefile so it looks for the latter
instead of the former.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux