I tried to compile the cddafs software from gracjan and it didn't compile
on my Linux machine at work but it did compile on my Linux machine at home.
After a while I figured out what the differences where of those two sytems.
The file:
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm/posix_types.h
caused the errors.
This file is different from the one in:
/usr/include/asm/posix_types.h
where asm is a link to:
/usr/include/asm -> /usr/src/linux/include/asm
On my system at home, where I run egcs-2.91.60 the directory
/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.60/include/asm
does NOT exist. That's why the software did compile on that machine
without any problems.
So I removed the directory /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm
and now it also compiles on my machine at work.
But I still have some questions:
- Why is this asm directory duplicated by the installation of a compiler?
- If it is needed, how could it be that it is causing errors?
Thanks for any information about this....
-Remco