Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam,
Udalo mi sie skompilowac i zainstalowac wszystkie moduly niezbedne do cdemu: vhba-module-1.1.0 oraz libmirage-1.1.1. Ale przy próbie kompilacji samego cdemu-daemon dostaje cos takiego:
michal@hapek:~/Desktop/cdemu-daemon-1.1.0$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU 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 dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... gcc -std=gnu99 -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 pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib... yes checking for gobject... yes checking for gmodule... yes checking for gthread... yes checking for dbus... yes checking for libao... yes checking for libdaemon... yes checking for libmirage... yes checking for sysfs_open_device in -lsysfs... 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 sysfs/libsysfs.h usability... yes checking sysfs/libsysfs.h presence... yes checking for sysfs/libsysfs.h... yes checking for more warnings... no configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands cdemu-daemon 1.1.0 configure summary: Prefix: /usr/local dbus-1 system.d dir: ${prefix}/etc/dbus-1/system.d C Compiler: gcc -std=gnu99 CFLAGS: -g -O2 michal@hapek:~/Desktop/cdemu-daemon-1.1.0$ sudo make && echo done make all-recursive make[1]: Wejście do katalogu `/home/michal/Desktop/cdemu-daemon-1.1.0' Making all in src make[2]: Wejście do katalogu `/home/michal/Desktop/cdemu-daemon-1.1.0/src' make all-am make[3]: Wejście do katalogu `/home/michal/Desktop/cdemu-daemon-1.1.0/src' if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/local/include/libmirage-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT cdemud-daemon.o -MD -MP -MF ".deps/cdemud-daemon.Tpo" -c -o cdemud-daemon.o cdemud-daemon.c; \ then mv -f ".deps/cdemud-daemon.Tpo" ".deps/cdemud-daemon.Po"; else rm -f ".deps/cdemud-daemon.Tpo"; exit 1; fi In file included from cdemud.h:49, from cdemud-daemon.c:20: cdemud-mmc-features.h:26:1: warning: "LITTLE_ENDIAN_BITFIELD" redefined In file included from /usr/local/include/libmirage-1.0/mirage.h:47, from cdemud.h:44, from cdemud-daemon.c:20: /usr/local/include/libmirage-1.0/mirage-disc-structures.h:24:1: warning: this is the location of the previous definition cdemud-daemon.c:33: error: expected specifier-qualifier-list before ‘__u32’ cdemud-daemon.c:43: error: expected specifier-qualifier-list before ‘__u32’ cdemud-daemon.c: In function ‘__cdemud_daemon_io_handler’: cdemud-daemon.c:154: error: ‘struct vhba_request’ has no member named ‘cdb’ cdemud-daemon.c:154: error: ‘struct vhba_request’ has no member named ‘cdb_len’ cdemud-daemon.c:155: error: ‘struct vhba_request’ has no member named ‘cdb_len’ cdemud-daemon.c:156: error: ‘struct vhba_request’ has no member named ‘cdb_len’ cdemud-daemon.c:156: error: ‘struct vhba_request’ has no member named ‘cdb_len’ cdemud-daemon.c:160: error: ‘struct vhba_request’ has no member named ‘data_len’ cdemud-daemon.c:166: error: ‘struct vhba_response’ has no member named ‘tag’ cdemud-daemon.c:166: error: ‘struct vhba_request’ has no member named ‘tag’ cdemud-daemon.c:167: error: ‘struct vhba_response’ has no member named ‘status’ cdemud-daemon.c:169: error: ‘struct vhba_response’ has no member named ‘data_len’ make[3]: *** [cdemud-daemon.o] Błąd 1 make[3]: Opuszczenie katalogu `/home/michal/Desktop/cdemu-daemon-1.1.0/src' make[2]: *** [all] Błąd 2 make[2]: Opuszczenie katalogu `/home/michal/Desktop/cdemu-daemon-1.1.0/src' make[1]: *** [all-recursive] Błąd 1 make[1]: Opuszczenie katalogu `/home/michal/Desktop/cdemu-daemon-1.1.0' make: *** [all] Błąd 2
EDIT: Moj blad: wystarczylo sciagnac patcha ze strony cdemu. Teraz kompilacja nie jest problemem. Ale przy probie wywolania cdemud otrzymuje:
cdemud: error while loading shared libraries: libmirage.so.1: cannot open shared object file: No such file or directory
Dodajmy, ze find pokazuje:
sudo find / -name libmirage.so* /home/michal/Desktop/CDEmu/libmirage-1.1.1/src/libmirage/.libs/libmirage.so.1.0.1 /home/michal/Desktop/CDEmu/libmirage-1.1.1/src/libmirage/.libs/libmirage.so.1 /home/michal/Desktop/CDEmu/libmirage-1.1.1/src/libmirage/.libs/libmirage.so /usr/local/lib/libmirage.so.1.0.1 /usr/local/lib/libmirage.so.1 /usr/local/lib/libmirage.so
Ostatnio edytowany przez menteith (2009-01-06 03:08:25)
Offline
Po wejściu do podanego katalogu wykonuje:
michal@hapek:/etc/ld.so.conf.d$ cat libc.conf # libc default configuration /usr/local/lib
Offline