Re: is somebody using sfront on Darwin?

From: BUYO-BUYO-IGOR (igor@geocities.co.jp)
Date: Mon Jan 29 2001 - 05:29:45 EST


thanx to Mr.Lazzaro
and now i know that
mac oriented people can also complile sfront ont their machine
and am working on that to happen
but am not skilled with doing c things
so need some help
and that why this thread is back to the list
excuse me John!

> Basically, all you'll need to get started is a C compiler of
> some sort on your Mac, if you don't have one I think you can
> download MPW for free now:
>
> http://developer.apple.com/tools/mpw-tools/

downloaded this and
and roughly reading the pdf things
learned how to create the "sfront.make" for

> http://www.cs.berkeley.edu/~lazzaro/sa/sfront.zip

what i did was

choosing fileswith the extention ".c" in the "src" folder
(but not things in the "win" nor "lib" folders)
and did the built

but the result went like this

-----from here-----

# 18:49:58 ----- Build of sfront.
# 18:49:58 ----- Analyzing dependencies.
# 18:49:58 ----- 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
#-----------------------
  float endstream = 3.40282347e+38F;
                    ^
File "mp4write.c"; line 1594 #Lexical error: floating point constant does not fit
in type float
#-----------------------
  if ((hasend = (sstrsasl->endtimeval || confsasl->endtimeval)))
                                                               ^
File "mp4write.c"; line 1621 #Warning 2: possible unintended assignment
#-----------------------
### MPW Shell - Execution of sfront.makeout terminated.
### MPW Shell - Execution of BuildProgram terminated.

-----to here-----

next thing i tried was
just replacing the name of original "Makefile" folder 2 "sfront.make"
this gave the result below

-----from here-----

# 18:55:09 ----- Build of sfront.
# 18:55:09 ----- Analyzing dependencies.
# Error: Command line not following dependency line
File sfront.make; Line 70

# Error: Command line not following dependency line
File sfront.make; Line 71

# Error: Command line not following dependency line
File sfront.make; Line 72

# Error: Command line not following dependency line
File sfront.make; Line 73

# Error: Command line not following dependency line
File sfront.make; Line 74

# Error: Command line not following dependency line
File sfront.make; Line 75

# Error: Line is not a dependency or variable definition line
File sfront.make; Line 78

.
.
<cut>
.
.
.

# Fatal error:
Make - Execution terminated!
### MPW Shell - Execution of BuildProgram terminated.

-----to here-----

can somebody give me the
correct sfront.make file?

thanx

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