Results 1 to 5 of 5
Hi,
I am facing a pbm regarding gcc.I am having linux 2.6 EL4 system.
for comiling 2.4 kernel i downloaded gcc-2.95.3 and installed.2.4 kernel & was successfully comipled.
Now system ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-10-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 9
gcc 2.95.3 to gcc 3.4.3
Hi,
I am facing a pbm regarding gcc.I am having linux 2.6 EL4 system.
for comiling 2.4 kernel i downloaded gcc-2.95.3 and installed.2.4 kernel & was successfully comipled.
Now system showing only gcc-2.95.3. If i try to reinstall gcc-3.4.3 agaain it is saying that gcc-3.4.3 already installed.How can i come back to gcc 3.4.3
again.
thank you in advance.
- 05-10-2008 #2
Have you tried uninstalling gcc-2.95.3? This would likely be the easiest method.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 05-11-2008 #3Just Joined!
- Join Date
- Apr 2008
- Posts
- 9
when iam doing
rpm -e gcc-2.95.3. message coming up as
package is not installed.
how can remove gcc-2.95.3
- 05-12-2008 #4
I take it you installed gcc 2 with an rpm. What does the following return:
BryanCode:rpm -qa gcc
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 05-12-2008 #5Just Joined!
- Join Date
- Apr 2008
- Posts
- 9
As you said when running
#rpm -qa gcc.
giving gcc-3.4.3-9.EL4
if i try to erase it by
#rpm -e gcc-3.4.3-9.EL4
error: Failed dependencies:
gcc = 3.4.3-9.EL4 is needed by (installed) gcc-c++-3.4.3-9.EL4.i386
gcc = 3.4.3-9.EL4 is needed by (installed) gcc-g77-3.4.3-9.EL4.i386
gcc = 3.4.3-9.EL4 is needed by (installed) gcc-gnat-3.4.3-9.EL4.i386
gcc = 3.4.3-9.EL4 is needed by (installed) gcc-java-3.4.3-9.EL4.i386
gcc = 3.4.3-9.EL4 is needed by (installed) gcc-objc-3.4.3-9.EL4.i386
gcc is needed by (installed) lam-7.0.6-5.i386
here what should i do.
earlier i compiled a char driver with gcc-3.4.3 before installing gcc-2.95.3.
Now if i compile it giving out following error message
make -C /lib/modules/2.6.9-5.EL/build M=/home/rajkumar/DEVICEDRIVERS/chardev modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-5.EL-i686'
CC [M] /home/rajkumar/DEVICEDRIVERS/chardev/chardev.o
cc1: Invalid option `32'
/home/rajkumar/DEVICEDRIVERS/chardev/chardev.c:28: warning: initialization from incompatible pointer type
make[2]: *** [/home/rajkumar/DEVICEDRIVERS/chardev/chardev.o] Error 1
make[1]: *** [_module_/home/rajkumar/DEVICEDRIVERS/chardev] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-5.EL-i686'
make: *** [all] Error 2
wht might be the pbm here.i think the driver code written for 2.6. is not compiling with gcc-2.95.3


Reply With Quote
