delete
Добавлено: Bulat_Ziganshin Цитата: кстати, Егор, а ты уже попробовал сам собрать freearc/winarc?
не собираются, ошибка в C_External.cpp
[more=лог..]
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -c -fno-exceptions -fno-rtti -Wno-unknown-pragmas -Wno-sign-
compare -Wno-conversion -Os -march=i486 -mtune=pentiumpro -fomit-frame-pointer -
ffast-math -fforce-addr -fstrict-aliasing -g0 -DFREEARC_WIN -DFREEARC_INTEL_BYTE
_ORDER -o c:/temp/out/FreeArc/CompressionLibrary.o CompressionLibrary.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTE
L_BYTE_ORDER -o c:/temp/out/FreeArc/C_LZP.o C_LZP.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTE
L_BYTE_ORDER -o c:/temp/out/FreeArc/C_REP.o C_REP.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTE
L_BYTE_ORDER -o c:/temp/out/FreeArc/C_Delta.o C_Delta.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTE
L_BYTE_ORDER -o c:/temp/out/FreeArc/C_MM.o C_MM.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTE
L_BYTE_ORDER -o c:/temp/out/FreeArc/C_TTA.o C_TTA.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wno-unknown-pragmas -Wno-sign-com
pare -Wno-conversion -O6 -march=i486 -mtune=pentiumpro -fomit-frame-pointer -fst
rict-aliasing -fforce-addr -ffast-math -funroll-loops --param inline-unit-growth
=999999 -g0 -DFREEARC_WIN -DFREEARC_INTEL_BYTE_ORDER -o c:/temp/out/FreeArc/C_To
rnado.o C_Tornado.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-rtti -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-
conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointer -fstrict-alias
ing -ffast-math -fforce-addr -g0 -DFREEARC_WIN -DFREEARC_INTEL_BYTE_ORDER -o c:/
temp/out/FreeArc/C_Dict.o C_Dict.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O1 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-all-loops -floop-optimize2 -g0 -DFREEA
RC_WIN -DFREEARC_INTEL_BYTE_ORDER -o c:/temp/out/FreeArc/C_PPMD_Parser.o C_PPMD_
Parser.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O1 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-all-loops -floop-optimize2 -g0 -DFREEA
RC_WIN -DFREEARC_INTEL_BYTE_ORDER -o c:/temp/out/FreeArc/C_PPMD_Compress.o C_PPM
D_Compress.cpp
In file included from Model.cpp:11,
from C_PPMD_Compress.cpp:5:
SubAlloc.hpp: In function `void PPMD_compression::PrefetchData(void*)':
SubAlloc.hpp:34: warning: unused variable 'PrefetchByte'
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O1 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-all-loops -floop-optimize2 -g0 -DFREEA
RC_WIN -DFREEARC_INTEL_BYTE_ORDER -o c:/temp/out/FreeArc/C_PPMD_Decompress.o C_P
PMD_Decompress.cpp
In file included from Model.cpp:11,
from C_PPMD_Decompress.cpp:5:
SubAlloc.hpp: In function `void PPMD_decompression::PrefetchData(void*)':
SubAlloc.hpp:34: warning: unused variable 'PrefetchByte'
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wno-unknown-pragmas -Wno-sign-com
pare -Wno-conversion -O2 -march=i486 -mtune=pentiumpro -fomit-frame-pointer -ffo
rce-addr -ffast-math -fstrict-aliasing -funroll-loops -g0 -DFREEARC_WIN -DFREEAR
C_INTEL_BYTE_ORDER -o c:/temp/out/FreeArc/C_GRZip.o C_GRZip.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-rtti -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-
conversion -O2 -march=i486 -mtune=pentiumpro -fomit-frame-pointer -fstrict-alias
ing -ffast-math -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTEL_BY
TE_ORDER -o c:/temp/out/FreeArc/C_LZMA.o C_LZMA.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-rtti -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-
conversion -O2 -march=i486 -mtune=pentiumpro -fomit-frame-pointer -fstrict-alias
ing -ffast-math -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTEL_BY
TE_ORDER -o c:/temp/out/FreeArc/C_BCJ.o C_BCJ.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-rtti -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-
conversion -Os -march=i486 -mtune=pentiumpro -fomit-frame-pointer -fstrict-alias
ing -ffast-math -fforce-addr -g0 -DFREEARC_WIN -DFREEARC_INTEL_BYTE_ORDER -o c:/
temp/out/FreeArc/C_External.o C_External.cpp
C_External.cpp: In function `int external_program(bool, int (*)(char*, void*, in
t, void (*)()), void (*)(), char*, char*, char*, char*, int, double*)':
C_External.cpp:29: error: invalid conversion from `FILE*' to `int'
C_External.cpp:29: error: initializing argument 1 of `int write(int, const voi
d*, unsigned int)'
C_External.cpp:32: error: invalid conversion from `FILE*' to `int'
C_External.cpp:32: error: initializing argument 1 of `int write(int, const voi
d*, unsigned int)'
C_External.cpp:75: error: invalid conversion from `FILE*' to `int'
C_External.cpp:75: error: initializing argument 1 of `int read(int, void*, uns
igned int)'
C_External.cpp: At global scope:
C_External.cpp:200: warning: 'PPMONSTR_x' defined but not used
C_External.cpp:324: warning: 'TEMPFILE_x' defined but not used
make: *** [c:/temp/out/FreeArc/C_External.o] Error 1
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -fforce-addr -funroll-loops -g0 -DFREEARC_WIN -DFREEARC_INTE
L_BYTE_ORDER -Iheaders -o c:/temp/out/FreeArc/C_Encryption.o C_Encryption.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -ffast-math -fforce-addr -g0 -DFREEARC_WIN -DFREEARC_INTEL_B
YTE_ORDER -o c:/temp/out/FreeArc/Environment.o Environment.cpp
C:\Base\Compiler\ghc\gcc.exe -BC:\Base\Compiler\ghc\gcc-lib -IC:\Base\Compiler\g
hc\include\mingw -c -fno-exceptions -fno-rtti -Wall -Wno-unknown-pragmas -Wno-si
gn-compare -Wno-conversion -O3 -march=i486 -mtune=pentiumpro -fomit-frame-pointe
r -fstrict-aliasing -ffast-math -fforce-addr -g0 -DFREEARC_WIN -DFREEARC_INTEL_B
YTE_ORDER -o c:/temp/out/FreeArc/URL.o URL.cpp
C:\Base\F>ghc.exe --make -O2 Arc.hs -iCompression -threaded -fglasgow-exts -fa
llow-undecidable-instances -fallow-overlapping-instances -fallow-incoherent-inst
ances -fno-monomorphism-restriction -fbang-patterns -DFREEARC_PACKED_STRINGS -DF
REEARC_WIN -DFREEARC_INTEL_BYTE_ORDER -optc-DFREEARC_WIN -optc-DFREEARC_INTEL_BY
TE_ORDER C:\temp\out\FreeArc/Environment.o C:\temp\out\FreeArc/URL.o C:\temp\out
\FreeArc/CompressionLibrary.o C:\temp\out\FreeArc/C_PPMD_Parser.o C:\temp\out\Fr
eeArc/C_PPMD_Compress.o C:\temp\out\FreeArc/C_PPMD_Decompress.o C:\temp\out\Free
Arc/C_LZP.o C:\temp\out\FreeArc/C_LZMA.o C:\temp\out\FreeArc/C_BCJ.o C:\temp\out
\FreeArc/C_GRZip.o C:\temp\out\FreeArc/C_Dict.o C:\temp\out\FreeArc/C_REP.o C:\t
emp\out\FreeArc/C_MM.o C:\temp\out\FreeArc/C_TTA.o C:\temp\out\FreeArc/C_Tornado
.o C:\temp\out\FreeArc/C_Delta.o C:\temp\out\FreeArc/C_External.o C:\temp\out\Fr
eeArc/C_Encryption.o -lstdc++ -lwininet C:\Base\Compiler\ghc\gcc-lib\CRT_noglob.
o -optl-s -optl-Xlinker -optl--large-address-aware -odir C:\temp\out\FreeArc-O2
-hidir C:\temp\out\FreeArc-O2 -o Tests\Arc.exe +RTS -A10m -H50m -M300m
[ 1 of 26] Compiling UTF8Z ( UTF8Z.hs, C:\temp\out\FreeArc-O2/UTF8Z.o
)
[ 2 of 26] Compiling Process ( Process.hs, C:\temp\out\FreeArc-O2/Proce
ss.o )
[ 3 of 26] Compiling FilePath ( FilePath.hs, C:\temp\out\FreeArc-O2/File
Path.o )
[ 4 of 26] Compiling CompressionLib ( Compression/CompressionLib.hs, C:\temp\o
ut\FreeArc-O2/CompressionLib.o )
C:\win_temp\ghc3216_0\ghc3216_0.hc: In function `CompressionLib_zdwccall10_entry
':
C:\win_temp\ghc3216_0\ghc3216_0.hc:6086: warning: implicit declaration of functi
on `ClearExternalCompressorsTable'
C:\win_temp\ghc3216_0\ghc3216_0.hc: In function `CompressionLib_zdwccall29_entry
':
C:\win_temp\ghc3216_0\ghc3216_0.hc:10236: warning: implicit declaration of funct
ion `fortuna_start'
C:\win_temp\ghc3216_0\ghc3216_0.hc: In function `CompressionLib_zdwccall30_entry
':
C:\win_temp\ghc3216_0\ghc3216_0.hc:10320: warning: implicit declaration of funct
ion `fortuna_add_entropy'
C:\win_temp\ghc3216_0\ghc3216_0.hc: In function `CompressionLib_zdwccall31_entry
':
C:\win_temp\ghc3216_0\ghc3216_0.hc:10434: warning: implicit declaration of funct
ion `fortuna_ready'
C:\win_temp\ghc3216_0\ghc3216_0.hc: In function `CompressionLib_zdwccall32_entry
':
C:\win_temp\ghc3216_0\ghc3216_0.hc:10518: warning: implicit declaration of funct
ion `fortuna_read'
[ 5 of 26] Compiling Utils ( Utils.hs, C:\temp\out\FreeArc-O2/Utils.o
)
[ 6 of 26] Compiling Win32Files ( Win32Files.hs, C:\temp\out\FreeArc-O2/Wi
n32Files.o )
[ 7 of 26] Compiling Files ( Files.hs, C:\temp\out\FreeArc-O2/Files.o
)
[ 8 of 26] Compiling Errors ( Errors.hs, C:\temp\out\FreeArc-O2/Errors
.o )
[ 9 of 26] Compiling FileInfo ( FileInfo.hs, C:\temp\out\FreeArc-O2/File
Info.o )
[10 of 26] Compiling ByteStream ( ByteStream.hs, C:\temp\out\FreeArc-O2/By
teStream.o )
[11 of 26] Compiling Compression ( Compression.hs, C:\temp\out\FreeArc-O2/C
ompression.o )
[12 of 26] Compiling Encryption ( Encryption.hs, C:\temp\out\FreeArc-O2/En
cryption.o )
[13 of 26] Compiling Cmdline ( Cmdline.hs, C:\temp\out\FreeArc-O2/Cmdli
ne.o )
[14 of 26] Compiling UIBase ( UIBase.hs, C:\temp\out\FreeArc-O2/UIBase
.o )
[15 of 26] Compiling CUI ( CUI.hs, C:\temp\out\FreeArc-O2/CUI.o )
[16 of 26] Compiling UI ( UI.hs, C:\temp\out\FreeArc-O2/UI.o )
[17 of 26] Compiling ArhiveStructure ( ArhiveStructure.hs, C:\temp\out\FreeArc-
O2/ArhiveStructure.o )
[18 of 26] Compiling ArhiveDirectory ( ArhiveDirectory.hs, C:\temp\out\FreeArc-
O2/ArhiveDirectory.o )
[19 of 26] Compiling ArhiveFileList ( ArhiveFileList.hs, C:\temp\out\FreeArc-O
2/ArhiveFileList.o )
[20 of 26] Compiling ArcvProcessExtract ( ArcvProcessExtract.hs, C:\temp\out\Fre
eArc-O2/ArcvProcessExtract.o )
[21 of 26] Compiling ArcExtract ( ArcExtract.hs, C:\temp\out\FreeArc-O2/Ar
cExtract.o )
[22 of 26] Compiling ArcvProcessRead ( ArcvProcessRead.hs, C:\temp\out\FreeArc-
O2/ArcvProcessRead.o )
[23 of 26] Compiling ArcvProcessCompress ( ArcvProcessCompress.hs, C:\temp\out\F
reeArc-O2/ArcvProcessCompress.o )
[24 of 26] Compiling ArcCreate ( ArcCreate.hs, C:\temp\out\FreeArc-O2/Arc
Create.o )
[25 of 26] Compiling ArcRecover ( ArcRecover.hs, C:\temp\out\FreeArc-O2/Ar
cRecover.o )
[26 of 26] Compiling Main ( Arc.hs, C:\temp\out\FreeArc-O2/Main.o )
Linking Tests\Arc.exe ...
gcc: C:/temp/out/FreeArc/C_External.o: No such file or directory
C:\Base\F>
[/more]