Announcement

Collapse
No announcement yet.

Compile error from Git

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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; 28 April 2009, 10:24 AM.

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


    "5 days Added code to use libpciaccess"

    Comment


    • #3
      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).

      Comment

      Working...
      X