[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:09786] standard C++ library
-
From:Sumiya Sakoda
-
Date:Mon, 14 May 2001 09:24:17 +0900
- Subject: [plamo:09786] standard C++ library
- From: Sumiya Sakoda <sakoda@xxxxxxxxxxxxx>
- Date: Mon, 14 May 2001 09:24:17 +0900
- Posted: Mon, 14 May 2001 09:24:27 +0900
さこだと申します。
Plamo2.1(kernel 2.2.16, デスクトップWnn用のお勧めパッケージ)でFAXサー
バを構築しております。
最終的にはネットワーク上のWin98をクライアントとして印刷感覚で送信でき
ればと思っています。
で、私の調べたころ、efax + samba の組合わせがもっともスマートみたいで
すね。こちらの方はまだ設定最中ですが、当方のネットワークの環境が、
NetBEUIで通信している個所があり、このままだとsambaで覗けない端末が出
てきますのでどうしようかなあと思っております。
;; このへんの知識が薄いので意味不明のこといってたらすみません
で、Hylafax(4.1beta2)だと多機能だし、Windows用のクライアントも豊富です
から、これも試してみたいのですが、configureが通りません。
# ./configure
(略)
Missing C++ runtime support for g++ (/usr/bin/g++).
Compilation of the following test program failed:
----------------------------------------------------------
#include "iostream.h"
int main(){ cout << "Hello World!" << endl; return 0;}
----------------------------------------------------------
Usually this is because you do not have a standard C++ library
installed on your system or you have installed it in a non-standard
location. If you do not have a C++ library installed, then you must
install it. If it is installed in a non-standard location, then you
should configure the compiler so that it will automatically be found.
(For recent gcc releases this is libstdc++, for older gcc - libg++)
Unrecoverable error! Once you've corrected the problem rerun this script.
となります。つまり、上記のC++ソースがコンパイルできない環境ということ
ですよね。
でも /sbin/ldconfig -p の結果、libstdc++,libg++も導入されていると思い
ますが、他に何が必要なのでしょうか。
参考までにconfigureのログを載せておきます。
# cat config.log
(略)
++ cat dummy.C
#include "new.h"
struct foo {
int x;
foo();
~foo();
};
foo::foo() {}
foo::~foo() {}
int main()
{
foo* ptr = 0;
foo* a = new(ptr) foo;
a->x = 0;
delete a;
return 0;
}
++ /usr/bin/g++ -o dummy dummy.C
++ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c++
In file included from /usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/iostream.h:31,
from t.c++:1:
/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
make: *** [t] エラー 1
--
Sumiya 'BE' Sakoda
- Follow-Ups
-
- [plamo:09791] Re: standard C++ library, KOJIMA Mitsuhiro
[検索ページ]
[メール一覧]
Plamo ML 公開システム