[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:07400] c++ does not work in Plamo-2.1



北川拓郎@京大マイコンクラブ(KMC)です。

Plamo 2.1 をインストールしたマシンで
C++ のプログラムをコンパイルしようとすると、

In file included from /usr/lib/gcc-lib/i386-pc-linux/2.95.2/../../../../include/g++-3/iostream.h:31:
/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

というエラーで c++ が中断してしまいます。
# 具体的にいうと、 fvwm 2.2.14 の extras/FvwmConfig で遭遇しましたが、
# 症状からみて C++ のプログラム全般で該当しそうな気がします。

Web でざっと検索をかけてみたところ、

・glibc-2.1.9x と gcc-2.95.2 を組み合わせたときに出る症状らしい
・gcc (libstdc++ ?) が悪いらしい
・Debian Woody では対策済の gcc を使っているらしい

... ってとこまでは判明したのですが、Debian の差分から問題の部分だけ
抜き出そうとして挫折しました。
どなたか対策済の Plamo 用パッケージ... などと贅沢はいいませんが、
修正差分に関する情報とかお持ちでないでしょうか?

-- 
北川拓郎@京大マイコンクラブ(KMC)
E-mail:ranran@kmc.kyoto-u.ac.jp

Follow-Ups
[plamo:07401] Re: c++ does not work in Plamo-2.1, Katsura Matsumoto

[検索ページ] [メール一覧]
Plamo ML 公開システム