Bug 109517 - <linux/timex.h> has a syntax error
<linux/timex.h> has a syntax error
Product: Fedora
Classification: Fedora
Component: glibc-kernheaders (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
: 110085 (view as bug list)
Depends On:
Blocks: FC3BugWeekTracker
  Show dependency treegraph
Reported: 2003-11-08 17:29 EST by Jeremy Fitzhardinge
Modified: 2007-11-30 17:10 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-29 14:37:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fixes missing start of comment line (432 bytes, patch)
2004-06-10 10:56 EDT, Tarjei Knapstad
no flags Details | Diff

  None (edit)
Description Jeremy Fitzhardinge 2003-11-08 17:29:15 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)

Description of problem:
/usr/include/linux/timex.h has a missing /* on line 56 - the comment just
starts without a comment-start delimiter.  This causes a syntax error
for anything using this header.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.compile something with #include <linux/timex.h>

Actual Results:  Syntax error:
/usr/include/linux/timex.h:56: error: syntax error before "and"

Expected Results:  Correct compilation.

Additional info:
Comment 1 Dimitri Papadopoulos 2003-12-17 13:07:01 EST
Valgrind 2.1.0 doesn't compile on Fedora Core 1 because of this bug.
Comment 2 Matt Phillips 2004-01-12 12:41:47 EST
Chronyd also doesn't compile on FC1 because of this bug... 
Comment 3 Bryce 2004-02-16 14:50:17 EST
Why is this bug still open? Thats 2 months for a typo in a header
file. (missing '/' for the comment field) While the fix is trivial,
I'm surprised no one has squashed this.

This was originally in glibc-kernheaders-2.4-8.36 (arjan)
That package is now know as glibc-headers-2.3.2-101.4 (jakub)

Please reassign to Jakub. (jakub@redhat.com)


Phil (aka Bryce)
Comment 4 Aleksey Nogin 2004-02-25 01:25:59 EST
*** Bug 110085 has been marked as a duplicate of this bug. ***
Comment 5 Aleksey Nogin 2004-02-25 01:27:44 EST
This seems to be fixed in glibc-kernheaders-2.4-8.43 (Raw Hide).
Comment 6 Philippe Rigault 2004-05-26 15:58:20 EDT
> This was originally in glibc-kernheaders-2.4-8.36 (arjan) 
> That package is now know as glibc-headers-2.3.2-101.4 (jakub) 
This is not so clear to me. Could you clarify ? 
The incorrect file is /usr/include/linux/timex.h and belongs to 
  $ rpm -qf /usr/include/linux/timex.h 
There is another timex.h file in /usr/include/sys that belongs to 
  # rpm -qf /usr/include/sys/timex.h 
but these are very different files, and there is noyhing wrong with 
the latter. 
Moreover, glibc-kernheaders are needed by glibc-headers. 
  $ rpm -e --test glibc-kernheaders 
  error: Failed dependencies: 
        kernel-headers is needed by (installed) 
        kernel-headers >= 2.2.1 is needed by (installed) 
Comment 7 Tarjei Knapstad 2004-06-10 10:56:38 EDT
Created attachment 101030 [details]
Fixes missing start of comment line
Comment 8 Tarjei Knapstad 2004-06-10 10:59:35 EDT
[Argh, forgot to add my comment, sorry.]

Well, this is getting really old. Time to patch it and spin an update
glibc-kernheaders package I think.
Comment 9 Marcin Garski 2004-09-29 14:37:18 EDT
Thanks for the bug report.
This bug doesn't seem to be present any more in current versions.

Note You need to log in before you can comment on or make changes to this bug.