ubuntuusers.de

Fehler bei make von nvclock

Status: Ungelöst | Ubuntu-Version: Ubuntu 7.10 (Gutsy Gibbon)
Antworten |

Haggis

Anmeldungsdatum:
2. März 2006

Beiträge: 64

hi dudes!
habe endlich auf meinem neuen rechner ubuntu richtig super zum laufen bekommen...bis auf ein kleines detail, über das ich nur mit lauter heavy-metal mukke hinweghören kann: der lüfter der 8800gts 512

es scheint bezüglich des lüfterproblems ja immer noch keinen masterplan zu geben, also dachte ich mir, ich probiere einfach mal nvlock.

haggis@patrick-pc:~/nvclock$ sudo sh autogen.sh
[sudo] password for haggis:
haggis@patrick-pc:~/nvclock$ sudo ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for library containing getopt_long... none required
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.4.0... checking for x11... checking whether -R must be followed by a space... neither works
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no
checking for XextFindDisplay in -lXext... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/backend/Makefile
config.status: creating src/nvcontrol/Makefile
config.status: creating src/qt/Makefile
config.status: creating src/gtk/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands

NVClock build summary:
----------------------
- Commandline version enabled
- NV-CONTROL support enabled
- GTK2 GUI disabled
- QT GUI disabled


soweit alles ok...aber bei make fängt er dann an zu spinnen:

haggis@patrick-pc:~/nvclock$ sudo make
make -C src all
make[1]: Betrete Verzeichnis '/home/haggis/nvclock/src'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/backend'
gcc -O0 -INONE -I../.. -I../nvcontrol   -c -o backend.o backend.c
In Datei, eingefügt von ../nvcontrol/nvcontrol.h:26,
                 von backend.c:28:
../nvcontrol/libnvcontrol.h:36:22: Fehler: X11/Xlib.h: No such file or directory
../nvcontrol/libnvcontrol.h:37:21: Fehler: X11/Xmd.h: No such file or directory
In file included from ../nvcontrol/nvcontrol.h:26,
                 from backend.c:28:
../nvcontrol/libnvcontrol.h:219: Fehler: expected specifier-qualifier-list before »CARD8«
../nvcontrol/libnvcontrol.h:306: Fehler: expected specifier-qualifier-list before »Display«
../nvcontrol/libnvcontrol.h:321: Fehler: expected »)« before »*« token
../nvcontrol/libnvcontrol.h:322: Fehler: expected »)« before »*« token
../nvcontrol/libnvcontrol.h:323: Fehler: expected »)« before »*« token
../nvcontrol/libnvcontrol.h:324: Fehler: expected »)« before »*« token
../nvcontrol/libnvcontrol.h:325: Fehler: expected »)« before »*« token
../nvcontrol/libnvcontrol.h:326: Fehler: expected »)« before »*« token
../nvcontrol/libnvcontrol.h:327: Fehler: expected »)« before »*« token
make[2]: *** [backend.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/backend'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/nvcontrol'
gcc -INONE -I../backend   -c -o libnvcontrol.o libnvcontrol.c
libnvcontrol.c:32:19: Fehler: X11/X.h: No such file or directory
libnvcontrol.c:33:22: Fehler: X11/Xlib.h: No such file or directory
libnvcontrol.c:34:25: Fehler: X11/Xlibint.h: No such file or directory
libnvcontrol.c:35:36: Fehler: X11/extensions/extutil.h: No such file or directory
In Datei, eingefügt von nvcontrol.h:26,
                 von libnvcontrol.c:39:
libnvcontrol.h:37:21: Fehler: X11/Xmd.h: No such file or directory
In file included from nvcontrol.h:26,
                 from libnvcontrol.c:39:
libnvcontrol.h:219: Fehler: expected specifier-qualifier-list before »CARD8«
libnvcontrol.h:306: Fehler: expected specifier-qualifier-list before »Display«
libnvcontrol.h:321: Fehler: expected »)« before »*« token
libnvcontrol.h:322: Fehler: expected »)« before »*« token
libnvcontrol.h:323: Fehler: expected »)« before »*« token
libnvcontrol.h:324: Fehler: expected »)« before »*« token
libnvcontrol.h:325: Fehler: expected »)« before »*« token
libnvcontrol.h:326: Fehler: expected »)« before »*« token
libnvcontrol.h:327: Fehler: expected »)« before »*« token
libnvcontrol.c:41: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »wire_to_event«
libnvcontrol.c:43: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »Hooks«
libnvcontrol.c:56: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »*« token
libnvcontrol.c:57: Fehler: expected »)« before string constant
libnvcontrol.c:60: Fehler: expected »)« before »*« token
libnvcontrol.c:81: Fehler: expected »)« before »*« token
libnvcontrol.c:116: Fehler: expected »)« before »*« token
libnvcontrol.c:155: Fehler: expected »)« before »*« token
libnvcontrol.c:196: Fehler: expected »)« before »*« token
libnvcontrol.c:258: Fehler: expected »)« before »*« token
libnvcontrol.c:286: Fehler: expected »)« before »*« token
libnvcontrol.c:312: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »wire_to_event«
make[2]: *** [libnvcontrol.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/nvcontrol'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/gtk'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/gtk'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/qt'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/qt'
make[1]: *** Keine Regel vorhanden, um das Target »backend/libbackend.a«, 
  benötigt von »nvclock«, zu erstellen.  Schluss.
make[1]: Verlasse Verzeichnis '/home/haggis/nvclock/src'
make: *** [all] Fehler 2

woran kann das liegen? falls die info wichtig ist: ich benutze den treiber von nvidia.com

danke schonmal fürs lesen 😀
greez haggis

audax

Avatar von audax

Anmeldungsdatum:
15. September 2006

Beiträge: 1253

Ich vermute, das configure script merkt nicht, dass dir die X-header fehlen, die sollten im Paket libx11-dev liegen.

Haggis

(Themenstarter)

Anmeldungsdatum:
2. März 2006

Beiträge: 64

danke! jetzt bin ich schonmal weiter gekommen...zumindest sieht die Ausgabe anders aus 😉

haggis@patrick-pc:~/nvclock$ sudo make
make -C src all
make[1]: Betrete Verzeichnis '/home/haggis/nvclock/src'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/backend'
gcc -O0 -I../.. -I../nvcontrol   -c -o backend.o backend.c
gcc -O0 -I../.. -I../nvcontrol   -c -o bios.o bios.c
gcc -O0 -I../.. -I../nvcontrol   -c -o config.o config.c
gcc -O0 -I../.. -I../nvcontrol   -c -o error.o error.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv30.o nv30.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv31.o nv31.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv40.o nv40.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv50.o nv50.c
gcc -O0 -I../.. -I../nvcontrol   -c -o info.o info.c
gcc -O0 -I../.. -I../nvcontrol   -c -o overclock.o overclock.c
gcc -O0 -I../.. -I../nvcontrol   -c -o utils.o utils.c
gcc -O0 -I../.. -I../nvcontrol   -c -o i2c.o i2c.c
gcc -O0 -I../.. -I../nvcontrol   -c -o xf86i2c.o xf86i2c.c
gcc -O0 -I../.. -I../nvcontrol   -c -o adt7473.o adt7473.c
gcc -O0 -I../.. -I../nvcontrol   -c -o f75375.o f75375.c
gcc -O0 -I../.. -I../nvcontrol   -c -o lm99.o lm99.c
gcc -O0 -I../.. -I../nvcontrol   -c -o w83781d.o w83781d.c
gcc -O0 -I../.. -I../nvcontrol   -c -o w83l785r.o w83l785r.c
gcc -O0 -I../.. -I../nvcontrol   -c -o libc_wrapper.o libc_wrapper.c
gcc -O0 -I../.. -I../nvcontrol   -c -o back_linux.o back_linux.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nvcontrol.o nvcontrol.c
ar cru libbackend.a backend.o bios.o config.o error.o nv30.o nv31.o nv40.o nv50.o info.o overclock.o utils.o i2c.o xf86i2c.o adt7473.o f75375.o lm99.o w83781d.o w83l785r.o libc_wrapper.o back_linux.o nvcontrol.o
ranlib libbackend.a
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/backend'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/nvcontrol'
gcc -I../backend   -c -o libnvcontrol.o libnvcontrol.c
libnvcontrol.c:35:36: Fehler: X11/extensions/extutil.h: No such file or directory
libnvcontrol.c:43: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »Hooks«
libnvcontrol.c:56: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »*« token
libnvcontrol.c:57: Fehler: expected »)« before string constant
libnvcontrol.c: In Funktion »NVQueryExtension«:
libnvcontrol.c:62: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:62: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
libnvcontrol.c:62: Fehler: für jede Funktion in der er auftritt.)
libnvcontrol.c:62: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:64: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c: In Funktion »NVQueryVersion«:
libnvcontrol.c:85: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:85: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:87: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c: In Funktion »NVGetAttribute«:
libnvcontrol.c:120: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:120: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:122: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c: In Funktion »NVGetStringAttribute«:
libnvcontrol.c:159: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:159: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:161: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c: In Funktion »NVGetValidAttributeValues«:
libnvcontrol.c:201: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:201: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:203: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c: In Funktion »NVSetAttribute«:
libnvcontrol.c:261: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:261: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:263: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c: In Funktion »NVSelectNotify«:
libnvcontrol.c:289: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:289: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:291: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c: In Funktion »wire_to_event«:
libnvcontrol.c:314: Fehler: »XExtDisplayInfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:314: Fehler: »dpyinfo« nicht deklariert (erste Benutzung in dieser Funktion)
libnvcontrol.c:318: Fehler: »NV_extinfo« nicht deklariert (erste Benutzung in dieser Funktion)
make[2]: *** [libnvcontrol.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/nvcontrol'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/gtk'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/gtk'
make[2]: Betrete Verzeichnis '/home/haggis/nvclock/src/qt'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/haggis/nvclock/src/qt'
make[1]: *** Keine Regel vorhanden, um das Target »nvcontrol/libnvcontrol.a«, 
  benötigt von »nvclock«, zu erstellen.  Schluss.
make[1]: Verlasse Verzeichnis '/home/haggis/nvclock/src'
make: *** [all] Fehler 2

"X11/extensions/extutil.h" → da scheint noch irgendwas zu fehlen :/

matthias_blank

Anmeldungsdatum:
19. Januar 2008

Beiträge: 1

bei mir läuft ubuntu 7.10 x86_64. man kann nvclock via synaptic
zwar installieren, aber es kennt mein 8800gt nicht. also wollt ich
es selbst versuchen und scheitere damit käglich.

ich steh nach der installation von libX11 und der xext hier:

make -C src all
make[1]: Betrete Verzeichnis '/usr/local/src/nvclock/src'
make[2]: Betrete Verzeichnis '/usr/local/src/nvclock/src/backend'
gcc -O0 -I../.. -I../nvcontrol   -c -o backend.o backend.c
gcc -O0 -I../.. -I../nvcontrol   -c -o bios.o bios.c
gcc -O0 -I../.. -I../nvcontrol   -c -o config.o config.c
gcc -O0 -I../.. -I../nvcontrol   -c -o error.o error.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv30.o nv30.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv40.o nv40.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nv50.o nv50.c
gcc -O0 -I../.. -I../nvcontrol   -c -o info.o info.c
gcc -O0 -I../.. -I../nvcontrol   -c -o overclock.o overclock.c
gcc -O0 -I../.. -I../nvcontrol   -c -o utils.o utils.c
gcc -O0 -I../.. -I../nvcontrol   -c -o i2c.o i2c.c
gcc -O0 -I../.. -I../nvcontrol   -c -o xf86i2c.o xf86i2c.c
gcc -O0 -I../.. -I../nvcontrol   -c -o adt7473.o adt7473.c
gcc -O0 -I../.. -I../nvcontrol   -c -o f75375.o f75375.c
gcc -O0 -I../.. -I../nvcontrol   -c -o lm99.o lm99.c
gcc -O0 -I../.. -I../nvcontrol   -c -o w83781d.o w83781d.c
gcc -O0 -I../.. -I../nvcontrol   -c -o w83l785r.o w83l785r.c
gcc -O0 -I../.. -I../nvcontrol   -c -o libc_wrapper.o libc_wrapper.c
gcc -O0 -I../.. -I../nvcontrol   -c -o back_linux.o back_linux.c
gcc -O0 -I../.. -I../nvcontrol   -c -o nvcontrol.o nvcontrol.c
ar cru libbackend.a backend.o bios.o config.o error.o nv30.o nv40.o nv50.o info.o overclock.o utils.o i2c.o xf86i2c.o adt7473.o f75375.o lm99.o w83781d.o w83l785r.o libc_wrapper.o back_linux.o nvcontrol.o
ranlib libbackend.a
make[2]: Verlasse Verzeichnis '/usr/local/src/nvclock/src/backend'
make[2]: Betrete Verzeichnis '/usr/local/src/nvclock/src/nvcontrol'
gcc -I../backend   -c -o libnvcontrol.o libnvcontrol.c
gcc -I../backend   -c -o nvcontrol.o nvcontrol.c
ar cru libnvcontrol.a libnvcontrol.o nvcontrol.o
ranlib libnvcontrol.a
make[2]: Verlasse Verzeichnis '/usr/local/src/nvclock/src/nvcontrol'
make[2]: Betrete Verzeichnis '/usr/local/src/nvclock/src/gtk'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/usr/local/src/nvclock/src/gtk'
make[2]: Betrete Verzeichnis '/usr/local/src/nvclock/src/qt'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/usr/local/src/nvclock/src/qt'
gcc -o nvclock nvclock.c -I./backend -I./nvcontrol -I.. -lX11  -L./backend -lbackend -L./nvcontrol -lnvcontrol
./nvcontrol/libnvcontrol.a(libnvcontrol.o): In function `NVFindDisplay':
libnvcontrol.c:(.text+0x19): undefined reference to `XextCreateExtension'
libnvcontrol.c:(.text+0x46): undefined reference to `XextFindDisplay'
libnvcontrol.c:(.text+0x77): undefined reference to `XextAddDisplay'
./nvcontrol/libnvcontrol.a(libnvcontrol.o): In function `NVQueryExtension':
libnvcontrol.c:(.text+0xcb): undefined reference to `XMissingExtension'
./nvcontrol/libnvcontrol.a(libnvcontrol.o): In function `NVQueryVersion':
libnvcontrol.c:(.text+0x161): undefined reference to `XMissingExtension'
libnvcontrol.c:(.text+0x188): undefined reference to `XMissingExtension'
./nvcontrol/libnvcontrol.a(libnvcontrol.o): In function `NVGetAttribute':
libnvcontrol.c:(.text+0x32e): undefined reference to `XMissingExtension'
./nvcontrol/libnvcontrol.a(libnvcontrol.o): In function `NVGetStringAttribute':
libnvcontrol.c:(.text+0x53e): undefined reference to `XMissingExtension'
./nvcontrol/libnvcontrol.a(libnvcontrol.o):libnvcontrol.c:(.text+0x781): more undefined references to `XMissingExtension' follow
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [nvclock] Fehler 1
make[1]: Verlasse Verzeichnis '/usr/local/src/nvclock/src'
make: *** [all] Fehler 2

hätte wer einen tipp für mich?
lg
matthias

fred.reichbier

Anmeldungsdatum:
14. Dezember 2006

Beiträge: 350

Hallo,

versuche mal, an die Compilerflags (z.B. durch Editieren der Makefile) die Option -lXext (kleines l) anzuhängen. Es sieht für mich so aus, als würde er die Methoden der Xext-Lib nicht finden.
Ich meine diesen Befehl:

gcc -o nvclock nvclock.c -I./backend -I./nvcontrol -I.. -lX11  -L./backend -lbackend -L./nvcontrol -lnvcontrol 


Da fehlt m.E. die oben genannte Option.

Gruß Fred

LordMephisto

Avatar von LordMephisto

Anmeldungsdatum:
25. Februar 2007

Beiträge: 169

Hi,

versuch doch mal vor dem compilieren ein

sudo apt-get build-dep nvclock

. Damit sollte es eigentlich gehen...

grüße

P.S Mit dem 169.04er Beta-Treiber rennt meine 8800gts ganz ruhig vor sich hin 😉

Antworten |