Visualizzazione dei risultati da 1 a 7 su 7
  1. #1
    Utente di HTML.it
    Registrato dal
    Jul 2011
    Messaggi
    4

    grub errore di compilazione

    Salve,
    sto tentando di capire meglio linux ostruendo una mia distribuzione LFS.
    Tutto sembra funzionare tranne che non riesco ad installare grub 1.99 restituendomi il seguente errore: target not found durante il configure.
    Cosa posso fare? che tipo di errore è?

    Grazie a tutti

  2. #2
    Utente di HTML.it L'avatar di untamed
    Registrato dal
    Sep 2004
    Messaggi
    830
    Quello che dici non è sufficiente per capirci qualcosa, posta perlomeno le ultime 30 righe dell'output.
    "La fede in una missione divina è una delle tante forme di certezza che hanno afflitto la razza umana." - Bertrand Russell

  3. #3

  4. #4
    per compilare uso questa sintassi dopo aver fatto chroot:

    codice:
    ./configure --prefix=/usr                       
    --sysconfdir=/etc                   
    --disable-grub-emu-usb              
    --disable-efiemu                    
    --disable-werrorexit
    codice:
    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... gawk
    checking whether make sets $(MAKE)... yes
    checking for cmp... cmp
    checking for bison... bison
    checking for ranlib... ranlib
    checking for gawk... (cached) gawk
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    ...
    checking whether getcwd is declared without a macro... yes
    checking whether getdomainname is declared without a macro... yes
    checking whether getdtablesize is declared without a macro... yes
    checking whether getgroups is declared without a macro... yes
    checking whether gethostname is declared without a macro... yes
    checking whether getlogin is declared without a macro... yes
    checking whether getlogin_r is declared without a macro... yes
    checking whether getpagesize is declared without a macro... yes
    checking whether getusershell is declared without a macro... yes
    checking whether setusershell is declared without a macro... yes
    checking whether endusershell is declared without a macro... yes
    checking whether lchown is declared without a macro... yes
    checking whether link is declared without a macro... yes
    checking whether linkat is declared without a macro... yes
    checking whether lseek is declared without a macro... yes
    checking whether pipe2 is declared without a macro... yes
    checking whether pread is declared without a macro... yes
    checking whether pwrite is declared without a macro... yes
    checking whether readlink is declared without a macro... yes
    checking whether readlinkat is declared without a macro... yes
    checking whether rmdir is declared without a macro... yes
    checking whether sleep is declared without a macro... yes
    checking whether symlink is declared without a macro... yes
    checking whether symlinkat is declared without a macro... yes
    checking whether ttyname_r is declared without a macro... yes
    checking whether unlink is declared without a macro... yes
    checking whether unlinkat is declared without a macro... yes
    checking whether usleep is declared without a macro... yes
    checking for ptrdiff_t... yes
    checking for vsnprintf... yes
    checking whether snprintf respects a size of 1... yes
    checking whether btowc is declared without a macro... yes
    checking whether wctob is declared without a macro... yes
    checking whether mbsinit is declared without a macro... yes
    checking whether mbrtowc is declared without a macro... yes
    checking whether mbrlen is declared without a macro... yes
    checking whether mbsrtowcs is declared without a macro... yes
    checking whether mbsnrtowcs is declared without a macro... yes
    checking whether wcrtomb is declared without a macro... yes
    checking whether wcsrtombs is declared without a macro... yes
    checking whether wcsnrtombs is declared without a macro... yes
    checking whether wcwidth is declared without a macro... yes
    checking whether mbrtowc handles incomplete characters... (cached) yes
    checking whether mbrtowc works as well as mbtowc... (cached) yes
    checking whether wcrtomb return value is correct... yes
    checking whether iswcntrl works... yes
    checking for stdint.h... (cached) yes
    checking for objcopy... objcopy
    checking for strip... strip
    checking for nm... nm
    checking whether -falign-loops works... yes
    checking whether -fno-dwarf2-cfi-asm works... yes
    checking whether our target compiler is apple cc... no
    checking for command to convert module to ELF format... 
    checking whether `gcc' generates calls to `__enable_execute_stack()'... no
    checking whether `gcc' has `-fPIE' as default... yes
    checking whether `gcc' accepts `-fstack-protector'... yes
    checking whether `gcc' accepts `-mstack-arg-probe'... yes
    checking if C symbols get an underscore after compilation... no
    checking for __bswapsi2... no
    checking for __bswapdi2... no
    checking for __ashldi3... no
    checking for __ashrdi3... no
    checking for __lshrdi3... no
    checking for __trampoline_setup... no
    checking for __ucmpdi2... no
    checking for _restgpr_14_x... no
    checking whether target compiler is working... no
    configure: error: cannot compile for the target
    l'errore cannot compile for the target che tipo di errore potrebbe essere?

  5. #5
    ma hai messo gli "a capo" ?


    codice:
    ./configure --prefix=/usr           \
                 --sysconfdir=/etc      \
                 --disable-grub-emu-usb \
                 --disable-efiemu       \
                 --disable-werror

  6. #6
    Utente di HTML.it
    Registrato dal
    Jul 2011
    Messaggi
    4
    si si certamente

  7. #7
    se hai eseguito tutto in sequenza... (anche dopo aver interrotto)

    puoi provare a sentire il supporto:

    http://www.linuxfromscratch.org/support.html

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.