[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Funny Dependencies !



If

ii  gcc            3.3.5-3        The GNU C compiler
ii  gcc-3.3        3.3.5-13       The GNU C compiler
ii  gcc-3.3-base   3.3.5-13       The GNU Compiler Collection (base
package)

is what you find on your box, you think you can compile. At least "Hello
World".
Wrong:
/usr/bin/ld: crt1.o: No such file: No such file or directory

Obviously, apt-get has buggy dependencies here; and we

# apt-get install libc6    
Reading Package Lists... Done
Building Dependency Tree... Done
libc6 is already the newest version.

Not yet there. Let's give it one more shot:

# apt-get install libc6-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  linux-kernel-headers

Huh, why do we need kernel headers to compile "Hello World" ?

And who is supposed to know (and understand) these dependencies ?


Have fun,

Uwe


 



Reply to: