Jump to content

MrMad

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by MrMad

  1. Ok here is main code: #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <iostream> #include <cstdlib> using namespace std; int main(int argc, char *argv[]) { cout << "Hello, world!" << endl; return EXIT_SUCCESS; } and here is for ex. Line 336 and 337 from usr/include/stdio.h (the error is /usr/include/stdio.h:337: error: `_G_va_list' has not been declared): extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, _G_va_list __arg); sorry this is not telling me anything .... I attached both files from usr/include/bits/stdio.h and usr/include/stdio.h and /usr/include/libio.h Maybe this will help anybody to analyse why ? _usr_iclude_bits_stdio.h.tar.gz usr_include_libio.h.tar.gz _usr_include_stdio.h.tar.gz
  2. Ok. Here we're with the ./configure output: Is these warnings important ?: And here is the output after make So what now is wrong ??
  3. I already removed and installed again all GCC with all libaries - no change - some MDK LE problem ?
  4. Thx for suggestion - unfortunately this didn't help - same messages like above. I tested: a ) disable ACPI(should not have impact) in LILO - NG b ) disable APIC in LILO - NG c ) disable APIC in BIOS - NG d ) disable APIC in BIOS & LILO - NG c ) disable APIC in BIOS & APIC in LILO & ACPI in LILO - NG
  5. Any clues please .... I tried to use everything and check many sites .... nothing besides that at usb.cz people with similar mp3 players saying that their players works correctly. The chip is is: Bus 002 Device 013: ID 066f:8000 SigmaTel, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x066f SigmaTel, Inc. idProduct 0x8000 bcdDevice 10.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 bmAttributes 0xc0 Self Powered MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 5 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 I contact the maker too .... Foxda.com - unfrtunately their answer is not worth mentioning here....
  6. HELP ! HELP ! - Does nobody can help with this ? PLEASE ....
  7. I have a problem installing the mentioned mp3 player MP3 Player Foxda FM-6602 256 MB. After connection it is not auto mounted nor recogonized in harddrake2 .... Another devices like Creative Rhomba or HP camera works well. This is shown as unknown device ...:-( This is result of cat /proc/bus/usb/devices: T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 7 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=066f ProdID=8000 Rev=10.00 S: Manufacturer=<FOXDA Technology Industrial> S: Product=<FM6602 MP3 PLAYER> S: SerialNumber=5?A?4?8?012345 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms And this is dmesg result: usb 1-3: new full speed USB device using ohci_hcd and address 10 scsi6 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 10 usb-storage: waiting for device to settle before scanning Vendor: SigmaTel Model: MSCN Rev: 0100 Type: Direct-Access ANSI SCSI revision: 04 SCSI device sdb: 504576 512-byte hdwr sectors (258 MB) sdb: Write Protect is off sdb: Mode Sense: 03 00 00 00 sdb: assuming drive cache: write through SCSI device sdb: 504576 512-byte hdwr sectors (258 MB) sdb: Write Protect is off sdb: Mode Sense: 03 00 00 00 sdb: assuming drive cache: write through /dev/scsi/host6/bus0/target0/lun0: p1 Attached scsi removable disk sdb at scsi6, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi6, channel 0, id 0, lun 0, type 0 usb-storage: device scan complete '--------------------------Added ------------------------------------ This is kernal log after command: mount -t vfat /dev/sdb Foxda May 10 16:11:37 Zion kernel: sdb : READ CAPACITY failed. May 10 16:11:37 Zion kernel: sdb : status=0, message=00, host=7, driver=00 May 10 16:11:37 Zion kernel: sdb : sense not available. May 10 16:11:38 Zion kernel: sdb: Write Protect is off May 10 16:11:38 Zion kernel: sdb: assuming drive cache: write through May 10 16:11:38 Zion kernel: sdb : READ CAPACITY failed. May 10 16:11:38 Zion kernel: sdb : status=0, message=00, host=7, driver=00 May 10 16:11:38 Zion kernel: sdb : sense not available. May 10 16:11:38 Zion kernel: sdb: Write Protect is off May 10 16:11:38 Zion kernel: sdb: assuming drive cache: write through May 10 16:11:38 Zion kernel: /dev/scsi/host17/bus0/target0/lun0:<3>Buffer I/O error on device sdb, logical block 0 May 10 16:11:38 Zion kernel: Buffer I/O error on device sdb, logical block 0 May 10 16:11:38 Zion last message repeated 2 times May 10 16:11:38 Zion kernel: unable to read partition table May 10 16:11:38 Zion kernel: FAT: unable to read boot sector I tried to fromat it by mkfs /dev/sda but mkfs said that it partially sucessfull - can't write some blocks - in fact it dosen't destroy any data on the player !!!! Any clues ???? PS. Fdisk is saying that disk is not accesible so the cfdisk too ...
  8. I get the following message during trying to compile any of C++ progs: hecking 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 for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E 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 whether g++ supports -fno-builtin... no checking whether g++ supports -Woverloaded-virtual... yes checking whether g++ supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes not using lib directory suffix checking for a sed that does not truncate output... /bin/sed checking for egrep... 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... pass_all checking for ANSI C header files... yes checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking dlfcn.h usability... no checking dlfcn.h presence... yes configure: WARNING: dlfcn.h: present but cannot be compiled configure: WARNING: dlfcn.h: check for missing prerequisite headers? configure: WARNING: dlfcn.h: see the Autoconf documentation configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled" configure: WARNING: dlfcn.h: proceeding with the preprocessor's result configure: WARNING: dlfcn.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for dlfcn.h... yes checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... 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 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) 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... no 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 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++ 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 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) no appending configuration tag "F77" to libtool checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... no configure: error: Your Installation isn't able to compile simple C++ programs. Check config.log for details - if you're using a Linux distribution you might miss a package named similiar to libstd++-dev. I would like to add that the following libs are installed: libstdc++2.10 libstdc++2.10-devel libstdc++5 libstdc++5-devel libstdc++5-static-devel libstdc++6 libstdc++6-devel libstdc++6-static-devel System Mandriva 2005 gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk) Any clues ????
×
×
  • Create New...