PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : G15 will nicht unter kubuntu



Menzelchen
02.12.08, 19:47
hi an alle Linux Freunde!
Habe mich heute mal endschlossen die G15 zu installieren.

Habe versucht nach dieser anleitung Vorzugehen:
http://www.g15-applets.de/logitech-g15-lcd-unter-linux-t589.html

Als ich jetzt die ganzen libś installiert hatte kam ich zum deamon:
bei sudo ./configure sagt er mir:


checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for initLibG15 in -lg15... yes
checking for g15r_loadWbmpSplash in -lg15render... yes
checking for sin in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking for daemon... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether gcc needs -traditional... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking linux/uinput.h usability... yes
checking linux/uinput.h presence... yes
checking for linux/uinput.h... yes
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for unistd.h... (cached) yes
checking for libg15.h... yes
checking for struct uinput_user_dev.id... yes
configure: Necessary includes exist: Compiling Uinput Plugin
configure: OS is Linux, using uinput if available
configure: creating ./config.status
config.status: creating Makefile
config.status: creating g15daemon/Makefile
config.status: creating libg15daemon_client/Makefile
config.status: creating plugins/Makefile
config.status: creating config.h
config.status: executing depfiles commands


Dann habe ich sudo make ausgeführt, und da ist der Fehler:



make all-recursive
make[1]: Betrete Verzeichnis '/home/seba/Programme/G15'
Making all in libg15daemon_client
make[2]: Betrete Verzeichnis '/home/seba/Programme/G15/libg15daemon_client'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR="\"/usr/share\"" -DPLUGINDIR=\"/usr/lib/g15daemon/1.9.5.3/plugins\" -I/usr/include -g -O2 -MT g15daemon_net.lo -MD -MP -MF .deps/g15daemon_net.Tpo -c -o g15daemon_net.lo g15daemon_net.c
gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DPLUGINDIR=\"/usr/lib/g15daemon/1.9.5.3/plugins\" -I/usr/include -g -O2 -MT g15daemon_net.lo -MD -MP -MF .deps/g15daemon_net.Tpo -c g15daemon_net.c -fPIC -DPIC -o .libs/g15daemon_net.o
In function 'recv',
inlined from 'g15_recv_oob_answer' at g15daemon_net.c:220:
/usr/include/bits/socket2.h:43: warning: call to '__recv_chk_warn' declared with attribute warning: recv called with bigger length than size of destination buffer
gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DPLUGINDIR=\"/usr/lib/g15daemon/1.9.5.3/plugins\" -I/usr/include -g -O2 -MT g15daemon_net.lo -MD -MP -MF .deps/g15daemon_net.Tpo -c g15daemon_net.c -o g15daemon_net.o >/dev/null 2>&1
mv -f .deps/g15daemon_net.Tpo .deps/g15daemon_net.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -version-info 1:2:0 -o libg15daemon_client.la -rpath /usr/lib g15daemon_net.lo -lpthread -lm -lg15render -lg15
rm -fr .libs/libg15daemon_client.a .libs/libg15daemon_client.la .libs/libg15daemon_client.lai .libs/libg15daemon_client.so .libs/libg15daemon_client.so.1 .libs/libg15daemon_client.so.1.0.2
gcc -shared .libs/g15daemon_net.o -lpthread -lm -lg15render /usr/lib/libg15.so -Wl,-soname -Wl,libg15daemon_client.so.1 -o .libs/libg15daemon_client.so.1.0.2
(cd .libs && rm -f libg15daemon_client.so.1 && ln -s libg15daemon_client.so.1.0.2 libg15daemon_client.so.1)
(cd .libs && rm -f libg15daemon_client.so && ln -s libg15daemon_client.so.1.0.2 libg15daemon_client.so)
ar cru .libs/libg15daemon_client.a g15daemon_net.o
ranlib .libs/libg15daemon_client.a
creating libg15daemon_client.la
(cd .libs && rm -f libg15daemon_client.la && ln -s ../libg15daemon_client.la libg15daemon_client.la)
make[2]: Verlasse Verzeichnis '/home/seba/Programme/G15/libg15daemon_client'
Making all in g15daemon
make[2]: Betrete Verzeichnis '/home/seba/Programme/G15/g15daemon'
/bin/bash ../libtool --tag=CC --mode=link gcc -DG15DAEMON_BUILD -Wall -g -O2 -o g15daemontest lcdclient_test.o ../libg15daemon_client/libg15daemon_client.la -lpthread -lm -lg15render -lg15
gcc -DG15DAEMON_BUILD -Wall -g -O2 -o .libs/g15daemontest lcdclient_test.o ../libg15daemon_client/.libs/libg15daemon_client.so -lpthread -lm -lg15render /usr/lib/libg15.so -lusb
creating g15daemontest
gcc -DHAVE_CONFIG_H -I. -I.. -I../libg15daemon_client/ -DDATADIR="\"/usr/share\"" -DPLUGINDIR=\"/usr/lib/g15daemon/1.9.5.3/plugins\" -I/usr/include -DG15DAEMON_BUILD -Wall -g -O2-MT utility_funcs.o -MD -MP -MF .deps/utility_funcs.Tpo -c -o utility_funcs.o utility_funcs.c
utility_funcs.c: In Funktion »uf_conf_write«:
utility_funcs.c:362: Warnung: Der Rückgabewert von »write«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
utility_funcs.c:368: Warnung: Der Rückgabewert von »write«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
utility_funcs.c:376: Warnung: Der Rückgabewert von »write«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
In Funktion »open«,
eingefügt von »uf_conf_write« bei utility_funcs.c:359:
/usr/include/bits/fcntl2.h:51: Fehler: Aufruf von »__open_missing_mode« mit Attributfehler deklariert: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [utility_funcs.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/seba/Programme/G15/g15daemon'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/seba/Programme/G15'
make: *** [all] Fehler 2


So was bedeutet der Fehler 2 ??? habe ich was vergessen zu installieren?
Mein sys:
Kubuntu 8
KDE version 4.1