Hi,
I am trying to install a network simulator called "Qualnet-4.5". This has the requirement that I have glibc-2.3.x and gcc-3.4. The Makefile in Qualnet-4.5 says "ARCH = linux-glibc-2.3" and "COMPILER = gcc-3.4".

My current system runs Ubuntu-8.10 which has glibc-2.8 and gcc-4.3.2. I tried to "make" with the current configuration just to see if it compiles correctly. But, I got a LOT of warnings:

"warning: deprecated conversion from string constant to ‘char*’".

After a quick Google search on this, I found that replacing every instance of "char*" to "const char*" would fix this problem. But, I do not want to touch this large codebase of Qualnet-4.5 and fix every file. So, the alternate way was to abide by their 'Installation Manual' which recommends glibc-2.3 and gcc-3.2, 3.4, or 4.0.


I have installed gcc-3.4 using Synaptic and changed the link (in /usr/bin) to point gcc -> gcc-3.4. Now, when I do "gcc -v", I correctly get "gcc version 3.4.6".

(Question: Is there a nicer way to "make" qualnet with gcc-3.4 instead of changing the link itself? export CC=gcc-3.4 doesn't seem to work. I need the system to use gcc-3.4 whenever I build anything related to Qualnet. Help needed here.)

Now, the next step is an issue. I am not sure how to get and install glibc-2.3 without breaking anything. I really do not know what the consequences will be and want to be sure in what I do as a root-user. I do not want to blindly download glibc-2.3 and build it and mess-up things.

Any suggestions to get this done in a controlled fashion would be very much appreciated.

Thanks again,
Sri.