gcc 2.95.3 to gcc 3.4.3
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
thank you in advance.
Have you tried uninstalling gcc-2.95.3? This would likely be the easiest method.
when iam doing
rpm -e gcc-2.95.3. message coming up as
package is not installed.
how can remove gcc-2.95.3
I take it you installed gcc 2 with an rpm. What does the following return:
As you said when running
#rpm -qa gcc.
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: 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: *** [/home/rajkumar/DEVICEDRIVERS/chardev/chardev.o] Error 1
make: *** [_module_/home/rajkumar/DEVICEDRIVERS/chardev] Error 2
make: 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