Re: System.map: No such file or directory

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

 



>Use an absolute path instead.
>$ ln -s /boot/System.map-2.6.32-25-generic
>/lib/modules/2.6.32-25-generic/build/System.map
 
Thanks, it is now solved.


// Naderan *Mahmood;



----- Original Message ----
From: Pascal Hambourg <pascal.mail@xxxxxxxxxxxxxxx>
To: Mahmood Naderan <nt_mahmood@xxxxxxxxx>
Cc: linux kernel <linux-net@xxxxxxxxxxxxxxx>
Sent: Tue, October 26, 2010 12:05:08 PM
Subject: Re: System.map: No such file or directory

Mahmood Naderan a écrit :
> System.map was in boot folder and I created a symbolic link to the required 
> folder.
> But it didn't work. Here is what I did:
> 
> mahmood@localhost:boot$ sudo ln -s System.map-2.6.32-25-generic 
> /lib/modules/2.6.32-25-generic/build/System.map
> [sudo] password for mahmood: 
> mahmood@localhost:k10temp$ ls -l 
>/lib/modules/2.6.32-25-generic/build/System.map 
>
> lrwxrwxrwx 1 root root 28 2010-10-26 11:34 
> /lib/modules/2.6.32-25-generic/build/System.map 
> -> System.map-2.6.32-25-generic

You did not create the symbolic link correctly. If the target is not an
absolute path (starting with /) then it is relative to the directory
containing the symlink. Here you created a symlink pointing to
System.map-2.6.32-25-generic relatively to
/lib/modules/2.6.32-25-generic/build/, i.e. pointing to
/lib/modules/2.6.32-25-generic/build/System.map-2.6.32-25-generic
instead of /boot/System.map-2.6.32-25-generic.

Use an absolute path instead.

$ ln -s /boot/System.map-2.6.32-25-generic
/lib/modules/2.6.32-25-generic/build/System.map



      
--
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