wip dos complie error

Strictly for discussing ZSNES development and for submitting code. You can also join us on IRC at irc.libera.chat in #zsnes.
Please, no requests here.

Moderator: ZSNES Mods

Post Reply
butfunghon
Rookie
Posts: 28
Joined: Tue Dec 06, 2005 12:13 pm

wip dos complie error

Post by butfunghon »

complie win32 is fine

command: make PLATFORM=dos

gcc -O3 -march=i586 -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wno-unused -I. -D__MSDOS__ -o dos/zfile.do -c dos/zfile.c
dos/zfile.c: In function `ZFileGetFTime':
dos/zfile.c:240: warning: implicit declaration of function `_dos_open'
dos/zfile.c:241: warning: implicit declaration of function `_dos_getftime'
dos/zfile.c:242: warning: implicit declaration of function `_dos_close'
dos/zfile.c: In function `ZFileMKDir':
dos/zfile.c:249: error: too many arguments to function `mkdir'
dos/zfile.c: In function `ZFileFindFirst':
dos/zfile.c:284: warning: implicit declaration of function `_dos_findfirst'
dos/zfile.c: In function `ZFileFindNext':
dos/zfile.c:291: warning: implicit declaration of function `_dos_findnext'
make: *** [dos/zfile.do] Error 1
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

It looks like your GCC isn't DJGPP's GCC but MinGW's GCC.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
butfunghon
Rookie
Posts: 28
Joined: Tue Dec 06, 2005 12:13 pm

Post by butfunghon »

you right, is mingw, i just done with djgpp, thx a lot :D
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Hi, I've been having trouble compiling win32 CVS myself with MinGW; I'll post here rather than start a new thread.

Code: Select all

C:\Documents and Settings\Owner\My Documents\CVS\zsnes\zsnes\src>mingw32-make -f
 makefile.ms PLATFORM=win32
g++ -O3 -s -o parsegen.exe parsegen.cpp
gcc -O3 -march=i586 -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wn
o-unused -I. -D__WIN32__ -o chips/dsp1emu.obj -c chips/dsp1emu.c
nasm -O1  -f win32 -D__WIN32__ -o chips/fxemu2.obj chips/fxemu2.asm
objfix chips/fxemu2.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/sfxproc.obj chips/sfxproc.asm
objfix chips/sfxproc.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/fxemu2b.obj chips/fxemu2b.asm
objfix chips/fxemu2b.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/fxemu2c.obj chips/fxemu2c.asm
objfix chips/fxemu2c.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/fxtable.obj chips/fxtable.asm
objfix chips/fxtable.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/sa1proc.obj chips/sa1proc.asm
objfix chips/sa1proc.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/sa1regs.obj chips/sa1regs.asm
objfix chips/sa1regs.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/dsp1proc.obj chips/dsp1proc.asm
objfix chips/dsp1proc.obj
nasm -O1  -f win32 -D__WIN32__ -o chips/st10proc.obj chips/st10proc.asm
objfix chips/st10proc.obj
gcc -O3 -march=i586 -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wn
o-unused -I. -D__WIN32__ -o chips/seta10.obj -c chips/seta10.c
nasm -O1  -f win32 -D__WIN32__ -o chips/dsp2proc.obj chips/dsp2proc.asm
objfix chips/dsp2proc.obj
gcc -O3 -march=i586 -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wn
o-unused -I. -D__WIN32__ -o chips/sdd1emu.obj -c chips/sdd1emu.c
gcc -O3 -march=i586 -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wn
o-unused -I. -D__WIN32__ -o chips/c4emu.obj -c chips/c4emu.c
nasm -O1  -f win32 -D__WIN32__ -o chips/dsp4proc.obj chips/dsp4proc.asm
objfix chips/dsp4proc.obj
gcc -O3 -march=i586 -ffast-math -fomit-frame-pointer -fno-unroll-loops -Wall -Wn
o-unused -I. -D__WIN32__ -o chips/dsp4emu.obj -c chips/dsp4emu.c
mingw32-make: *** No rule to make target `chips/dsp3proc.obj', needed by `zsnes'
.  Stop.

C:\Documents and Settings\Owner\My Documents\CVS\zsnes\zsnes\src>
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Wait a bit and CVS up.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
butfunghon
Rookie
Posts: 28
Joined: Tue Dec 06, 2005 12:13 pm

Post by butfunghon »

how about the dsp3 progress? not really start? cant find any files for dsp3
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

butfunghon wrote:how about the dsp3 progress? not really start? cant find any files for dsp3
There is no DSP-3 in CVS.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
butfunghon
Rookie
Posts: 28
Joined: Tue Dec 06, 2005 12:13 pm

Post by butfunghon »

any beta version release possible? :)
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

butfunghon wrote:any beta version release possible? :)
WIPs are beta, in a sense.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

butfunghon wrote:any beta version release possible? :)
If it was possible, it would be in CVS.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
butfunghon
Rookie
Posts: 28
Joined: Tue Dec 06, 2005 12:13 pm

Post by butfunghon »

thx :p
Post Reply