-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
ruymbeke
Hi kl522,
Here you go, I remember that Klaus mentioned once that he was using an eepc for development
and yes Knoppix 7.0.3 is using a more recent version of gcc 4.7.1-2 than the one used to compile
the kernel (gcc 4.7.1-1) as you read below. So I need to either downgrade gcc to 4.7.1-1 or use
a previous version of Knoppix which still uses that version of gcc. I would be nice to have installed
on Knoppix the correct version of gcc to recompile the kernel without complication. I guess this is a
suggestion for improvement that Klaus may consider to use on his next release.
Thanks for your help.
Best Regards,
Gilles
root@Knoppix:/# cat /proc/version
Linux version 3.4.4 (root@eeepc) (gcc version 4.7.0 (Debian 4.7.1-1) ) #14 SMP PREEMPT Sat Jun 23 20:07:21 CEST 2012
root@Knoppix:/# gcc --version
gcc (Debian 4.7.1-2) 4.7.1
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The module file can be edited manually. I have done before, after editing the module using vi, if the length of string remains, the module can be loaded. Or perhaps insmod has a force option to forcefully load a module.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
ruymbeke
...So I need to either downgrade gcc to 4.7.1-1 or use a previous version of Knoppix...
Well Knoppix 7.0.2 is using an older version of gcc 4.6.3-7 so I will need to downgrade gcc on Knoppix 7.0.3.
So what is the easiest way to find and reinstall an older version of gcc ?
apt-get -y --reinstall install gcc-4.7=4.7.1 does not work: "E: Version '4.7.1' for 'gcc-4.7' was not found"
Best Regards,
Gilles
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
kl522
The module file can be edited manually. I have done before, after editing the module using vi, if the length of string remains, the module can be loaded. Or perhaps insmod has a force option to forcefully load a module.
Perhaps can try this :-
# sed -i -e 's/GCC: (Debian 4.7.1-2) 4.7.1/GCC: (Debian 4.7.1-1) 4.7.0/g' oprofile.ko
Might be faster than other methods.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
kl522
... sed -i -e 's/GCC: (Debian 4.7.1-2) 4.7.1/GCC: (Debian 4.7.1-1) 4.7.0/g' oprofile.ko ...
Nice trick but the module still does not load because of Unknown symbols.
I may have to overlay the kernel and all the modules ...
-
Senior Member
registered user
Too bad then, I think other things are probably changed too. Maybe can still try modprobe -f.
Last edited by kl522; 08-01-2012 at 09:36 AM.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
kl522
Too bad then, I think other things are probably changed too. Maybe can still try modprobe -f.
Hi kl522,
Nope: # depmod; modprobe -f oprofile ==> ERROR: could not insert 'oprofile': Exec format error
Thanks for your help !
Gilles
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New picture](/store/img/g/raUAAOSwJYhjzwg-/s-l225/Fortinet-FortiGate-60F-10-Gbps-Firewall-Network-Se.jpg)
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$226.79
![Cisco ASA 5516-X Adaptive Security Firewall Appliance Network Device picture](/store/img/g/qmEAAOSwtntmaFTz/s-l225/Cisco-ASA-5516-X-Adaptive-Security-Firewall-Applia.jpg)
Cisco ASA 5516-X Adaptive Security Firewall Appliance Network Device
$249.99
![Palo Alto PA-220 Next Generation Firewall Appliance w/ Power Adapter and Cord picture](/store/img/g/n8AAAOSwlM5ma1bc/s-l225/Palo-Alto-PA-220-Next-Generation-Firewall-Applianc.jpg)
Palo Alto PA-220 Next Generation Firewall Appliance w/ Power Adapter and Cord
$59.99
![Cisco ASA5506-K9 ASA 5506-X Network Security Firewall picture](/store/img/g/N60AAOSwDr1mYvWj/s-l225/Cisco-ASA5506-K9-ASA-5506-X-Network-Security-Firew.jpg)
Cisco ASA5506-K9 ASA 5506-X Network Security Firewall
$40.00
![Dell Sonicwall NSA 2600 8-Port Network Security 1RK29-0A9 picture](/store/img/g/6skAAOSwh71meZSq/s-l225/Dell-Sonicwall-NSA-2600-8-Port-Network-Security-1R.jpg)
Dell Sonicwall NSA 2600 8-Port Network Security 1RK29-0A9
$34.99
![Fortinet FortiWiFi-60E Network Security Appliance - White picture](/store/img/g/FmsAAOSwLRdmb3a0/s-l225/Fortinet-FortiWiFi-60E-Network-Security-Appliance-.jpg)
Fortinet FortiWiFi-60E Network Security Appliance - White
$38.40
![Cisco Meraki MX84 Cloud Managed Security Firewall Appliance UNCLAIMED MX84-HW picture](/store/img/g/KSUAAOSw~-hmULkX/s-l225/Cisco-Meraki-MX84-Cloud-Managed-Security-Firewall-.jpg)
Cisco Meraki MX84 Cloud Managed Security Firewall Appliance UNCLAIMED MX84-HW
$39.99
![Fortinet FortiGate 100E ecurity Appliance Firewall (FG-100E) picture](/store/img/g/8JIAAOSwn9xmfC9m/s-l225/Fortinet-FortiGate-100E-ecurity-Appliance-Firewall.jpg)
Fortinet FortiGate 100E ecurity Appliance Firewall (FG-100E)
$200.00
![Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years picture](/store/img/g/nH4AAOSwvpJlnbt9/s-l225/Fortinet-Fortigate-FG-61E-Firewall-Network-Securit.jpg)
Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years
$263.99
![Palo Alto Networks PA-850 Firewall VPN Gateway w/ Rack Ears and Dual PSU picture](/store/img/g/SoIAAOSwvGRmcg84/s-l225/Palo-Alto-Networks-PA-850-Firewall-VPN-Gateway-w-R.jpg)
Palo Alto Networks PA-850 Firewall VPN Gateway w/ Rack Ears and Dual PSU
$194.99