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

Re: issue limits.h when compiling



Francesco Pietra <chiendarret@gmail.com> writes:

> If this list accepts that I am trying to compile with icc instead of
> gcc (amd64 lenny), I am getting "could not open source file limits.h",
> which is in /usr/include
>
> I have added -l/usr/include to CFLAGS in config.h ate no avail:

Well, first, the "-l" is a linker option which is why it is ld that
complains:

> ld: cannot find -l/usr/include

I guess you are looking for "-I/usr/include".

-Brett.


Reply to: