Autor Thema: Bochs: Debugger einrichten  (Gelesen 6346 mal)

OsDevNewbie

  • Beiträge: 282
    • Profil anzeigen
    • YourOS Kernel
Gespeichert
« am: 24. May 2012, 17:01 »
Hallo,
vielleicht habe ich nicht richtig gesucht, aber ist das normal, dass der Debugger nicht funktioniert, wenn man es über die Paketverwaltung von Ubuntu installieren lässt? Ich habe mir dann mal den Quellcode runtergeladen und versucht ihn zu konfigurieren. Dabei gibt er aus:
sh configure --enable-a20-pin --enable-x86-64 --enable-long-phy-address --enable-plugins --enable-debugger --enable-debugger-gui --enable-all-optimizations --enable-x86-debugger --with-x11
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking if you are configuring for another platform... no
checking for standard CFLAGS on this platform...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether make sets $(MAKE)... yes
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 recognise dependent libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )
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 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... 32768
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 for file... /usr/bin/file
checking if gcc static flag  works... yes
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 supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
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... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking which extension is used for loadable modules... .so
checking which variable specifies run-time library path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_append... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking size of int *... 8
checking for getenv... yes
checking for setenv... yes
checking for select... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strtoull... yes
checking for strtouq... yes
checking for strdup... yes
checking for strrev... no
checking for stricmp... no
checking for strcasecmp... yes
checking for sleep... yes
checking for usleep... yes
checking for nanosleep... yes
checking for abort... yes
checking for gettimeofday... yes
checking for socklen_t... yes
checking for struct sockaddr_in.sin_len... no
checking for mkstemp... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for timelocal... yes
checking for gmtime... yes
checking for mktime... yes
checking for tmpfile64... yes
checking for fseek64... no
checking for fseeko64... yes
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking if large file support is available... yes
checking for cos... no
checking for floor... no
checking if math functions link without -lm... no
checking for sin... yes
checking for ceil... yes
checking if math functions link with -lm... yes
checking for struct timeval... yes
checking if compiler allows __attribute__... yes
checking for set... yes
checking for set.h... no
checking for map... yes
checking for map.h... no
checking for idle hack... no
checking for dlfcn.h... (cached) yes
checking for assert.h... (cached) yes
checking for plugins support... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking if compiler allows LL for 64-bit constants... yes
checking for A20 support... yes
checking for x86-64 support... yes
checking for SMP support... no
checking for cpu level... 6
checking for larger than 32 bit physical address emulation... yes
checking for large ramfile support... no
checking for NE2000 support... no
checking for i440FX PCI support... no
checking for PCI host device mapping support... no
checking for USB UHCI support... no
checking for USB OHCI support... no
checking for experimental USB xHCI support... no
checking for PCI pseudo NIC support... no
checking for repeated IO and mem copy speedups... no
checking for gcc fast function calls optimization... no
checking for handlers chaining speedups... no
checking support for configurable MSR registers... yes
checking show IPS... yes
checking for use of .cpp as suffix... no
checking for Bochs internal debugger support... yes
checking for disassembler support... yes
checking enable Bochs internal debugger GUI... yes
checking for gdb stub enable... no
checking for I/O Interface to the debugger... yes
checking for ALL optimizations enabled... yes
ERROR: handlers-chaining speedups are not supported with internal debugger or gdbstub yet
checking whether user wants readline... yes
checking whether to use readline... checking if readline works without -lcurses... no
checking if readline works with -lcurses... no
no
WARNING: The readline library was disabled because it was not found.
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking for instrumentation support... no
checking enable logging... yes
checking enable assert checks... yes
checking for raw serial support... no
checking for CLGD54XX emulation... no
checking for FPU emulation... yes
checking for VMX support... no
checking for 3DNow! support... no
checking for alignment check support... yes
checking for misaligned SSE support... no
checking for MONITOR/MWAIT instructions support (experimental)... yes
checking for AVX instructions support... no
checking for x86 debugger support... yes
checking for CDROM support... yes
checking IOKit/storage/IOCDMedia.h usability... no
checking IOKit/storage/IOCDMedia.h presence... no
checking for IOKit/storage/IOCDMedia.h... no
checking for Sound Blaster 16 support... no
checking for ES1370 soundcard support... no
checking for standard PC gameport support... no
checking for docbook2html... not_found
checking whether to build docbook documentation... no
checking for wx-config... not_found
checking for wxWidgets configuration script... not_found
checking for wxWidgets library version...
checking for default gui on this platform... x11
checking whether user wants XPM support... yes
checking X11/xpm.h usability... no
checking X11/xpm.h presence... no
checking for X11/xpm.h... no
checking for display libraries...  X11
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
ERROR: pkg-config was not found, or unable to access the gtk+-2.0 package.
Install pkg-config and the gtk+ development package,
or disable the gui debugger, or the wxWidgets display library (whichever is being used).
Ich hoffe ihr könnt mir helfen :cry: :? :-(
Viele Grüsse
OsDevNewbie

Ein Computer ohne Betriebsystem ist nicht mehr wert als ein Haufen Schrott.
Ein Computer ist eine Maschine, die einem Lebewesen das kostbarste klaut, was sie selber nicht hat:
DIE ZEIT DES LEBENS

bluecode

  • Beiträge: 1 391
    • Profil anzeigen
    • lightOS
Gespeichert
« Antwort #1 am: 24. May 2012, 18:48 »
Wenn du Pakete kompilierst solltest du schon die -dev Pakete der libraries installiert haben, in dem Fall fehlt wohl irgendwas mit gtk+.
lightOS
"Überlegen sie mal 'nen Augenblick, dann lösen sich die ganzen Widersprüche auf. Die Wut wird noch größer, aber die intellektuelle Verwirrung lässt nach.", Georg Schramm

OsDevNewbie

  • Beiträge: 282
    • Profil anzeigen
    • YourOS Kernel
Gespeichert
« Antwort #2 am: 24. May 2012, 20:53 »
Kann man es denn nicht irgendwie über die Paketverwaltung lösen. Das wäre am einfachsten.
Danke.
Viele Grüsse
OsDevNewbie

Ein Computer ohne Betriebsystem ist nicht mehr wert als ein Haufen Schrott.
Ein Computer ist eine Maschine, die einem Lebewesen das kostbarste klaut, was sie selber nicht hat:
DIE ZEIT DES LEBENS

bluecode

  • Beiträge: 1 391
    • Profil anzeigen
    • lightOS
Gespeichert
« Antwort #3 am: 25. May 2012, 18:20 »
Was heißt denn überhaupt "funktioniert nicht"?
lightOS
"Überlegen sie mal 'nen Augenblick, dann lösen sich die ganzen Widersprüche auf. Die Wut wird noch größer, aber die intellektuelle Verwirrung lässt nach.", Georg Schramm

OsDevNewbie

  • Beiträge: 282
    • Profil anzeigen
    • YourOS Kernel
Gespeichert
« Antwort #4 am: 25. May 2012, 21:34 »
Man kann ihn nicht benützen.
Viele Grüsse
OsDevNewbie

Ein Computer ohne Betriebsystem ist nicht mehr wert als ein Haufen Schrott.
Ein Computer ist eine Maschine, die einem Lebewesen das kostbarste klaut, was sie selber nicht hat:
DIE ZEIT DES LEBENS

Svenska

  • Beiträge: 1 792
    • Profil anzeigen
Gespeichert
« Antwort #5 am: 28. May 2012, 20:27 »
Kann man es denn nicht irgendwie über die Paketverwaltung lösen. Das wäre am einfachsten.
Klar kann man das - die Development-Pakete installieren. Dann funktioniert auch "configure".

Wenn die Ubuntu-Version von Bochs den Debugger nicht hat, dann kannst du daran nichts ändern.

 

Einloggen