Mona/Make質問所/200502-200608


Top / Mona / Make質問所 / 200502-200608

このページ

[済] cygwin環境で configure の不具合 2006/07/30

修正項目

[済] liblen-cygwin.a 2006/05/29

[済] syscall_set_irq_receiver の仕様変更に伴う修正 2006/05/12

syscall_set_irq_receiver の仕様変更に伴う修正が1箇所必要。以下の修正をすれば良い。 -- Gaku

[済] ファイルが壊れている。(Subversionリポジトリ) 2006/05/04

Makeはできるけれども。 -- Gaku

[済] 文字化け

[済] バイナリファイルの破損

[済]contrib_0.3 のコンパイル失敗 2006/04/08

Graphics/Mesa 失敗

make[7]: Leaving directory `/home/bayside/contrib_0.3/Graphics/Mesa/Mesa-6.2.1/s
rc/mesa/x86'
gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/g
lapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../
src/mesa/swrast -I../../src/mesa/swrast_setup -nostdlib -Wall -fno-builtin -nost
dinc -I/home/bayside/MonaNew/include/tmpmonalibc -I/home/bayside/MonaNew/include
 -I/home/bayside/MonaNew/include/monalibc -I/home/bayside/MonaNew/include/monapi
 -Os -DMONA -DNDEBUG -DHOST_CYGWIN -ffast-math -std=c99 drivers/osmesa/osmesa.c
-o drivers/osmesa/osmesa.o
In file included from ../../src/mesa/main/glheader.h:63,
                 from drivers/osmesa/osmesa.c:36:
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:23: error: conflicting types f
or 'FILE'
/home/bayside/MonaNew/include/monalibc/stdio.h:47: error: previous declaration o
f 'FILE' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:28: error: conflicting types f
or 'fopen'
/home/bayside/MonaNew/include/monalibc/stdio.h:52: error: previous declaration o
f 'fopen' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:28: error: conflicting types f
or 'fopen'
/home/bayside/MonaNew/include/monalibc/stdio.h:52: error: previous declaration o
f 'fopen' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:29: error: conflicting types f
or 'fclose'
/home/bayside/MonaNew/include/monalibc/stdio.h:53: error: previous declaration o
f 'fclose' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:29: error: conflicting types f
or 'fclose'
/home/bayside/MonaNew/include/monalibc/stdio.h:53: error: previous declaration o
f 'fclose' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:30: error: conflicting types f
or 'fgetc'
/home/bayside/MonaNew/include/monalibc/stdio.h:54: error: previous declaration o
f 'fgetc' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:30: error: conflicting types f
or 'fgetc'
/home/bayside/MonaNew/include/monalibc/stdio.h:54: error: previous declaration o
f 'fgetc' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:31: error: conflicting types f
or 'fgets'
/home/bayside/MonaNew/include/monalibc/stdio.h:55: error: previous declaration o
f 'fgets' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:31: error: conflicting types f
or 'fgets'
/home/bayside/MonaNew/include/monalibc/stdio.h:55: error: previous declaration o
f 'fgets' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:32: error: conflicting types f
or 'fread'
/home/bayside/MonaNew/include/monalibc/stdio.h:56: error: previous declaration o
f 'fread' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:32: error: conflicting types f
or 'fread'
/home/bayside/MonaNew/include/monalibc/stdio.h:56: error: previous declaration o
f 'fread' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:33: error: conflicting types f
or 'fseek'
/home/bayside/MonaNew/include/monalibc/stdio.h:57: error: previous declaration o
f 'fseek' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:33: error: conflicting types f
or 'fseek'
/home/bayside/MonaNew/include/monalibc/stdio.h:57: error: previous declaration o
f 'fseek' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:34: error: conflicting types f
or 'fscanf'
/home/bayside/MonaNew/include/monalibc/stdio.h:58: error: previous declaration o
f 'fscanf' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:34: error: conflicting types f
or 'fscanf'
/home/bayside/MonaNew/include/monalibc/stdio.h:58: error: previous declaration o
f 'fscanf' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:35: error: conflicting types f
or 'ferror'
/home/bayside/MonaNew/include/monalibc/stdio.h:59: error: previous declaration o
f 'ferror' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:35: error: conflicting types f
or 'ferror'
/home/bayside/MonaNew/include/monalibc/stdio.h:59: error: previous declaration o
f 'ferror' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:36: error: conflicting types f
or 'feof'
/home/bayside/MonaNew/include/monalibc/stdio.h:60: error: previous declaration o
f 'feof' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:36: error: conflicting types f
or 'feof'
/home/bayside/MonaNew/include/monalibc/stdio.h:60: error: previous declaration o
f 'feof' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:37: error: conflicting types f
or 'fflush'
/home/bayside/MonaNew/include/monalibc/stdio.h:61: error: previous declaration o
f 'fflush' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:37: error: conflicting types f
or 'fflush'
/home/bayside/MonaNew/include/monalibc/stdio.h:61: error: previous declaration o
f 'fflush' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:40: error: conflicting types f
or 'putc'
/home/bayside/MonaNew/include/monalibc/stdio.h:64: error: previous declaration o
f 'putc' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdio.h:40: error: conflicting types f
or 'putc'
/home/bayside/MonaNew/include/monalibc/stdio.h:64: error: previous declaration o
f 'putc' was here
In file included from ../../src/mesa/main/glheader.h:70,
                 from drivers/osmesa/osmesa.c:36:
/home/bayside/MonaNew/include/tmpmonalibc/stdarg.h:11: error: conflicting types
for 'vfprintf'
/home/bayside/MonaNew/include/monalibc/stdarg.h:30: error: previous declaration
of 'vfprintf' was here
/home/bayside/MonaNew/include/tmpmonalibc/stdarg.h:11: error: conflicting types
for 'vfprintf'
/home/bayside/MonaNew/include/monalibc/stdarg.h:30: error: previous declaration
of 'vfprintf' was here
In file included from drivers/osmesa/osmesa.c:36:
../../src/mesa/main/glheader.h:325:1: warning: "ASSERT" redefined
In file included from /home/bayside/MonaNew/include/tmpmonalibc/assert.h:4,
                 from ../../src/mesa/main/glheader.h:53,
                 from drivers/osmesa/osmesa.c:36:
/home/bayside/MonaNew/include/monapi/Assert.h:8:1: warning: this is the location
 of the previous definition
make[6]: *** [drivers/osmesa/osmesa.o] Error 1
make[6]: Leaving directory `/home/bayside/contrib_0.3/Graphics/Mesa/Mesa-6.2.1/s
rc/mesa'
make[5]: *** [default] Error 2
make[5]: Leaving directory `/home/bayside/contrib_0.3/Graphics/Mesa/Mesa-6.2.1/s
rc/mesa'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/home/bayside/contrib_0.3/Graphics/Mesa/Mesa-6.2.1/s
rc'
make[3]: *** [default] Error 1
make[3]: Leaving directory `/home/bayside/contrib_0.3/Graphics/Mesa/Mesa-6.2.1'
make[2]: *** [mona] Error 2
make[2]: Leaving directory `/home/bayside/contrib_0.3/Graphics/Mesa/Mesa-6.2.1'
make[1]: *** [.MAKE] Error 2
make[1]: Leaving directory `/home/bayside/contrib_0.3/Graphics/Mesa'
make: *** [all] Error 2

Sysutils/libnicdrv 失敗

make[1]: Entering directory `/home/bayside/contrib_0.3/Net/libnicdrv'
g++ -c -o MonesLoader.o -nostdlib -Wall -fno-builtin -O3 -DMONA -DDEBUG_BUILD -D
HOST_CYGWIN -fno-exceptions -fno-rtti -I/home/bayside/MonaNew/include -I. -I.. M
onesLoader.cpp
MonesLoader.cpp: In member function `AbstractMonic* MonesLoader::getNicInstance(
)':
MonesLoader.cpp:88: error: no matching function for call to `Pci::CheckPciExist(
int, int)'
/home/bayside/MonaNew/include/pci/Pci.h:127: note: candidates are: void Pci::Che
ckPciExist(word, word, PciInf*)
make[1]: *** [MonesLoader.o] Error 1
make[1]: Leaving directory `/home/bayside/contrib_0.3/Net/libnicdrv'
make: *** [all] Error 2

Net/mones2 失敗

g++ -c -o NicFactory.o -nostdlib -Wall -fno-builtin -O3 -DMONA -DDEBUG_BUILD -DH
OST_CYGWIN -fno-exceptions -fno-rtti -I/home/bayside/MonaNew/include NicFactory.
cpp
NicFactory.cpp: In static member function `static mones::Nic* mones::NicFactory:
:create()':
NicFactory.cpp:17: error: no matching function for call to `Pci::CheckPciExist(i
nt, int)'
/home/bayside/MonaNew/include/pci/Pci.h:127: note: candidates are: void Pci::Che
ckPciExist(word, word, PciInf*)
make: *** [NicFactory.o] Error 1

[済]file_serverのコンパイル 2006/04/08

[済]bim2binの問題(MSYS依存、他は不明)

bim2binは、内部でsystem()を使ってt5lzmaを呼びますが、その際にパス拡張のため、arg0を使っています。
argv0は、/usr/local/binの実体の"C:\Program Files\msys\1.0\local\bin\"になります。 system()に渡すコマンドが、

C:\Program Files\msys\1.0\local\bin\t5lzma e ・・・

となり、C:\Programを起動しようとして失敗します。 ようは、bim2binのパスにスペースがあるとだめです。
cygwin環境は、チェックしてません。/usr/local/binとして扱われているのかも。

[済]MSysでMonaNewをビルドした。ビルドを通すための修正メモ。by Gaku

環境

※MinGW/MSys/Perlにパスを通してDOS窓から使用

修正項目

手順

※途中、前後、繰り返しあり

所感

[済] Mona/src/kernel/Process.h, .cpp 2005/12/12

[提案] MonaNew のディレクトリ構成を元に戻したもの

ソースだけ変えればよかったのにディレクトリ構造を変えてしまったために起こっている種々の問題を見ていてやりきれなくなったので添付。必須サーバー&必須ライブラリ&カーネルしか入れていません。 -- 名無し

#ref(): File not found: "Mona3.tar.gz" at page "Mona/Make質問所/200502-200608"

[済] MonaNew/Makefile 2005/12/11

[済] MonaNew/core/monapi/dependencies 2005/12/10

[済]/Mona/src/lib/monapi/monapi_impl.cpp 2005/06/26

#undef WIN32
#undef _WIN32

[済]/Mona/src/servers/gui/Makefile 2005/03/20

install-gui: MONAWALL.BM5
#	$(INSTALL) MONAWALL.BM5 $(MONADIR)/bin/iso
#MONAWALL.BM5: MONAWALL.BMP

[済]bim2bin 2005/02/15

MENU

now: 1

リンク


最新の20件
2018-05-03 2017-09-29 2017-04-25 2017-01-10 2016-12-11 2016-10-04 2016-08-14 2016-06-05 2016-05-29 2016-04-15 2015-12-28 2013-02-25 2013-02-21 2013-02-20 2013-02-12 2013-02-11 2013-02-10
最新の20件
2010-02-01 2010-01-31 2010-01-30 2010-01-29 2010-01-16

Counter: 3903, today: 1, yesterday: 0

リロード   新規 編集 凍結 差分 添付 複製 改名   トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS

Last-modified: 2008-03-28 (金) 15:47:55 (3741d);  Modified by mona
PukiWiki 1.4.6 Copyright © 2001-2005 PukiWiki Developers Team. License is GPL.
Based on "PukiWiki" 1.3 by yu-ji
Powered by PHP 5.2.17
HTML convert time to 0.098 sec.