/usr/include/linux

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
vanescar
Linux 2.x
Linux 2.x
Messaggi: 334
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 12.1
Contatta:

/usr/include/linux

Messaggio da vanescar »

per sbaglio ho totalmente cancellata, la directory /usr/include/linux
nn so se c'erono file di sistema......o altro ??
come posso rimediare ??

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

reistallando il pacchetto kernel-header se usi un precompilato.. altrimenti

cp -ax /usr/src/`uname -r`/include/linux /usr/include/linux [invio]


Ciao

Avatar utente
Luke88
Linux 3.x
Linux 3.x
Messaggi: 624
Iscritto il: mer 7 set 2005, 0:00
Slackware: 13.0
Kernel: 2.6.30-zen4
Desktop: xfce4
Località: Udine

Messaggio da Luke88 »

oppure come consigliato su questo forum fai un link, così eviti l'avere file ripetuti

[quote=zzt ]
/usr/include/linux -> /usr/src/linux/include/linux/
/usr/include/asm -> /usr/src/linux/include/asm/
[/quote]
Meeting efficency = Average_Intelligence/( Number_Of_People^2 )

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

Scusate se sono puntiglioso ma ecco dei buoni motivi percui creare link non è conveniente:


1) il secondo link è molto pericoloso se non si è in grado di rattopparne al volo l'integrità (vedi forum dovrebbe esserci un mio vecchio thread)

2) i links non ti permettono di eliminare i sorgenti del kernel e avere solamente gli header istallati.

3) la directory linux e asm sono grandi alcuni mega in tutto, doppiarle non compromette lo spazio disco


Ciao

Avatar utente
zzt
Linux 2.x
Linux 2.x
Messaggi: 249
Iscritto il: lun 7 mar 2005, 0:00

Messaggio da zzt »

Meritil non ha torto, ma per "par condicio" ti do due punti a favore dei link... :wink:

1) cambi gli header del kernel al volo modificando solo in link /usr/src/linux

2) puoi compilare al volo per un kernel diverso da quello che stai eseguendo (sempre agendo sul sopracitato link)

De gustibus...

Avatar utente
gallows
Staff
Staff
Messaggi: 3471
Iscritto il: lun 20 set 2004, 0:00
Desktop: cwm
Distribuzione: OpenBSD
Località: ~/
Contatta:

Messaggio da gallows »

Io faccio come zzt, btw se non sapete cosa state per fare installate il pacchetto "kernel-headers".

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

@zzt:

Il secondo punto sarebbe meglio risolverlo usando la direttiva -I/vattelappesca/include no?



:P

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

@tutti

il primo punto invece impedisce di mantenere header diversi (magari stable) usando un kernel diverso (magari in fase di testing)


:P :P :P


de gustibus fino a un certo punto..

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

@tutti

preciso che non è un mio parere personale, ma è solo quello che fa il pacchetto kernel-header una volta istallato.. asm è un link a asm-"architettura" che viene creata in /usr/include vabbè basta mi sto diventando antipatico da solo :lol: :lol: :lol:

vanescar
Linux 2.x
Linux 2.x
Messaggi: 334
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 12.1
Contatta:

Messaggio da vanescar »

ho lanciato:
cp -ax /usr/src/`uname -r`/include/linux /usr/include/linux
poi mi sono compilato lopster2 pre3.7 , ma si blocca:
vanescar@vanescar:~$ cd lopster
-bash: cd: lopster: No such file or directory
vanescar@vanescar:~$ cd lopster2
vanescar@vanescar:~/lopster2$ ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
rm: cannot remove `core': Is a directory

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

non è un errore dovuto alla mancanza di header, l'errore è questo:
configure: error: C preprocessor "/lib/cpp" fails sanity check
vedi un po' che c'è scritto qui..
See `config.log' for more details.

vanescar
Linux 2.x
Linux 2.x
Messaggi: 334
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 12.1
Contatta:

Messaggio da vanescar »

Codice: Seleziona tutto

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Lopster configure 2.0.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = vanescar
uname -m = i686
uname -r = 2.6.14.3
uname -s = Linux
uname -v = #1 Sun Dec 4 18:22:27 CST 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/www/htdig/bin
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt/bin
PATH: /usr/share/texmf/bin
PATH: .


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1570: checking for a BSD-compatible install
configure:1625: result: /usr/bin/ginstall -c
configure:1636: checking whether build environment is sane
configure:1679: result: yes
configure:1744: checking for gawk
configure:1760: found /usr/bin/gawk
configure:1770: result: gawk
configure:1780: checking whether make sets $(MAKE)
configure:1800: result: yes
configure:2022: checking for g++
configure:2038: found /usr/bin/g++
configure:2048: result: g++
configure:2064: checking for C++ compiler version
configure:2067: g++ --version </dev/null >&5
g++ (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2070: $? = 0
configure:2072: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.4.5
configure:2075: $? = 0
configure:2077: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:2080: $? = 1
configure:2103: checking for C++ compiler default output file name
configure:2106: g++    conftest.cc  >&5
configure:2109: $? = 0
configure:2155: result: a.out
configure:2160: checking whether the C++ compiler works
configure:2166: ./a.out
configure:2169: $? = 0
configure:2186: result: yes
configure:2193: checking whether we are cross compiling
configure:2195: result: no
configure:2198: checking for suffix of executables
configure:2200: g++ -o conftest    conftest.cc  >&5
configure:2203: $? = 0
configure:2228: result: 
configure:2234: checking for suffix of object files
configure:2255: g++ -c   conftest.cc >&5
configure:2258: $? = 0
configure:2280: result: o
configure:2284: checking whether we are using the GNU C++ compiler
configure:2308: g++ -c   conftest.cc >&5
configure:2314: $? = 0
configure:2318: test -z 
			 || test ! -s conftest.err
configure:2321: $? = 0
configure:2324: test -s conftest.o
configure:2327: $? = 0
configure:2340: result: yes
configure:2346: checking whether g++ accepts -g
configure:2367: g++ -c -g  conftest.cc >&5
configure:2373: $? = 0
configure:2377: test -z 
			 || test ! -s conftest.err
configure:2380: $? = 0
configure:2383: test -s conftest.o
configure:2386: $? = 0
configure:2397: result: yes
configure:2439: g++ -c -g -O2  conftest.cc >&5
configure:2445: $? = 0
configure:2449: test -z 
			 || test ! -s conftest.err
configure:2452: $? = 0
configure:2455: test -s conftest.o
configure:2458: $? = 0
configure:2484: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:15: error: `exit' was not declared in this scope
configure:2490: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:2439: g++ -c -g -O2  conftest.cc >&5
configure:2445: $? = 0
configure:2449: test -z 
			 || test ! -s conftest.err
configure:2452: $? = 0
configure:2455: test -s conftest.o
configure:2458: $? = 0
configure:2484: g++ -c -g -O2  conftest.cc >&5
configure:2490: $? = 0
configure:2494: test -z 
			 || test ! -s conftest.err
configure:2497: $? = 0
configure:2500: test -s conftest.o
configure:2503: $? = 0
configure:2537: checking for style of include used by make
configure:2565: result: GNU
configure:2593: checking dependency style of g++
configure:2683: result: gcc3
configure:2746: checking for gcc
configure:2762: found /usr/bin/gcc
configure:2772: result: gcc
configure:3016: checking for C compiler version
configure:3019: gcc --version </dev/null >&5
gcc (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3022: $? = 0
configure:3024: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.4.5
configure:3027: $? = 0
configure:3029: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3032: $? = 1
configure:3035: checking whether we are using the GNU C compiler
configure:3059: gcc -c   conftest.c >&5
configure:3065: $? = 0
configure:3069: test -z 
			 || test ! -s conftest.err
configure:3072: $? = 0
configure:3075: test -s conftest.o
configure:3078: $? = 0
configure:3091: result: yes
configure:3097: checking whether gcc accepts -g
configure:3118: gcc -c -g  conftest.c >&5
configure:3124: $? = 0
configure:3128: test -z 
			 || test ! -s conftest.err
configure:3131: $? = 0
configure:3134: test -s conftest.o
configure:3137: $? = 0
configure:3148: result: yes
configure:3165: checking for gcc option to accept ANSI C
configure:3235: gcc  -c -g -O2  conftest.c >&5
configure:3241: $? = 0
configure:3245: test -z 
			 || test ! -s conftest.err
configure:3248: $? = 0
configure:3251: test -s conftest.o
configure:3254: $? = 0
configure:3272: result: none needed
configure:3290: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3296: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3431: checking dependency style of gcc
configure:3521: result: gcc3
configure:3543: checking how to run the C preprocessor
configure:3578: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:11,
                 from conftest.c:15:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3584: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3578: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:11,
                 from conftest.c:15:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3584: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3578: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:308,
                 from /usr/include/assert.h:36,
                 from conftest.c:17:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:3584: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3578: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:308,
                 from /usr/include/assert.h:36,
                 from conftest.c:17:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:3584: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3578: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:11,
                 from conftest.c:15:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3584: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3578: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:11,
                 from conftest.c:15:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3584: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3661: result: /lib/cpp
configure:3685: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:11,
                 from conftest.c:15:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3691: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3685: /lib/cpp  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/3.4.5/include/limits.h:11,
                 from conftest.c:15:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
configure:3691: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lopster"
| #define PACKAGE_TARNAME "lopster"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Lopster 2.0.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
| #define PACKAGE "lopster"
| #define VERSION "2.0.0"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 		     Syntax error
configure:3760: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/vanescar/lopster2/missing --run aclocal-1.9'
ADD_CFLAGS=''
ADD_LIBS=''
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/vanescar/lopster2/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /home/vanescar/lopster2/missing --run autoconf'
AUTOHEADER='${SHELL} /home/vanescar/lopster2/missing --run autoheader'
AUTOMAKE='${SHELL} /home/vanescar/lopster2/missing --run automake-1.9'
AWK='gawk'
BITTORRENT_FALSE=''
BITTORRENT_TRUE=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
COMPILE_XDGMIME_FALSE=''
COMPILE_XDGMIME_TRUE=''
CPP='/lib/cpp'
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DIRECTCONNECT_FALSE=''
DIRECTCONNECT_TRUE=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EDONKEY2000_FALSE=''
EDONKEY2000_TRUE=''
EGREP=''
EXEEXT=''
F77=''
FASTTRACK_FALSE=''
FASTTRACK_TRUE=''
FFLAGS=''
GETTEXT_PACKAGE=''
GLIB2_CFLAGS=''
GLIB2_LIBS=''
GMOFILES=''
GMSGFMT=''
GNUTELLA_FALSE=''
GNUTELLA_TRUE=''
GTK2_CFLAGS=''
GTK2_FALSE=''
GTK2_LIBS=''
GTK2_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XML_RULE=''
LDFLAGS=''
LIBGNOMEVFS_CFLAGS=''
LIBGNOMEVFS_LIBS=''
LIBGVFS_CFLAGS=''
LIBGVFS_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBXML_CFLAGS=''
LIBXML_LIBS=''
LN_S=''
LOBSTER_FALSE=''
LOBSTER_TRUE=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /home/vanescar/lopster2/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
NAPSTER_FALSE=''
NAPSTER_TRUE=''
OBJDUMP=''
OBJEXT='o'
OS_UNIX=''
OS_UNIX_FALSE=''
OS_UNIX_TRUE=''
PACKAGE='lopster'
PACKAGE_BUGREPORT='http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse'
PACKAGE_NAME='Lopster'
PACKAGE_STRING='Lopster 2.0.0'
PACKAGE_TARNAME='lopster'
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SOULSEEK_FALSE=''
SOULSEEK_TRUE=''
STRIP=''
USE_NLS=''
VERSION='2.0.0'
XGETTEXT=''
XMMS_CFLAGS=''
XMMS_LIBS=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/vanescar/lopster2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
ms_librarian=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "lopster"
#define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?atid=108472&group_id=8472&func=browse"
#define PACKAGE_NAME "Lopster"
#define PACKAGE_STRING "Lopster 2.0.0"
#define PACKAGE_TARNAME "lopster"
#define PACKAGE_VERSION "2.0.0"
#define VERSION "2.0.0"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

dovresti fare una cosa: svuota il file di log, riprova a compilare e riposta l'output del file di log.. ci sono ancora gli errori di quando non avevi gl'header.


Ciao

ps: hai visto gli errori dentro main?

questo in particolare..
conftest.cc: In function `int main()':
conftest.cc:15: error: `exit' was not declared in this scope
c'è un punto e virgola a buffo nel main..(questo è quello che sembrerebbe dal log) eliminalo.

vanescar
Linux 2.x
Linux 2.x
Messaggi: 334
Iscritto il: mer 11 mag 2005, 0:00
Slackware: 12.1
Contatta:

Messaggio da vanescar »

il log e' identico.......ma nn o riavviato nessun servizio o applicazione

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Messaggio da meritil »

e allora gli errori sono quelli che vedi.. manca limits.h , stai compilando con un compilatore non standard (???hai aggiornato gcc alla current?) e c'è un punto e virgola nel main a c... di cane.

dove hai preso i sorgenti? provo a compilare anchio...

Ciao

Rispondi