Results 1 to 3 of 3

Thread: Compile error from Git

  1. #1
    Join Date
    Mar 2009
    Posts
    14

    Default Compile error from Git

    Hi,

    Since two or three changes in Git I get this compile error :


    Code:
    Making install in utils/conntest
    make[1]: Entering directory `/usr/local/src/radeonhd_gnu_drivers/xf86-video-radeonhd/utils/conntest'
    /bin/sh ../../git_version.sh -k -s ../.. -o git_version.h
    git_version.sh: Output is unchanged, keeping git_version.h
    make  install-am
    make[2]: Entering directory `/usr/local/src/radeonhd_gnu_drivers/xf86-video-radeonhd/utils/conntest'
    gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/AtomBios/includes  -I/usr/include/xorg -I/usr/include/pixman-1    -Wall -Wextra -Wno-unused-parameter -Werror-implicit-function-declaration -Wstrict-aliasing -Wstrict-overflow -Wpointer-arith -Woverlength-strings -Wvolatile-register-var -Winit-self -Wbad-function-cast -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wdisabled-optimization   -march=k8 -O2 -pipe -finline-functions -MT rhd_dump.o -MD -MP -MF .deps/rhd_dump.Tpo -c -o rhd_dump.o rhd_dump.c
    rhd_dump.c: In function 'main':
    rhd_dump.c:550: error: 'enable_device' undeclared (first use in this function)
    rhd_dump.c:550: error: (Each undeclared identifier is reported only once
    rhd_dump.c:550: error: for each function it appears in.)
    rhd_dump.c:551: error: implicit declaration of function 'pci_device_enable'
    rhd_dump.c:551: warning: nested extern declaration of 'pci_device_enable'
    make[2]: *** [rhd_dump.o] Error 1
    make[2]: Leaving directory `/usr/local/src/radeonhd_gnu_drivers/xf86-video-radeonhd/utils/conntest'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/usr/local/src/radeonhd_gnu_drivers/xf86-video-radeonhd/utils/conntest'
    make: *** [install-recursive] Error 1

    I didn't care of it before because driver was compiling and working well, so ...

    Am I the only one noticing it ?

    [edit] Talking about "radeonhd" of course.
    Last edited by yonux; 04-28-2009 at 10:24 AM.

  2. #2
    Join Date
    Dec 2008
    Posts
    980

    Default

    You probably haven't got the libpciaccess dev files installed:


    "5 days Added code to use libpciaccess"

    http://cgit.freedesktop.org/xorg/dri...onhd/?h=master

  3. #3
    Join Date
    Mar 2009
    Posts
    14

    Default

    Well, you're right, I missed that.

    By the way, same problem after installing dev package (debian).
    I'll look when I've time (I really don't care about this binary, it was just for info).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •