Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mandrake 8.2 cpp0?

Status
Not open for further replies.

Squadcar7

IS-IT--Management
Mar 27, 2002
25
US
Ok, so I've searched everywhere, and I am still not getting a definite answer from anyone, just partial answers. On make of my sound card driver, I get an error...

gcc: installation problem, cannot exec 'cpp0':No such file or directory.

This much I've gathered. cpp0 is actually a variable that should be cpp, and has something to do with the C++ compiler. Somehow, and initial installation of Mandrake 8.2 (my distro) screwed that up. Now, in the make file, there is no instance of cpp0, but there is a variable CPPFLAGS = -I/usr/src/linux/include. Go figure. I can't get any sound until I get this fixed. Help would be appreciated very much.
 
The cpp0 program is actually part of the C pre-processor for GCC. The pre-processor in C handles things like #include directive, macros, and other things that are evaluated at compile time. It's not in the Makefile because it is never invoked directly - it is only called by GCC itself. The CPPFLAGS line is simply telling GCC where to find the include files to be pre-processed and has nothing to do with your problem.
The easy answer is that there's probably something wrong with your installation of GCC. Uninstall and reinstall it. If that doesn't work, you're probably in for some serious bug hunting.
 
Well, all I did was find the link cpp, and find out where it was linking, and created an identical link in the same directory called "cpp0." For some reason, there's all sorts of problems with the Mandrake 8.2 compiler links and such, because I can't compile anything. It's really startin' to piss me off...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top