[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:10297] ddd make on Plamo 2.1
-
From:Takuya Nagata
-
Date:Tue, 26 Jun 2001 00:01:42 +0900
- Subject: [plamo:10297] ddd make on Plamo 2.1
- From: "Takuya Nagata" <tnagata@xxxxxxxxxxxxxx>
- Date: Tue, 26 Jun 2001 00:01:42 +0900
- Posted: Tue, 26 Jun 2001 00:05:18 +0900
永田と申します。
gdbのGUI として、DDD (Data Display Debugger)というのがあるんですが、
これがPlamo Linux 2.1だと、./configureできません。お知恵を拝借したいんです
が。
ちょっと長めになってしまいました。すいません。
DDDのversionは3.3.1です。
エラーメッセージなんですが、該当個所付近は、こんな感じになってます。
checking for POSIXized ISC... no
checking whether the C compiler (gcc) compiles and links a simple C
program... y
es
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking whether the C++ compiler (c++) compiles a simple program... no
configure: error: You must set the environment variable CXX to a working
C++ compiler. Also check the CXXFLAGS settings.
See the file 'config.log' for further diagnostics.
で、config.logにもっと詳しく書いてあるとのことですので、みてみると、
config.log: 関係ありそうなところ
configure:1491: checking whether c++ accepts -g
configure:1679: checking whether the C++ compiler (c++) compiles a simple
progr\
am
configure:1700: c++ -o conftest -g -O2 conftest.C 1>&5
In file included from
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include\
/g++-3/iostream.h:31,
from configure:1694:
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
In\
method `struct streampos streambuf::pubseekoff(long long int,
ios::seek_dir, i\
nt = 3)':
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
362\
: conversion from `__off64_t' to non-scalar type `streampos' requested
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
In\
method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
364\
: `struct streampos' used where a `long long int' was expected
configure: failed program was:
#line 1693 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <iostream.h>
int main() {
cout << "hello, world!";
; return 0; }
で終わっています。ためしに、以下だけからなるhogege.c++というfileをつくり、
gcc -o hogege hogege.c++ としてみると、同様なエラーメッセージがでます。
In file included from
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/
g++-3/iostream.h:31,
from hogege.c++:4:
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
In
method `struct streampos streambuf::pubseekoff(long long int, ios::seek_dir,
int
= 3)':
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
362:
conversion from `__off64_t' to non-scalar type `streampos' requested
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
In
method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/streambuf.h:
364:
`struct streampos' used where a `long long int' was expected
hogege.c++: ここから
#include "confdefs.h"
#include "confdefs.h"
#include <iostream.h>
int main() {
cout << "hello, world!";
; return 0; }
ここまで。
configureは、結構でかくて、さすがに、ml にながすのはまずそうですので、やめま
す。
DDDをmakeされた方,または対処法などをご存知の方がみえましたら、教えてい
ただけませんか?
- Follow-Ups
-
- [plamo:10298] Re: ddd make on Plamo 2.1, KOJIMA
[検索ページ]
[メール一覧]
Plamo ML 公開システム