Outstanding, could you share the source?
SGI: Development
Slow Spheres - Page 1
Whoohoo! Yet another piece of awesum' homebrew for my Sgi to smoke!
Awesome work!
Regards
Ryan
_________________
MAYA, nut-
Octane 2 R14k 600 V12 4GB, Octane2 R14K 600 V10 1GB ,
Onyx2 IR3 4GB Quad R14K 500 DIVO, Onyx2 IR Quad R12K 400 2GB,
SGI Indigo 2 R8K75 TEAL Extreme 256MB,
SGI Indigo 2 R10K 195 Solid Impact 256MB, MAX Impact Pending ,
Apple G5 Quad, NV Quadro 4500 + 7800GT, 12GB RAM
Sun Blade 1000 Dual 900 XVR 1000
Impressive! Works fine on the fuel but...how do you stop this program? It completely locks up my machine when executed. Maybe I'm just too stupid but I tried Alt-F4, Ctrl-c, esc....nothing happens.
Apple iMac, IBM p275, IBM p285, IBM 43p140, HP 2133, Sun Fire 280R, Sun Ultra1 clone (300Mhz), Sun Ultra2 (2x400 MHz), HP C8000, Fujitsu Primepower 250, HP rx4640
Very nice, works great on my Fuel.
But I can not find how to stop the program.
It feel a bit hard to reboot every time.
Regards.
/Christer
But I can not find how to stop the program.
It feel a bit hard to reboot every time.
Regards.
/Christer
agkbill wrote: Very nice, works great on my Fuel.
But I can not find how to stop the program.
It feel a bit hard to reboot every time.
Regards.
/Christer
Escape-Key doesn't work?
I was happy to see how well this pd-0.37.4 performs on my O2.
In order to use this fine audio software more advanced, there is a set of pd-externals for download.
Included is also a makefile for IRIX.
First I've tried to compile with the systems own cc (installed from the cd's developer libraries and developer foundation). It didn't work. I installed then the fw_gcc3.3 and fw_gmake from sgi's webpage. It didn't work. It is possible, that I need a different version of gcc?
The helpfiles provided does not say anything about the version of a compiler.
here are the files I'm using:
pd http://sourceforge.net/projects/pure-data/files/pure-data/0.37-4/
pd-externals http://sourceforge.net/projects/pure-data/files/pd-externals/20030311/
here is the hinv / O2 http://forums.nekochan.net/viewtopic.php?f=14&t=16719990
IRIX version is 6.5.28
here is a screenshot showing at the very bottom left the console of the gcc and above the error of the cc. on the right the makefile/ nedit.
Can anyone help me with this? Thanks omelett
In order to use this fine audio software more advanced, there is a set of pd-externals for download.
Included is also a makefile for IRIX.
First I've tried to compile with the systems own cc (installed from the cd's developer libraries and developer foundation). It didn't work. I installed then the fw_gcc3.3 and fw_gmake from sgi's webpage. It didn't work. It is possible, that I need a different version of gcc?
The helpfiles provided does not say anything about the version of a compiler.
here are the files I'm using:
pd http://sourceforge.net/projects/pure-data/files/pure-data/0.37-4/
pd-externals http://sourceforge.net/projects/pure-data/files/pd-externals/20030311/
here is the hinv / O2 http://forums.nekochan.net/viewtopic.php?f=14&t=16719990
IRIX version is 6.5.28
here is a screenshot showing at the very bottom left the console of the gcc and above the error of the cc. on the right the makefile/ nedit.
Can anyone help me with this? Thanks omelett
install and try the neko_gmake package in nekoware.
R.
R.
_________________
死の神はりんごだけ食べる
開いた括弧は必ず閉じる -- あるプログラマー
I saw his body thrashing 'round
I saw his pulse rate going down
I saw him in convulsive throes
I said "I'll have one of those" -- (He'll never be) an Ol' Man River.
J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.
Sold: Tandem Himalaya S-Series Nonstop S72000 ServerNet.
@PymbleSoftware
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Book ----> http://pymblesoftware.com/book/
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.
PymbleSoftware wrote:
install and try the neko_gmake package in nekoware.
R.
R.
Hi R. Thank You for the hint!
It didn't work either. The same make error :
Code:
EA 3# /usr/nekoware/bin/gmake -f /pd-0.37/pd-externals/build/irix/makefile
gmake: *** No rule to make target `externals~.pd_irix6', needed by `pd_irix6'. Stop.
gmake: *** No rule to make target `externals~.pd_irix6', needed by `pd_irix6'. Stop.
After that, I have also installed the neko_gcc43_core, but it remains the same.
here is the makefile, provided with the sources :
Code:
NAME=externals~
CSYM=externals_tilde
current: pd_irix6
# ----------------------- NT -----------------------
pd_nt: $(NAME).dll
.SUFFIXES: .dll
PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
VC="C:\Program Files\Microsoft Visual Studio\Vc98"
PDNTINCLUDE = /I. /I\tcl\include /I\ftp\pd\src /I$(VC)\include
PDNTLDIR = $(VC)\lib
PDNTLIB = $(PDNTLDIR)\libc.lib \
$(PDNTLDIR)\oldnames.lib \
$(PDNTLDIR)\kernel32.lib \
\ftp\pd\bin\pd.lib
.c.dll:
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)
# ----------------------- IRIX 5.x -----------------------
pd_irix5: $(NAME).pd_irix5
.SUFFIXES: .pd_irix5
SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2
SGIINCLUDE = -I../../src
.c.pd_irix5:
cc $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c
ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o
rm $*.o
# ----------------------- IRIX 6.x -----------------------
pd_irix6: $(NAME).pd_irix6
.SUFFIXES: .pd_irix6
SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip32
.c.pd_irix6:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o
# ----------------------- LINUX i386 -----------------------
pd_linux: $(NAME).pd_linux
.SUFFIXES: .pd_linux
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch
LINUXINCLUDE = -I../../src
.c.pd_linux:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm -f $*.o ../$*.pd_linux
ln -s $*/$*.pd_linux ..
# ----------------------- Mac OSX -----------------------
pd_darwin: $(NAME).pd_darwin
.SUFFIXES: .pd_darwin
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
.c.pd_darwin:
cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
rm -f $*.o ../$*.pd_darwin
ln -s $*/$*.pd_darwin ..
# ----------------------------------------------------------
clean:
rm -f *.o *.pd_* so_locations
CSYM=externals_tilde
current: pd_irix6
# ----------------------- NT -----------------------
pd_nt: $(NAME).dll
.SUFFIXES: .dll
PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
VC="C:\Program Files\Microsoft Visual Studio\Vc98"
PDNTINCLUDE = /I. /I\tcl\include /I\ftp\pd\src /I$(VC)\include
PDNTLDIR = $(VC)\lib
PDNTLIB = $(PDNTLDIR)\libc.lib \
$(PDNTLDIR)\oldnames.lib \
$(PDNTLDIR)\kernel32.lib \
\ftp\pd\bin\pd.lib
.c.dll:
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB)
# ----------------------- IRIX 5.x -----------------------
pd_irix5: $(NAME).pd_irix5
.SUFFIXES: .pd_irix5
SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2
SGIINCLUDE = -I../../src
.c.pd_irix5:
cc $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c
ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o
rm $*.o
# ----------------------- IRIX 6.x -----------------------
pd_irix6: $(NAME).pd_irix6
.SUFFIXES: .pd_irix6
SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip32
.c.pd_irix6:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o
# ----------------------- LINUX i386 -----------------------
pd_linux: $(NAME).pd_linux
.SUFFIXES: .pd_linux
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch
LINUXINCLUDE = -I../../src
.c.pd_linux:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm -f $*.o ../$*.pd_linux
ln -s $*/$*.pd_linux ..
# ----------------------- Mac OSX -----------------------
pd_darwin: $(NAME).pd_darwin
.SUFFIXES: .pd_darwin
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
.c.pd_darwin:
cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
rm -f $*.o ../$*.pd_darwin
ln -s $*/$*.pd_darwin ..
# ----------------------------------------------------------
clean:
rm -f *.o *.pd_* so_locations
Any Help / Ideas , how to get it compiled?
omelett
That's a make error not a compiler error. Which isn't to say that gcc will compile it once the make error is solved, but the first time you tried to compile it was with Irix make,
not
gmake?
_________________
Project:
Simple as do, re, mi. a, b, c. one, two, three baby you and me
Plan:
World domination! Or something...
vishnu wrote:
That's a make error not a compiler error. Which isn't to say that gcc will compile it once the make error is solved, but the first time you tried to compile it was with Irix make,
not
gmake?
Yes thats true, vishnu. It was IRIX make the very first time, then I installed the fw_gcc3.3 and fw_gmake from sgis freeware site. Finaly I tried the neko_make.
I got a hint pointing at some problems with makefile regarding "inconsistent line-breaks".
So I wrote part of the makefile in new file ( I let out the darwin, nt and linux parts) with nedit, but the make error remains the same.
I never compiled anything before, so my knowledge at this is near ground zero.
I have added the path for freeware and neko directories in my .login file.
Anyway, thank You for Your help!
omelett
omelett wrote:
vishnu wrote:
That's a make error not a compiler error. Which isn't to say that gcc will compile it once the make error is solved, but the first time you tried to compile it was with Irix make,
not
gmake?
Yes thats true, vishnu. It was IRIX make the very first time, then I installed the fw_gcc3.3 and fw_gmake from sgis freeware site. Finaly I tried the neko_make.
I got a hint pointing at some problems with makefile regarding "inconsistent line-breaks".
So I wrote part of the makefile in new file ( I let out the darwin, nt and linux parts) with nedit, but the make error remains the same.
I never compiled anything before, so my knowledge at this is near ground zero.
I have added the path for freeware and neko directories in my .login file.
Anyway, thank You for Your help!
omelett
If nothing else works, use the verbose mode "gmake --debug=v" to get a few more hints at what gmake is attempting..
you can find out more about it here:
http://www.gnu.org/software/make/manual/make.html
With the "inconsistent line-breaks" thing, maybe this came from a Windows/DOS Machine..? Does nedit say something like DOS compatibilty in a status line or something..?
if you edit it with vi do you see ^M at the end of lines..? you can either use a command like dos2unix or in vi use a command like the following..
:% s/^V^M//g
By ^V and ^M I mean hold the control key down and press the V key and then hold the control key down and press the M key.
colon for command mode, % for all lines, "s" for substitute all things in the first set between the /^M/ for the second set //.
That is replace the control-Ms with nothing..
Also there should be nothing after the continuation character ("\") at the end of lines. No whitespace, no spaces, nada, nil, zip..
I don't know what a .pd_irix6 file is... and the suffix rules don't make a whole lot of sense to me.
Code:
pd_irix6: $(NAME).pd_irix6
From the command line type
Code:
echo $NAME
you might also be able to get away with something like this in bash..
I am no where near a UNIX machine.. I am doing embedded stuff at the moment.. but roughly...
Code:
for X in *.irix6 ; do Y=`echo $X | cut -d. -f1` ; gmake $Y.c ; done
... or:
replace this line..
Code:
.c.pd_irix6:
with
Code:
fred:
and put a # at the start of the suffix rules..
Code:
pd_irix6: $(NAME).pd_irix6
.SUFFIXES: .pd_irix6
.SUFFIXES: .pd_irix6
Code:
#pd_irix6: $(NAME).pd_irix6
#.SUFFIXES: .pd_irix6
#.SUFFIXES: .pd_irix6
then
Code:
gmake fred
R.
_________________
死の神はりんごだけ食べる
開いた括弧は必ず閉じる -- あるプログラマー
I saw his body thrashing 'round
I saw his pulse rate going down
I saw him in convulsive throes
I said "I'll have one of those" -- (He'll never be) an Ol' Man River.
J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.
Sold: Tandem Himalaya S-Series Nonstop S72000 ServerNet.
@PymbleSoftware
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Book ----> http://pymblesoftware.com/book/
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.
Thanks R. !
I don't try to compile pd. I use the binary from sourceforge, for IRIX 6.5
I try to compile the pd-externals package, which provide some more functionality to pd.
Because the official support for pd on IRIX was dropped some years ago, You cannot download a recent pd-extended version which includes all the externals and is precompiled for linux, osx and w..
According to the "readme", You have only to 'make' it, no configure or autotools.
I opened the 'makefile' with vi. there are no ^M. There is only the text I can see with nedit too.
Nedit doesn't say nothing about DOS.
So what I'm missing? gmake doesn't like the makefile...
edited makefile:
I removed the DOT before pd_irix6 (like "fred" in Your example)
gmake output :
I don't understand, but ....
Anyway, thanks a lot R.!
omelett
I don't try to compile pd. I use the binary from sourceforge, for IRIX 6.5
I try to compile the pd-externals package, which provide some more functionality to pd.
Because the official support for pd on IRIX was dropped some years ago, You cannot download a recent pd-extended version which includes all the externals and is precompiled for linux, osx and w..
According to the "readme", You have only to 'make' it, no configure or autotools.
Code:
EA 2# /usr/nekoware/bin/gmake --debug=v /Desktop/pd-externals/build/irix/makefile
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for mips-sgi-irix6.5
Reading makefiles...
Updating goal targets....
Considering target file `/Desktop/pd-externals/build/irix/makefile'.
Finished prerequisites of target file `/Desktop/pd-externals/build/irix/makefile'.
No need to remake target `/Desktop/pd-externals/build/irix/makefile'.
gmake: Nothing to be done for `/Desktop/pd-externals/build/irix/makefile'.
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for mips-sgi-irix6.5
Reading makefiles...
Updating goal targets....
Considering target file `/Desktop/pd-externals/build/irix/makefile'.
Finished prerequisites of target file `/Desktop/pd-externals/build/irix/makefile'.
No need to remake target `/Desktop/pd-externals/build/irix/makefile'.
gmake: Nothing to be done for `/Desktop/pd-externals/build/irix/makefile'.
I opened the 'makefile' with vi. there are no ^M. There is only the text I can see with nedit too.
Nedit doesn't say nothing about DOS.
So what I'm missing? gmake doesn't like the makefile...
edited makefile:
Code:
NAME=choice
CSYM=choice
current: pd_irix6
# ----------------------- IRIX 6.x -----------------------
#pd_irix6: $(NAME).pd_irix6
#.SUFFIXES: .pd_irix6
SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip32
pd_irix6:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o
# ----------------------------------------------------------
clean:
rm -f *.o *.pd_* so_locations
CSYM=choice
current: pd_irix6
# ----------------------- IRIX 6.x -----------------------
#pd_irix6: $(NAME).pd_irix6
#.SUFFIXES: .pd_irix6
SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip32
pd_irix6:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o
# ----------------------------------------------------------
clean:
rm -f *.o *.pd_* so_locations
I removed the DOT before pd_irix6 (like "fred" in Your example)
gmake output :
Code:
EA 15# /usr/nekoware/bin/gmake --debug=v
GNU Make 3.81
This program built for mips-sgi-irix6.5
Reading makefiles...
Reading makefile `makefile'...
Updating goal targets....
Considering target file `current'.
File `current' does not exist.
Considering target file `pd_irix6'.
File `pd_irix6' does not exist.
Finished prerequisites of target file `pd_irix6'.
Must remake target `pd_irix6'.
cc -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip32 -o .o -c .c
cc WARNING: Unrecognized -Ofast value 'ip32': defaulting to 'ip25' (R10000 Power Challenge)
cc ERROR: file does not exist: .c
gmake: *** [pd_irix6] Error 2
GNU Make 3.81
This program built for mips-sgi-irix6.5
Reading makefiles...
Reading makefile `makefile'...
Updating goal targets....
Considering target file `current'.
File `current' does not exist.
Considering target file `pd_irix6'.
File `pd_irix6' does not exist.
Finished prerequisites of target file `pd_irix6'.
Must remake target `pd_irix6'.
cc -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip32 -o .o -c .c
cc WARNING: Unrecognized -Ofast value 'ip32': defaulting to 'ip25' (R10000 Power Challenge)
cc ERROR: file does not exist: .c
gmake: *** [pd_irix6] Error 2
I don't understand, but ....
Anyway, thanks a lot R.!
omelett
The makefile is borked. I'm nowhere near an sgi right now so I can't try to fix it, how many c files are there? Have you tried compiling any of them by hand? For example
cc -c sourcefile.c -o sourcefile.o
If that doesn't work just keep adding options from SGICFLAGS6 until it does:
cc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip32 sourcefile.c -o sourcefile.o
cc -c sourcefile.c -o sourcefile.o
If that doesn't work just keep adding options from SGICFLAGS6 until it does:
cc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip32 sourcefile.c -o sourcefile.o
_________________
Project:
Simple as do, re, mi. a, b, c. one, two, three baby you and me
Plan:
World domination! Or something...
The $* is not evaluating to anything because of the suffix rule stuff..
comment this out with by putting a hash at the front of the line...
Do a directory listing and replace all the abcd.c files with a list like the following:
a.c in the directory becomes a.o ... etc..
The space in front of the ld in the line above is a tab and only a tab.
R.
comment this out with by putting a hash at the front of the line...
Code:
pd_irix6:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o
rm $*.o
Do a directory listing and replace all the abcd.c files with a list like the following:
Code:
OBJS=a.o b.o c.o d.o
a.c in the directory becomes a.o ... etc..
Code:
# probably not needed.. usually built in suffix rules.
# .c.o:
# cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
# before the cc line is a tab...
pd_irix6: $(OBJS)
ld -n32 -IPA -shared -rdata_shared -o abc.pd_irix6 $(OBJS)
# .c.o:
# cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
# before the cc line is a tab...
pd_irix6: $(OBJS)
ld -n32 -IPA -shared -rdata_shared -o abc.pd_irix6 $(OBJS)
The space in front of the ld in the line above is a tab and only a tab.
R.
_________________
死の神はりんごだけ食べる
開いた括弧は必ず閉じる -- あるプログラマー
I saw his body thrashing 'round
I saw his pulse rate going down
I saw him in convulsive throes
I said "I'll have one of those" -- (He'll never be) an Ol' Man River.
J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.
Sold: Tandem Himalaya S-Series Nonstop S72000 ServerNet.
@PymbleSoftware
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Book ----> http://pymblesoftware.com/book/
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.
hi there,
@ vishnu - thanks for Your hint vishnu!
so far I "understand" is that makefile for the MIPS PRO compiler..?
@R. - thank You R.!
here is the modified makefile and the console output
here is the link to the source of the pd-externals
http://sourceforge.net/projects/pure-data/files/pd-externals/20030311/
here a link to the "newest" binary of pd - thanks to Olaf
http://www.nullmedium.de/dev/irix/
Any Ideas?
omelett
@ vishnu - thanks for Your hint vishnu!
Code:
EA 18# cd /Desktop/pd-externals/aenv~
EA 19# cc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip25 aenv~.c -o aenv~.o
No such feature exists (-5,116)
The MIPSpro C Compiler
(license FEATURE string = cc)
requires a license password.
For license installation and trouble shooting
information visit the web page:
http://www.sgi.com/Support/Licensing/install_docs.html
To obtain a Permanent license (proof of purchase
required) or an Evaluation license please
visit our license request web page:
http://www.sgi.com/Products/license.html
or send a blank email message to:
[email protected]
In North America, Silicon Graphics' customers may request
Permanent licenses by sending a facsimile to:
(650) 932-0537
or by calling our technical support hotline
1-800-800-4SGI
If you are Outside of North America or you are not a Silicon
Graphics support customer then contact your local support provider.
cc ERROR: cannot exec /usr/lib32/cmplrs/fec
EA 20# gcc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip25 aenv~.c -o aenv~.o
gcc: cannot specify -o with -c or -S and multiple compilations
EA 21#
EA 19# cc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip25 aenv~.c -o aenv~.o
No such feature exists (-5,116)
The MIPSpro C Compiler
(license FEATURE string = cc)
requires a license password.
For license installation and trouble shooting
information visit the web page:
http://www.sgi.com/Support/Licensing/install_docs.html
To obtain a Permanent license (proof of purchase
required) or an Evaluation license please
visit our license request web page:
http://www.sgi.com/Products/license.html
or send a blank email message to:
[email protected]
In North America, Silicon Graphics' customers may request
Permanent licenses by sending a facsimile to:
(650) 932-0537
or by calling our technical support hotline
1-800-800-4SGI
If you are Outside of North America or you are not a Silicon
Graphics support customer then contact your local support provider.
cc ERROR: cannot exec /usr/lib32/cmplrs/fec
EA 20# gcc -c -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true -Ofast=ip25 aenv~.c -o aenv~.o
gcc: cannot specify -o with -c or -S and multiple compilations
EA 21#
so far I "understand" is that makefile for the MIPS PRO compiler..?
@R. - thank You R.!
here is the modified makefile and the console output
Code:
NAME=choice
CSYM=choice
current: pd_irix6
# ----------------------- IRIX 6.x -----------------------
#pd_irix6: $(NAME).pd_irix6
#.SUFFIXES: .pd_irix6
OBJS=aenv~.o ann.o ann_som.o arbran.o arraysize.o ascseq.o ascwave.o atan2~.o average.o bandpass.o bangfilt2.o bangfilt.o beat.o beta.o bfilt2.o bfilt.o bilex.o binshift.o borax.o button.o catch13~.o cauchy.o cdplayer.o chord.o counter.o cxavgdev.o cxmean.o cxstddev.o delta.o delta~.o dist.o dist_normal.o divide.o divmod.o edge.o envgen.o equalizer.o expo.o fifo.o filesize.o ftos.o gauss.o gestalt.o henon.o hex2dec.o highpass.o highshelf.o history.o hlshelf.o ignore.o ikeda.o image.o inv.o iso.o ixprint.o kalashnikov.o lifo.o limit.o linear.o listfunnel.o lorenz.o lowpass.o lowshelf.o mandelbrot.o mandelbrot~.o match.o mean.o mean~.o microtime.o minus.o mixer~.o mlife.o moog~.o multi.o netclient.o netdist.o netrec.o netserver.o notch.o nroute.o oggamp~.o oggcast~.o oggread~.o oggwrite~.o openpatch.o ossmixer.o piperead~.o pipewrite~.o pitch.o plugin~.o plus.o poisson.o pong.o prepend.o proc.o promiscous~.o proxy.o pulse.o qread.o random1.o randomix.o random_fl.o random_icg.o random_tw.o receive13.o receive13~.o remote.o reson.o reson~.o rhythm.o rhythm_ioi_histogram.o rhythm_quantum.o rhythm_slave_metro.o rl.o rossler.o rtin~.o scale.o score.o scramble~.o send13.o send13~.o serialctl.o serialize.o serial_bird.o serial_ms.o sfread~.o sfwrite13~.o sfwrite~.o shell.o sigdelta.o sinh.o slider.o sl.o speedlim.o sprinkler.o state.o step.o streamin13~.o streamin~.o streamout13~.o streamout~.o stripdir.o strippath.o subst.o susloop~.o svf~.o temperature.o throw13~.o ticker.o tilt.o toddle.o triang.o unserialize.o utime.o vbap.o velocity.o vst.o wavinfo.o weibull.o zhzxh~.o
#SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip25
pd_irix6: $(OBJS)
# cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o abc.pd_irix6 $(OBJS)
rm $*.o
# ----------------------------------------------------------
clean:
rm -f *.o *.pd_* so_locations
CSYM=choice
current: pd_irix6
# ----------------------- IRIX 6.x -----------------------
#pd_irix6: $(NAME).pd_irix6
#.SUFFIXES: .pd_irix6
OBJS=aenv~.o ann.o ann_som.o arbran.o arraysize.o ascseq.o ascwave.o atan2~.o average.o bandpass.o bangfilt2.o bangfilt.o beat.o beta.o bfilt2.o bfilt.o bilex.o binshift.o borax.o button.o catch13~.o cauchy.o cdplayer.o chord.o counter.o cxavgdev.o cxmean.o cxstddev.o delta.o delta~.o dist.o dist_normal.o divide.o divmod.o edge.o envgen.o equalizer.o expo.o fifo.o filesize.o ftos.o gauss.o gestalt.o henon.o hex2dec.o highpass.o highshelf.o history.o hlshelf.o ignore.o ikeda.o image.o inv.o iso.o ixprint.o kalashnikov.o lifo.o limit.o linear.o listfunnel.o lorenz.o lowpass.o lowshelf.o mandelbrot.o mandelbrot~.o match.o mean.o mean~.o microtime.o minus.o mixer~.o mlife.o moog~.o multi.o netclient.o netdist.o netrec.o netserver.o notch.o nroute.o oggamp~.o oggcast~.o oggread~.o oggwrite~.o openpatch.o ossmixer.o piperead~.o pipewrite~.o pitch.o plugin~.o plus.o poisson.o pong.o prepend.o proc.o promiscous~.o proxy.o pulse.o qread.o random1.o randomix.o random_fl.o random_icg.o random_tw.o receive13.o receive13~.o remote.o reson.o reson~.o rhythm.o rhythm_ioi_histogram.o rhythm_quantum.o rhythm_slave_metro.o rl.o rossler.o rtin~.o scale.o score.o scramble~.o send13.o send13~.o serialctl.o serialize.o serial_bird.o serial_ms.o sfread~.o sfwrite13~.o sfwrite~.o shell.o sigdelta.o sinh.o slider.o sl.o speedlim.o sprinkler.o state.o step.o streamin13~.o streamin~.o streamout13~.o streamout~.o stripdir.o strippath.o subst.o susloop~.o svf~.o temperature.o throw13~.o ticker.o tilt.o toddle.o triang.o unserialize.o utime.o vbap.o velocity.o vst.o wavinfo.o weibull.o zhzxh~.o
#SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \
-Ofast=ip25
pd_irix6: $(OBJS)
# cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
ld -n32 -IPA -shared -rdata_shared -o abc.pd_irix6 $(OBJS)
rm $*.o
# ----------------------------------------------------------
clean:
rm -f *.o *.pd_* so_locations
Code:
EA 15# cd /Desktop/pd-externals/build/irix
EA 16# /usr/nekoware/bin/gmake --debug=v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for mips-sgi-irix6.5
Reading makefiles...
Reading makefile `makefile'...
Updating goal targets....
Considering target file `current'.
File `current' does not exist.
Considering target file `pd_irix6'.
File `pd_irix6' does not exist.
Considering target file `aenv~.o'.
File `aenv~.o' does not exist.
Finished prerequisites of target file `aenv~.o'.
Must remake target `aenv~.o'.
gmake: *** No rule to make target `aenv~.o', needed by `pd_irix6'. Stop.
EA 17#
EA 16# /usr/nekoware/bin/gmake --debug=v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for mips-sgi-irix6.5
Reading makefiles...
Reading makefile `makefile'...
Updating goal targets....
Considering target file `current'.
File `current' does not exist.
Considering target file `pd_irix6'.
File `pd_irix6' does not exist.
Considering target file `aenv~.o'.
File `aenv~.o' does not exist.
Finished prerequisites of target file `aenv~.o'.
Must remake target `aenv~.o'.
gmake: *** No rule to make target `aenv~.o', needed by `pd_irix6'. Stop.
EA 17#
here is the link to the source of the pd-externals
http://sourceforge.net/projects/pure-data/files/pd-externals/20030311/
here a link to the "newest" binary of pd - thanks to Olaf
http://www.nullmedium.de/dev/irix/
Any Ideas?
omelett
Try this:
There is a tab before the cc..
R.
Code:
.c.o:
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c
There is a tab before the cc..
R.
_________________
死の神はりんごだけ食べる
開いた括弧は必ず閉じる -- あるプログラマー
I saw his body thrashing 'round
I saw his pulse rate going down
I saw him in convulsive throes
I said "I'll have one of those" -- (He'll never be) an Ol' Man River.
J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.
Sold: Tandem Himalaya S-Series Nonstop S72000 ServerNet.
@PymbleSoftware
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Book ----> http://pymblesoftware.com/book/
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.
Quote:
cc ERROR: cannot exec /usr/lib32/cmplrs/fec
I'm 99 percent sure this means your MipsPRO compiler installation is incomplete...
Quote:
gcc: cannot specify -o with -c or -S and multiple compilations
Those CFLAGS are specific to the MipsPRO compiler only, try gcc with NO flags and see what it complains about, then add a flag for whatever that might be...
_________________
Project:
Simple as do, re, mi. a, b, c. one, two, three baby you and me
Plan:
World domination! Or something...
Thanks vishnu & R.
@vishnu - so that means, there are different makefiles for different compilers? is that true?
@R. - sorry R., but it still don't make a difference.
omelett
@vishnu - so that means, there are different makefiles for different compilers? is that true?
@R. - sorry R., but it still don't make a difference.
omelett
omelett wrote:
@vishnu - so that means, there are different makefiles for different compilers? is that true?
omelett
omelett
Oh hell yeah!
Did you try compiling any of the c files using gcc with no compiler options? You know, gcc -c sourcefile.c -o sourcefile.o ???
Doubtless it will give errors, probably include file errors at least, but you add compiler options to whisk those away, and eventually you'll have all the source files compiled into object files, you link them and bingo! Binary executable...
_________________
Project:
Simple as do, re, mi. a, b, c. one, two, three baby you and me
Plan:
World domination! Or something...
@ vishnu - thanks much for Your hint vishnu!
here the output from console:
I've tried some other options like "-n32" but gcc claims "unrecognized option '-n32' ".
The file 'm_pd.h'
another attempt :
I do not have any idea now.
Is there a way to get rid off these errors? ('x' 's' 't_method' etc.) or not?
Could someone with MIPSPRO give it a try?
regards
omelett
here the output from console:
Code:
EA 5# cd /Desktop/pd-externals/arraysize
EA 6# gcc -c arraysize.c -o arraysize.o
arraysize.c:15:18: m_pd.h: No such file or directory
arraysize.c:17: error: parse error before '*' token
arraysize.c:17: warning: data definition has no type or storage class
arraysize.c:20: error: parse error before "t_object"
arraysize.c:20: warning: no semicolon at end of struct or union
arraysize.c:21: warning: data definition has no type or storage class
arraysize.c:22: error: parse error before '}' token
arraysize.c:22: warning: data definition has no type or storage class
arraysize.c:24: error: parse error before '*' token
arraysize.c: In function `arraysize_set':
arraysize.c:26: error: `x' undeclared (first use in this function)
arraysize.c:26: error: (Each undeclared identifier is reported only once
arraysize.c:26: error: for each function it appears in.)
arraysize.c:26: error: `s' undeclared (first use in this function)
arraysize.c: At top level:
arraysize.c:29: error: parse error before '*' token
arraysize.c: In function `arraysize_bang':
arraysize.c:31: error: `t_garray' undeclared (first use in this function)
arraysize.c:31: error: `garray' undeclared (first use in this function)
arraysize.c:33: error: parse error before ')' token
arraysize.c: At top level:
arraysize.c:40: error: parse error before '*' token
arraysize.c: In function `arraysize_new':
arraysize.c:42: error: `x' undeclared (first use in this function)
arraysize.c:42: error: parse error before ')' token
arraysize.c:46: error: `s' undeclared (first use in this function)
arraysize.c: In function `arraysize_setup':
arraysize.c:53: error: `t_newmethod' undeclared (first use in this function)
arraysize.c:53: error: parse error before "arraysize_new"
arraysize.c:55: error: `t_method' undeclared (first use in this function)
arraysize.c:55: error: parse error before "arraysize_set"
EA 6# gcc -c arraysize.c -o arraysize.o
arraysize.c:15:18: m_pd.h: No such file or directory
arraysize.c:17: error: parse error before '*' token
arraysize.c:17: warning: data definition has no type or storage class
arraysize.c:20: error: parse error before "t_object"
arraysize.c:20: warning: no semicolon at end of struct or union
arraysize.c:21: warning: data definition has no type or storage class
arraysize.c:22: error: parse error before '}' token
arraysize.c:22: warning: data definition has no type or storage class
arraysize.c:24: error: parse error before '*' token
arraysize.c: In function `arraysize_set':
arraysize.c:26: error: `x' undeclared (first use in this function)
arraysize.c:26: error: (Each undeclared identifier is reported only once
arraysize.c:26: error: for each function it appears in.)
arraysize.c:26: error: `s' undeclared (first use in this function)
arraysize.c: At top level:
arraysize.c:29: error: parse error before '*' token
arraysize.c: In function `arraysize_bang':
arraysize.c:31: error: `t_garray' undeclared (first use in this function)
arraysize.c:31: error: `garray' undeclared (first use in this function)
arraysize.c:33: error: parse error before ')' token
arraysize.c: At top level:
arraysize.c:40: error: parse error before '*' token
arraysize.c: In function `arraysize_new':
arraysize.c:42: error: `x' undeclared (first use in this function)
arraysize.c:42: error: parse error before ')' token
arraysize.c:46: error: `s' undeclared (first use in this function)
arraysize.c: In function `arraysize_setup':
arraysize.c:53: error: `t_newmethod' undeclared (first use in this function)
arraysize.c:53: error: parse error before "arraysize_new"
arraysize.c:55: error: `t_method' undeclared (first use in this function)
arraysize.c:55: error: parse error before "arraysize_set"
I've tried some other options like "-n32" but gcc claims "unrecognized option '-n32' ".
The file 'm_pd.h'
Attachment:
another attempt :
Code:
EA 13# cd /Desktop/pd-externals/maxlib
EA 14# gcc -c maxlib.c maxlib.o
gcc: maxlib.o: No such file or directory
maxlib.c:28:18: m_pd.h: No such file or directory
maxlib.c:37: error: parse error before "t_object"
maxlib.c:37: warning: no semicolon at end of struct or union
maxlib.c:38: warning: data definition has no type or storage class
maxlib.c:40: error: parse error before '*' token
maxlib.c:40: warning: data definition has no type or storage class
maxlib.c:100: error: parse error before '*' token
maxlib.c: In function `maxlib_new':
maxlib.c:102: error: `x' undeclared (first use in this function)
maxlib.c:102: error: (Each undeclared identifier is reported only once
maxlib.c:102: error: for each function it appears in.)
maxlib.c:102: error: parse error before ')' token
maxlib.c: In function `maxlib_setup':
maxlib.c:108: error: `t_newmethod' undeclared (first use in this function)
maxlib.c:108: error: parse error before "maxlib_new"
EA 14# gcc -c maxlib.c maxlib.o
gcc: maxlib.o: No such file or directory
maxlib.c:28:18: m_pd.h: No such file or directory
maxlib.c:37: error: parse error before "t_object"
maxlib.c:37: warning: no semicolon at end of struct or union
maxlib.c:38: warning: data definition has no type or storage class
maxlib.c:40: error: parse error before '*' token
maxlib.c:40: warning: data definition has no type or storage class
maxlib.c:100: error: parse error before '*' token
maxlib.c: In function `maxlib_new':
maxlib.c:102: error: `x' undeclared (first use in this function)
maxlib.c:102: error: (Each undeclared identifier is reported only once
maxlib.c:102: error: for each function it appears in.)
maxlib.c:102: error: parse error before ')' token
maxlib.c: In function `maxlib_setup':
maxlib.c:108: error: `t_newmethod' undeclared (first use in this function)
maxlib.c:108: error: parse error before "maxlib_new"
I do not have any idea now.
Is there a way to get rid off these errors? ('x' 's' 't_method' etc.) or not?
Could someone with MIPSPRO give it a try?
regards
omelett