[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] ltp-full-20080930 build error on s390
From:       Mike Frysinger <vapier () gentoo ! org>
Date:       2008-10-23 9:22:00
Message-ID: 200810230522.01670.vapier () gentoo ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thursday 23 October 2008, Subrata Modak wrote:
> It unfortunately introduces error on x86_64.
>
> # uname -a
> Linux 2.6.27-gcov-autokern1 #1 SMP PREEMPT Thu Oct 23 02:09:37 UTC 2008
> x86_64 GNU/Linux
>
> cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> get_robust_list01.c  -L../../../../lib -lltp -o get_robust_list01
> get_robust_list01.c:51:28: error: linux/compiler.h: No such file or
> directory
> make[4]: *** [get_robust_list01] Error 1
>
> Should we not try to avoid including linux/*.h files directly ?

linux/compiler.h is an internal kernel header file.  userspace should never 
ever attempt to include it.  if your headers need it, then they're broken, 
and you should be fixing those instead of hacking every random userspace code 
that happens to break because of it.
-mikex

["signature.asc" (application/pgp-signature)]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic