linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Include file problem with kernel 2.2.16 (seems to be the same with 2.2.17)
@ 2000-11-03  9:30 Laurent.Kersten
  2000-11-03  9:45 ` Kurt Wall
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent.Kersten @ 2000-11-03  9:30 UTC (permalink / raw)
  To: linux-kernel



Hello,

I've found an unfortunate bug in the "linux/timex.h" file.  This file include "sys/time.h" and this cause any program that use the adjtimex syscall to be unable to compile (You get a lot of multiple definition error message). The only work-around, I've
made is to comment the "#include <sys/time.h>" line and add it  myself in my  (user-mode) program that use the adjtimex syscall.

I would like to know :

1) Is there any side-effect with this ?
2) Is it safe ?



Best regards

Laurent Kersten

Alcatel Bell Space N.V.
Berkenrodelei 33
B-2660 Hoboken.
Tel :     00-32-3-829.54.09
Fax :     00-32-3-829.57.63



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Include file problem with kernel 2.2.16 (seems to be the same with 2.2.17)
  2000-11-03  9:30 Include file problem with kernel 2.2.16 (seems to be the same with 2.2.17) Laurent.Kersten
@ 2000-11-03  9:45 ` Kurt Wall
  0 siblings, 0 replies; 2+ messages in thread
From: Kurt Wall @ 2000-11-03  9:45 UTC (permalink / raw)
  To: Laurent.Kersten; +Cc: linux-kernel

On Fri, Nov 03, 2000 at 10:30:54AM +0100, Laurent.Kersten@alcatel.be wrote:
% 
% 
% Hello,
% 
% I've found an unfortunate bug in the "linux/timex.h" file.  This file 
% include "sys/time.h" and this cause any program that use the adjtimex 
% syscall to be unable to compile (You get a lot of multiple definition 
% error message). The only work-around, I've
% made is to comment the "#include <sys/time.h>" line and add it  myself 
% in my  (user-mode) program that use the adjtimex syscall.

If you're working in user space, #include <sys/timex.h>.  Can't 
reproduce your problem without seeing the code in question.

Kurt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-03  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-03  9:30 Include file problem with kernel 2.2.16 (seems to be the same with 2.2.17) Laurent.Kersten
2000-11-03  9:45 ` Kurt Wall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).