Hi!
thanx john 4 reply
hope that i'm not storking
i did
> > File "mp4write.c"; line 1532 #Warning 2: possible unintended assignment
> > #-----------------------
> > float endstream = 3.40282347e+38F;
>
> Oops, this one is my mistake -- the next release of sfront will have the
> proper fix to this (using the ANSI symbol FLT_MAX ...), but for now just
> change e+38 to e+35 and things should compile. You also want to go to
> line 516 of readscore.c, and make a similar change:
>
> fprintf(outfile,"#define MAXENDTIME 3.40282347e+38F\n\n");
>
> change this number again to be e+35 instead of e+38.
and could give birth 2 sfront application
BUT!
when i double clicked the icon
the application starts and auto-quits immediately
nothing like the terminal or the console comes out
but
i only get the "stdout" file spit out
which says
"sfront, a SAOL to C translator. Version 0.68 10/28/00.
Run sfront with -license option for Copyright/License info.
Usage: sfront [options]
For input, either:
[-bit mp4file] MP4 binary file
[-bitc mp4file] MP4 binary file: skip streaming data.
Or:
[-orc f1 [f2 ...]] SAOL orchestra file(s)
SAOL file(s) may be combined with:
[-sco scorefile] SASL score file
[-sstr scorefile] SASL score file (encode as stream)
[-midi midifile] MIDI score file
[-mstr midifile] MIDI score file (encode as stream)
Run 'sfront -help' for more options.
Ending sfront."
while compiling "MPW Shell" said like this
---from here---
# 15:05:18 ----- Build of sfront.
# 15:05:18 ----- Analyzing dependencies.
# 15:05:19 ----- Executing build commands.
MrC ascwrite.c -o :ascwrite.c.x -sym off
MrC asyslib.c -o :asyslib.c.x -sym off
MrC audio.c -o :audio.c.x -sym off
MrC blocktree.c -o :blocktree.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
}
^
File "blocktree.c"; line 284 #
### Warning 35: Parameter 'tbranch' is not used within function 'turnoffcode'
#-----------------------
MrC cmainpass.c -o :cmainpass.c.x -sym off
MrC collapse.c -o :collapse.c.x -sym off
MrC control.c -o :control.c.x -sym off
MrC corecode.c -o :corecode.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
}
^
File "corecode.c"; line 718 #
### Warning 35: Parameter 'tptr' is not used within function 'nolooposcilafreq'
#-----------------------
}
^
File "corecode.c"; line 785 #
### Warning 35: Parameter 'tptr' is not used within function 'nolooposcilifreq'
#-----------------------
}
^
File "corecode.c"; line 827 #
### Warning 35: Parameter 'tptr' is not used within function 'looposcilafreq'
#-----------------------
}
^
File "corecode.c"; line 936 #
### Warning 35: Parameter 'tptr' is not used within function 'looposcilifreq'
#-----------------------
}
^
File "corecode.c"; line 2067 #
### Warning 35: Parameter 'tcall' is not used within function 'spatialcode'
#-----------------------
}
^
File "corecode.c"; line 2090 #
### Warning 35: Parameter 'tptr' is not used within function 'aphasorcode'
#-----------------------
}
^
File "corecode.c"; line 2389 #
### Warning 35: Parameter 'tptr' is not used within function 'fftkrate'
#-----------------------
}
^
File "corecode.c"; line 3010 #
### Warning 35: Parameter 'tptr' is not used within function 'ifftcore'
#-----------------------
if ((constscale = (fftsize && (!hasshift || (fftshift && fftlen)))))
^
File "corecode.c"; line 3055 #Warning 2: possible unintended assignment
#-----------------------
}
^
File "corecode.c"; line 4288 #
### Warning 35: Parameter 'tptr' is not used within function 'firtordernone'
#-----------------------
}
^
File "corecode.c"; line 4399 #
### Warning 35: Parameter 'tptr' is not used within function 'firtorderkrate'
#-----------------------
}
^
File "corecode.c"; line 4491 #
### Warning 35: Parameter 'tptr' is not used within function 'iirtordernone'
#-----------------------
}
^
File "corecode.c"; line 4559 #
### Warning 35: Parameter 'tptr' is not used within function 'iirtorderirate'
#-----------------------
}
^
File "corecode.c"; line 4641 #
### Warning 35: Parameter 'tptr' is not used within function 'iirtorderkrate'
#-----------------------
}
^
File "corecode.c"; line 5068 #
### Warning 35: Parameter 'tptr' is not used within function 'decimatecode'
#-----------------------
MrC coreinline.c -o :coreinline.c.x -sym off
MrC corevars.c -o :corevars.c.x -sym off
MrC csrclib.c -o :csrclib.c.x -sym off
MrC csyslib.c -o :csyslib.c.x -sym off
MrC globals.c -o :globals.c.x -sym off
MrC lex.c -o :lex.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
}
^
File "lex.c"; line 145 #
### Warning 35: Parameter 's' is not used within function 'yyerror'
#-----------------------
if ((num = sscanf(buffer," %i \"%1023s ", &linenum, filename)))
^
File "lex.c"; line 237 #Warning 2: possible unintended assignment
#-----------------------
MrC mp4read.c -o :mp4read.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if ((hasloop = readbit(1))) /* loop */
^
File "mp4read.c"; line 415 #Warning 2: possible unintended assignment
#-----------------------
if ((hasbase = readbit(1))) /* base */
^
File "mp4read.c"; line 420 #Warning 2: possible unintended assignment
#-----------------------
MrC mp4write.c -o :mp4write.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if ((i = identtoken(saolroot)))
^
File "mp4write.c"; line 250 #Warning 2: possible unintended assignment
#-----------------------
if (!(sptr = getvsym(&bitsymtable, tptr->val)))
^
File "mp4write.c"; line 461 #Warning 2: possible unintended assignment
#-----------------------
if ((tptr = midicurrnote[i]))
^
File "mp4write.c"; line 1432 #Warning 2: possible unintended assignment
#-----------------------
if ( !(tptr = sstrmidi->imidiroot))
^
File "mp4write.c"; line 1532 #Warning 2: possible unintended assignment
#-----------------------
if ((hasend = (sstrsasl->endtimeval || confsasl->endtimeval)))
^
File "mp4write.c"; line 1621 #Warning 2: possible unintended assignment
#-----------------------
MrC oclone.c -o :oclone.c.x -sym off
MrC optconst.c -o :optconst.c.x -sym off
MrC optmain.c -o :optmain.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
(gptr = getvsym(&globalsymtable, sptr->val)))
^
File "optmain.c"; line 694 #Warning 2: possible unintended assignment
#-----------------------
&& (gptr = getvsym(&globalsymtable, sptr->val)))
^
File "optmain.c"; line 851 #Warning 2: possible unintended assignment
#-----------------------
}
^
File "optmain.c"; line 860 #
### Warning 35: Parameter 'iptr' is not used within function 'globalcountupdate
'
#-----------------------
MrC optrate.c -o :optrate.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
&& (cptr->time = (float)saferateopt(staterate, cptr)))
^
File "optrate.c"; line 511 #Warning 2: possible unintended assignment
#-----------------------
MrC optrefer.c -o :optrefer.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
(gptr = getvsym(&globalsymtable, sptr->val)))
^
File "optrefer.c"; line 766 #Warning 2: possible unintended assignment
#-----------------------
(!(gptr = getvsym(&globalsymtable, sptr->val))))
^
File "optrefer.c"; line 1051 #Warning 2: possible unintended assignment
#-----------------------
MrC parsehelp.c -o :parsehelp.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
}
^
File "parsehelp.c"; line 627 #
### Warning 35: Parameter 't_pfields' is not used within function 'make_templatedecl
'
#-----------------------
MrC parser.tab.c -o :parser.tab.c.x -sym off
MrC postparse.c -o :postparse.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
while ((i *= 2) < twocycle);
^
File "postparse.c"; line 178 #Warning 7: possible extraneous ';'
#-----------------------
if ((startupinstr = getvsym(&instrnametable,"startup")))
^
File "postparse.c"; line 682 #Warning 2: possible unintended assignment
#-----------------------
MrC readmidi.c -o :readmidi.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if ((j = numpfields))
^
File "readmidi.c"; line 1082 #Warning 2: possible unintended assignment
#-----------------------
MrC readscore.c -o :readscore.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if (!(tptr = allsasl->instrroot))
^
File "readscore.c"; line 552 #Warning 2: possible unintended assignment
#-----------------------
if (!(tptr = abssasl->instrroot))
^
File "readscore.c"; line 559 #Warning 2: possible unintended assignment
#-----------------------
if (!(tptr = allsasl->temporoot))
^
File "readscore.c"; line 834 #Warning 2: possible unintended assignment
#-----------------------
if (!(tptr = abssasl->temporoot))
^
File "readscore.c"; line 841 #Warning 2: possible unintended assignment
#-----------------------
if (!(tptr = allsasl->tableroot))
^
File "readscore.c"; line 881 #Warning 2: possible unintended assignment
#-----------------------
if (!(tptr = abssasl->tableroot))
^
File "readscore.c"; line 888 #Warning 2: possible unintended assignment
#-----------------------
while ((isspace(c = getc(sfile)))&&(c != '\n'));
^
File "readscore.c"; line 1054 #Warning 7: possible extraneous ';'
#-----------------------
((flag = (getvsym(&globalsymtable, nsl->next->next->val) != NULL))))
^
File "readscore.c"; line 1379 #Warning 2: possible unintended assignment
#-----------------------
if ((label = getvsym(&(allsasl->labeltable),sptr->val)))
^
File "readscore.c"; line 1999 #Warning 2: possible unintended assignment
#-----------------------
(!(ptest->sptr = getvsym(&globalsymtable,ptest->val))) ||
^
File "readscore.c"; line 2140 #Warning 2: possible unintended assignment
#-----------------------
MrC sfmain.c -o :sfmain.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if ( system(command) || ! (fd = fopen(tptr->filename,"r")))
^
File "sfmain.c"; line 387 #Warning 2: possible unintended assignment
#-----------------------
if ((*fd = fopen((name = argv[++i]),"r")))
^
File "sfmain.c"; line 420 #Warning 2: possible unintended assignment
#-----------------------
if (!(envstr = getenv("SFRONT_INCLUDE_PATH")))
^
File "sfmain.c"; line 446 #Warning 2: possible unintended assignment
#-----------------------
MrC special.c -o :special.c.x -sym off
MrC stparse.c -o :stparse.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
}
^
File "stparse.c"; line 624 #
### Warning 35: Parameter 'ident' is not used within function 'arraybus'
#-----------------------
MrC symbols.c -o :symbols.c.x -sym off
MrC tokens.c -o :tokens.c.x -sym off
MrC treeupdate.c -o :treeupdate.c.x -sym off
MrC writemain.c -o :writemain.c.x -sym off
MrC writeop.c -o :writeop.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if (!(core = coreopcodename(tcall)))
^
File "writeop.c"; line 491 #Warning 2: possible unintended assignment
#-----------------------
MrC writeorc.c -o :writeorc.c.x -sym off
MrC writepre.c -o :writepre.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if ((bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 575 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2032 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2117 #Warning 2: possible unintended assignment
#-----------------------
if ((bptr = getvsym(&(iptr->defnode->sptr),sptr->val)) &&
^
File "writepre.c"; line 2126 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2177 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2243 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2367 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,instr->val)))
^
File "writepre.c"; line 2411 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2436 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2526 #Warning 2: possible unintended assignment
#-----------------------
if (bitfile && bitsymin && (bptr = getvsym(&bitsymin,sptr->val)))
^
File "writepre.c"; line 2605 #Warning 2: possible unintended assignment
#-----------------------
MrC wtconst.c -o :wtconst.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
if ((nosize = (size <= 0)))
^
File "wtconst.c"; line 795 #Warning 2: possible unintended assignment
#-----------------------
}
^
File "wtconst.c"; line 994 #
### Warning 35: Parameter 'nsl' is not used within function 'harmconstcheck'
#-----------------------
MrC wtparse.c -o :wtparse.c.x -sym off
MrC C Compiler 4.1.0f1c1
Copyright (C) 1994-1999 by Apple Computer, Inc.
}
^
File "wtparse.c"; line 2190 #
### Warning 35: Parameter 'prefix' is not used within function 'wavevarinit'
#-----------------------
}
^
File "wtparse.c"; line 2333 #
### Warning 35: Parameter 'mode' is not used within function 'tablepreamble'
#-----------------------
((skipptr == NULL) || (skipptr->vol == CONSTANT))))
^
File "wtparse.c"; line 2477 #Warning 2: possible unintended assignment
#-----------------------
}
^
File "wtparse.c"; line 2802 #
### Warning 35: Parameter 'prefix' is not used within function 'randomconstcode
'
#-----------------------
PPCLink -o sfront ":ascwrite.c.x" ":asyslib.c.x" ":audio.c.x" ":blocktree.c.x
" ":cmainpass.c.x" ":collapse.c.x" ":control.c.x" ":corecode.c.x" ":coreinline.c.x
" ":corevars.c.x" ":csrclib.c.x" ":csyslib.c.x" ":globals.c.x" ":lex.c.x" ":mp4read.c.x
" ":mp4write.c.x" ":oclone.c.x" ":optconst.c.x" ":optmain.c.x" ":optrate.c.x" ":
optrefer.c.x" ":parsehelp.c.x" ":parser.tab.c.x" ":postparse.c.x" ":readmidi.c.x
" ":readscore.c.x" ":sfmain.c.x" ":special.c.x" ":stparse.c.x" ":symbols.c.x" ":
tokens.c.x" ":treeupdate.c.x" ":writemain.c.x" ":writeop.c.x" ":writeorc.c.x" ":
writepre.c.x" ":wtconst.c.x" ":wtparse.c.x" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces
&Libraries:Libraries:SharedLibraries:InterfaceLib" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:
MPW::Interfaces&Libraries:Libraries:SharedLibraries:StdCLib" "sapa:$B%f!<%F%#%j%F%#(B:
MPW-GM:MPW::Interfaces&Libraries:Libraries:SharedLibraries:MathLib" "sapa:$B%f!<%F%#(B
$B%j%F%#(B:MPW-GM:MPW::Interfaces&Libraries:Libraries:PPCLibraries:StdCRuntime.o" "
sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces&Libraries:Libraries:PPCLibraries:PPCCRuntime.o
" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces&Libraries:Libraries:PPCLibraries:
PPCToolLibs.o" -sym off -mf -d -t 'APPL' -c '????'
# 15:06:30 ----- Done.
sfront
---2 here---
this was when i made the build "PPC-only" oriented
also tried to make it "FAT"
but it failed and @ he end it was saying
-----from here-----
.
.
.
.
ILink -o sfront ":ascwrite.c.o" ":asyslib.c.o" ":audio.c.o" ":blocktree.c.o
" ":cmainpass.c.o" ":collapse.c.o" ":control.c.o" ":corecode.c.o" ":coreinline.c.o
" ":corevars.c.o" ":csrclib.c.o" ":csyslib.c.o" ":globals.c.o" ":lex.c.o" ":mp4read.c.o
" ":mp4write.c.o" ":oclone.c.o" ":optconst.c.o" ":optmain.c.o" ":optrate.c.o" ":
optrefer.c.o" ":parsehelp.c.o" ":parser.tab.c.o" ":postparse.c.o" ":readmidi.c.o
" ":readscore.c.o" ":sfmain.c.o" ":special.c.o" ":stparse.c.o" ":symbols.c.o" ":
tokens.c.o" ":treeupdate.c.o" ":writemain.c.o" ":writeop.c.o" ":writeorc.c.o" ":
writepre.c.o" ":wtconst.c.o" ":wtparse.c.o" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces
&Libraries:Libraries:Libraries:MathLib.o" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces
&Libraries:Libraries:CLibraries:StdCLib.o" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces
&Libraries:Libraries:Libraries:MacRuntime.o" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces
&Libraries:Libraries:Libraries:IntEnv.o" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces
&Libraries:Libraries:Libraries:ToolLibs.o" "sapa:$B%f!<%F%#%j%F%#(B:MPW-GM:MPW::Interfaces
&Libraries:Libraries:Libraries:Interface.o" -sym off -mf -d -t 'APPL' -c '????' -
model near -state rewrite -compact -pad 0
# Reference to "___MAIN" out of range
# Segment 'CODE'(1), module "%__MAIN"
# Error: PC-relative offset of reference from code does not fit into 16 bits
# Error 3011 while writing output file
# Error: PC-relative offset of reference from code does not fit into 16 bits
#
ILink - Execution terminated!
### MPW Shell - Execution of sfront.makeout terminated.
### MPW Shell - Execution of BuildProgram terminated.
---2 here---
mmm...
can anybody help?
thanx in advance
BUYO-BUYO-IGOR --- @ SaRiGaMa's Oil Vending Orchestra ---
http://i.am/sarigama
a mailing-list 4 people living in Tokyo
http://i.am/gaijin
This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:41 EST