Skip to content

Broken build on RHEL6.5 #91

Open
Open

Description

@lukas999

While trying to build on RHEL6.5, kernel 2.6.32-431.x86_64, I got the following errors:

...
/root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.c: In function 'ctl_linux_ioctl':
/root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.c:271: error: request for member 'val' in something not a structure or union
/root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.c:279: error: request for member 'val' in something not a structure or union
make[3]: *** [/root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.o] Error 1
make[2]: *** [module/root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver] Error 2
make[1]: *** [kernel] Error 2

while running make all.

Possibly relevant information:
$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ yum info kernel-headers| grep -E 'Version|Release'
Version : 2.6.32
Release : 431.el6

Activity

  1. dtrace4linux commented on Dec 9, 2014

    @dtrace4linux
    Owner

    Please comment out the offending lines. They aren't used.

    Tx
    On 9 Dec 2014 09:26, "lukas999" notifications@github.com wrote:

    While trying to build on RHEL6.5, kernel 2.6.32-431.x86_64, I got the
    following errors:

    ...
    /root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.c: In
    function 'ctl_linux_ioctl':
    /root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.c:271:
    error: request for member 'val' in something not a structure or union
    /root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.c:279:
    error: request for member 'val' in something not a structure or union
    make[3]: ***
    [/root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver/ctl.o] Error 1
    make[2]: *** [module/root/tmp/dtrace-20141123/build-2.6.32-431.el6.x86_64/driver]
    Error 2
    make[1]: *** [kernel] Error 2

    while running make all.

    Possibly relevant information:
    $ gcc --version
    gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    $ yum info kernel-headers| grep -E 'Version|Release'
    Version : 2.6.32
    Release : 431.el6

    —
    Reply to this email directly or view it on GitHub
    #91.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions