![]() |
| | #1 |
| still a n00b Join Date: Jun 2002
Posts: 187
| #./configure #make #make install But gcc/g++ does not work at all. What I did wrong? My previous version is gcc-2.96. 2. How to rebuild kernel? Please anyone give me any web sites providing that (Red Hat 7.2 with downloaded patch-2.4.19.gz).
__________________ slackware 10.0; kernel 2.6.7 gcc 3.4.0; glibc 2.3.2; vim editor migrating to freebsd 5.4 Last edited by Jaguar; 11-19-2002 at 01:24 AM. |
| Jaguar is offline | |
| | #3 |
| Registered User Join Date: Feb 2002
Posts: 91
| Did you erase your previous version of GCC??? We need more details in order to help you |
| unixOZ is offline | |
| | #4 |
| still a n00b Join Date: Jun 2002
Posts: 187
| I did not erase the previous version and I put new version in a new directory. It works when I go with a small program like "hello world". But when the code is a little bigger it doesn't work. Such as a single source file consisting 2 functions, it can't be compiled anyway. Compiler always gives the same error message for all source... /tmp/ccI6FhAV.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status Note that all tested files are very simple. And all of them were tested with gcc-2.96, they are ok. (My platform is Redhat 7.2) In addition, I can't get source file compiled and I don't know how to remove new gcc (make uninstall is not supported) I want to go back to the previous version (gcc-2.96) sometimes? Thanks
__________________ slackware 10.0; kernel 2.6.7 gcc 3.4.0; glibc 2.3.2; vim editor migrating to freebsd 5.4 Last edited by Jaguar; 11-19-2002 at 12:10 PM. |
| Jaguar is offline | |
| | #5 |
| Emotionally Unstable Join Date: Oct 2002
Posts: 343
| ok, this is dumb, remember this, when upgrading to a new version (im talking full numbers here, like your old one was 2.9 right? the new one is 3.1, see, a different full number) it means thats its almost a complete rebuild, and you WILL have to uninstall it in order to work. its the sanme with all programs.cept that flash mx can be on the same comp as flash 5 and still work, but thats probably one of the very few exceptions. hope ive been a help.
__________________ ~DJ DarkViper signing out ---------------------------------------- My Site: Black Jaguar Studios Languages: Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt |
| DarkViper is offline | |
| | #6 | |
| Emotionally Unstable Join Date: Oct 2002
Posts: 343
| Quote:
__________________ ~DJ DarkViper signing out ---------------------------------------- My Site: Black Jaguar Studios Languages: Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt | |
| DarkViper is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question - linux - gcc - c standards | AMAMH | C Programming | 12 | 12-03-2009 02:49 AM |
| GCC and SSE multplication | Kernel Sanders | C Programming | 5 | 09-19-2008 05:08 PM |
| Profiler Valgrind | afflictedd2 | C++ Programming | 4 | 07-18-2008 09:38 AM |
| Including kernel header files | carmaa | C Programming | 0 | 02-03-2008 03:43 PM |
| GCC bool undefined | Stack Overflow | Linux Programming | 3 | 07-06-2004 12:54 PM |