Page 1 of 1

"unable to open file '/D=AUTOBUILD.h'" and other KolibriOS build errors under Linux

Posted: Sun Mar 24, 2019 10:45 pm
by floppy121
Please take a look, hopefully you could help me to solve these errors.
If I am able to finally build KolibriOS, maybe I could contribute something.
Spoiler:

Code: Select all

 1330) [0.036s] programs/games/MSquare/trunk: fasm MSquare.asm MSquare                                                                                                  
flat assembler  version 1.73.02  (16384 kilobytes memory)
3 passes, 2259 bytes.
 1329) [0.024s] programs/games/pipes: echo lang fix en > lang.inc                                                                                                       
 1328) [0.032s] programs/games/pipes: fasm pipes.asm pipes                                                                                                              
flat assembler  version 1.73.02  (16384 kilobytes memory)
4 passes, 41952 bytes.
 1327) [0.056s] programs/games/nu_pogodi/trunk: fasm nu_pogod.asm nu_pogod                                                                                              
flat assembler  version 1.73.02  (16384 kilobytes memory)
5 passes, 8935 bytes.
 1326) [0.016s] programs/games/tetris/trunk: echo lang fix en > lang.inc                                                                                                
 1325) [0.044s] programs/games/tetris/trunk: fasm tetris.asm tetris                                                                                                     
flat assembler  version 1.73.02  (16384 kilobytes memory)
3 passes, 2280 bytes.
 1324) [0.016s] programs/games/sw/trunk: echo lang fix en > lang.inc                                                                                                    
 1323) [0.036s] programs/games/sw/trunk: fasm sw.asm sw                                                                                                                 
flat assembler  version 1.73.02  (16384 kilobytes memory)
4 passes, 3845 bytes.
 1322) [0.016s] programs/games/klavisha/trunk: echo lang fix en > lang.inc                                                                                              
 1321) [0.053s] programs/games/klavisha/trunk: fasm klavisha.asm klavisha                                                                                               
flat assembler  version 1.73.02  (16384 kilobytes memory)
3 passes, 21269 bytes.
 1320) [4.468s] programs/emulator/e80/trunk: kos32-gcc -c -Os -mpreferred-stack-boundary=2 -fno-ident -fomit-frame-pointer -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -fno-exceptions -fno-asynchronous-unwind-tables -ffast-math -mno-ms-bitfields -march=pentium-mmx  -o z80.o z80/z80.c
z80/z80.c: In function 'Z80InPort':
z80/z80.c:361:12: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration]
       if( (rand() % 10) > 7 ) return(0xff);
            ^
* 1319) programs/games/flood-it/trunk: c-- /D=AUTOBUILD /D=LANG_ENG flood-it.c                                                                                          
0014:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0014:fixme:process:SetProcessDEPPolicy (1): stub
0014:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
001d:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.

SPHINX C-- Compiler   Version 0.239 b26   Jun 16 2016
Compiling Commenced . . .
(0)#1> unable to open file '/D=AUTOBUILD.h'.
 *** tup messages ***
 *** Command ID=53970 failed with return value 2
 1318) [0.048s] programs/emulator/e80/trunk: kos32-ld -static -nostdlib -n --file-alignment=16 --section-alignment=16 -T kolibri.ld -o e80 asm_code.obj z80.o kolibri.o stdlib.o string.o e80.o -Map e80.map  && kos32-objcopy e80 -O binary 
* 1317) programs/games/clicks/trunk: c-- /D=AUTOBUILD /D=LANG_ENG clicks.c                                                                                              
Warning: could not find DOS drive for current working directory '/home/anon/kolibrios/programs/games/clicks/trunk', starting in the Windows directory.

SPHINX C-- Compiler   Version 0.239 b26   Jun 16 2016
Compiling Commenced . . .
(0)#1> unable to open file '/D=AUTOBUILD.h'.
 *** tup messages ***
 *** Command ID=53985 failed with return value 2
* 1316) programs/games/kosilka: cl /c /O2 /Os /Oy /GF /GS- /GR- /EHs-c- /fp:fast /GL /QIfist /Gr /arch:IA32 /DAUTOBUILD /DLANG=ENG /Fokosilka.obj kosilka.cpp >&2       
Warning: could not find DOS drive for current working directory '/home/anon/kolibrios/programs/games/kosilka', starting in the Windows directory.
0016:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0016:fixme:process:SetProcessDEPPolicy (1): stub
0016:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9035 : option 'QIfist' has been deprecated and will be removed in a future release
cl : Command line warning D9002 : ignoring unknown option '/arch:IA32'
kosilka.cpp
c1xx : fatal error C1083: Cannot open source file: 'kosilka.cpp': No such file or directory
0016:fixme:msvcrt:__clean_type_info_names_internal (0x4f633ed4) stub
0016:fixme:msvcrt:__clean_type_info_names_internal (0x51197244) stub
 *** tup messages ***
 *** Command ID=54050 failed with return value 2
 [                                                                ETA~=2m  Remaining=1316 Active=0                                                                ]  47%
 *** tup: 3 jobs failed.

Re: "unable to open file '/D=AUTOBUILD.h'" and other KolibriOS build errors under Linux

Posted: Fri Mar 29, 2019 1:54 am
by dunkaist
Which toolchain version by Serge do you use, the latest one?

Re: "unable to open file '/D=AUTOBUILD.h'" and other KolibriOS build errors under Linux

Posted: Sun Jan 03, 2021 12:05 pm
by maxcodehack
Ошибка в C-- и MSVC, а не в serge's toolchain.
С-- отдельная история, на сервере под wine. Msvc просто разные версии, на сервере допустим 2005, а у тебя 2003.
Если не нужно собирать c-- программы, можно это указать в конфиге.