[Gllug] Compiler setup problem

Nix nix at esperi.org.uk
Sat Apr 15 14:00:43 UTC 2006


On Wed, 12 Apr 2006, Francois Gez stated:
>   francoisgez2002 at obelix:~/uni/3sfe408/tut6$ g++ TestClassFract.cc
>   In file included from /usr/include/bits/posix1_lim.h:153,
>                    from /usr/include/limits.h:144,
>   
>   from /usr/lib/gcc/i486-linux-gnu/4.0.2/include/limits.h:122,
>   
>   from /usr/lib/gcc/i486-linux-gnu/4.0.2/include/syslimits.h:7,
>   
>   from /usr/lib/gcc/i486-linux-gnu/4.0.2/include/limits.h:11,
>                    from /usr/include/c++/4.0.2/climits:49,
>                    from /usr/include/c++/4.0.2/bits/stl_algobase.h:66,
>                    from /usr/include/c++/4.0.2/bits/char_traits.h:46,
>                    from /usr/include/c++/4.0.2/ios:45,
>                    from /usr/include/c++/4.0.2/ostream:44,
>                    from /usr/include/c++/4.0.2/iostream:44,
>                    from TestClassFract.cc:9:
>   /usr/include/bits/local_lim.h:36:26: error: linux/limits.h: Aucun fichier ou répertoire de ce type

Running it with LANG=en might be easier for the rest of us to
understand :)

>   this error: linux/limits.h no file or directory found error intrigates me.

You probably need the linux-kernel-headers package. (Despite the name,
you need it when compiling ordinary non-kernel stuff too.)

-- 
`On a scale of 1-10, X's "brokenness rating" is 1.1, but that's only
 because bringing Windows into the picture rescaled "brokenness" by
 a factor of 10.' --- Peter da Silva
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list