[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:25428] cpp コンパイルエラー
-
From:ISHIKAWA Toshiyuki
-
Date:Tue, 3 May 2005 00:06:04 +0900 (JST)
- Subject: [plamo:25428] cpp コンパイルエラー
- From: ISHIKAWA Toshiyuki <tosiyuki@xxxxxxx>
- Date: Tue, 3 May 2005 00:06:02 +0900
石川です。
ソースからコンパイルする場合にエラーがでます。FAQs の様ですが
/usr/include には /usr/src/linux/include から asm, linux, scsi
をリンク貼り直し、カーネルを再コンパイルしても解決しません。
locate cpp をしてもヒットしません。
環境:Plamo-4.02
PC: ThinkPad T-43
Kernel Version: 2.4.30
Sylpheed の ./configure の例
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
で、それらしき config.log です。
-- ここから --
configure:3208: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:295,
from /usr/include/assert.h:36,
from conftest.c:12:
/usr/include/sys/cdefs.h:31: #error "You need a ISO C conforming compiler to use the
glibc headers"
configure:3214: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3208: /lib/cpp conftest.c
./configure: line 3209: /lib/cpp: No such file or directory
configure:3214: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3390: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
-- ここまで --
よろしくお願い致します。
- Follow-Ups
-
- [plamo:25429] Re: cppコンパイルエラー, 名倉昭一
- [plamo:25430] Re: cppコンパイルエラー, MOUE Kiyoshi
[検索ページ]
[メール一覧]
Plamo ML 公開システム