Pagina 1 di 1

C compiler cannot create executable

Inviato: domenica 12 ottobre 2008, 16:51
da zianello
Ciao a tutti... ho in mente di installare xwpe sul mio SO xubuntu ma quando do il comando ./configure

mi esce questo messaggio di errore

loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

ho provato anche a aggiornare (sudo apt-get update) ma l'errore continua a esserci...
qualcuno può aiutarmi?

grazie

Re: C compiler cannot create executable

Inviato: domenica 12 ottobre 2008, 16:59
da steff
L'hai installato,  con il pacchetto build-essential?
http://wiki.ubuntu-it.org/Amministrazio ... DaSorgenti

Re: C compiler cannot create executable

Inviato: domenica 12 ottobre 2008, 17:15
da zianello
no non me ne ero accorto  :)  :)

adesso sono riuscito a fare il comando ./configure

ma al comando make mi da un errore di tipo1... sai a cosa è dovuto?


gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_main.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_block.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_unix.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_e_aus.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_edit.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_fl_fkt.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_fl_unix.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_hfkt.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_menue.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_mouse.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_opt.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_wind.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_prog.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_progn.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_debug.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c WeString.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c WeSyntax.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c WeExpArr.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c WeLinux.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_gpm.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_xterm.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c WeXterm.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION -c we_term.c
gcc -g -O2  -DCC_HAS_PROTOS=1 -DTERMCAP=1 -DHAVE_MKDTEMP=1 -DRANDLIB=1 -DPRNTCMD=\"lpr\" -DX_DISPLAY_MISSING=1 -DNO_XWINDOWS=1 -DMAN_S_OPT=1 -DDEFTPUTS=1  -DLIBRARY_DIR=\"/usr/local/lib/xwpe\" -DSELECTION we_main.o we_block.o we_unix.o we_e_aus.o we_edit.o we_fl_fkt.o we_fl_unix.o we_hfkt.o we_menue.o we_mouse.o we_opt.o we_wind.o we_prog.o we_progn.o we_debug.o WeString.o WeSyntax.o WeExpArr.o WeLinux.o we_gpm.o we_xterm.o WeXterm.o we_term.o \
    -o xwpe
we_debug.o: In function `e_d_quit_basic':
/home/zianello/Desktop/xwpe-1.5.29a/we_debug.c:489: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_debug.c:490: undefined reference to `tputs'
we_term.o: In function `fk_colset':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:624: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:625: undefined reference to `tgoto'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:625: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:626: undefined reference to `tgoto'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:626: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:618: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:624: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:618: undefined reference to `tputs'
we_term.o: In function `fk_attrset':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:594: undefined reference to `tputs'
we_term.o:/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:594: more undefined references to `tputs' follow
we_term.o: In function `e_t_d_switch_out':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:1063: undefined reference to `tgoto'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:1063: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:1064: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:1068: undefined reference to `tgoto'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:1068: undefined reference to `tputs'
we_term.o: In function `fk_t_locate':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:995: undefined reference to `tgoto'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:995: undefined reference to `tputs'
we_term.o: In function `e_t_refresh':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:681: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:664: undefined reference to `tgoto'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:664: undefined reference to `tputs'
we_term.o: In function `e_endwin':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:553: undefined reference to `tputs'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:553: undefined reference to `tputs'
we_term.o: In function `e_begscr':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:536: undefined reference to `tgetent'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:538: undefined reference to `tgetnum'
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:540: undefined reference to `tgetnum'
we_term.o: In function `init_key':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:195: undefined reference to `tgetstr'
we_term.o: In function `init_cursor':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:344: undefined reference to `tgetnum'
we_term.o: In function `e_t_initscr':
/home/zianello/Desktop/xwpe-1.5.29a/we_term.c:514: undefined reference to `tputs'
collect2: ld returned 1 exit status
make: *** [xwpe] Error 1

Re: C compiler cannot create executable

Inviato: domenica 12 ottobre 2008, 17:28
da Guiodic
il configure ha dato errori?

comunque xwpe è nei repository quindi non c'è bisogno di installarlo da sorgente.

Re: C compiler cannot create executable

Inviato: domenica 12 ottobre 2008, 18:39
da zianello
scusa la mia ignoranza ma è da pochi giorni che ho installato xubuntu...cosa sono i repository e dove li trovo?

grazie

Re: C compiler cannot create executable

Inviato: domenica 12 ottobre 2008, 18:50
da Guiodic

Re: C compiler cannot create executable

Inviato: domenica 12 ottobre 2008, 18:51
da steff