pd-externals make error

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
omelett
Posts: 93
Joined: Sun Jan 06, 2008 6:42 am
Location: berlin, Germany GmbH

pd-externals make error

Unread postby omelett » Wed Dec 15, 2010 6:30 am

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
Attachments
pd-ex-makeN.jpg

User avatar
PymbleSoftware
Posts: 1887
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

Re: pd-externals make error

Unread postby PymbleSoftware » Wed Dec 15, 2010 11:56 am

install and try the neko_gmake package in nekoware.


R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: 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: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware

User avatar
omelett
Posts: 93
Joined: Sun Jan 06, 2008 6:42 am
Location: berlin, Germany GmbH

Re: pd-externals make error

Unread postby omelett » Thu Dec 16, 2010 6:13 am

PymbleSoftware wrote:install and try the neko_gmake package in nekoware.


R.



Hi R. Thank You for the hint!
It didn't work either. The same make error :

Code: Select all

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.

After that, I have also installed the neko_gcc43_core, but it remains the same.
here is the makefile, provided with the sources :

Code: Select all

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


Any Help / Ideas , how to get it compiled?

omelett

User avatar
vishnu
Posts: 2315
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: pd-externals make error

Unread postby vishnu » Thu Dec 16, 2010 11:47 am

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:
Temporarily lost at sea...
Plan:
World domination! Or something...

User avatar
omelett
Posts: 93
Joined: Sun Jan 06, 2008 6:42 am
Location: berlin, Germany GmbH

Re: pd-externals make error

Unread postby omelett » Thu Dec 16, 2010 12:42 pm

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

User avatar
PymbleSoftware
Posts: 1887
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

Re: pd-externals make error

Unread postby PymbleSoftware » Thu Dec 16, 2010 1:23 pm

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: Select all

pd_irix6: $(NAME).pd_irix6


From the command line type

Code: Select all

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: Select all

for X in *.irix6 ; do Y=`echo $X | cut -d. -f1` ; gmake $Y.c  ; done


... or:

replace this line..

Code: Select all

.c.pd_irix6:


with

Code: Select all

fred:


and put a # at the start of the suffix rules..

Code: Select all

pd_irix6: $(NAME).pd_irix6

.SUFFIXES: .pd_irix6


Code: Select all

#pd_irix6: $(NAME).pd_irix6

#.SUFFIXES: .pd_irix6


then

Code: Select all

gmake fred


R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: 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: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware

User avatar
omelett
Posts: 93
Joined: Sun Jan 06, 2008 6:42 am
Location: berlin, Germany GmbH

Re: pd-externals make error

Unread postby omelett » Thu Dec 16, 2010 2:13 pm

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.

Code: Select all

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'.


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: Select all

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

I removed the DOT before pd_irix6 (like "fred" in Your example)

gmake output :

Code: Select all

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


I don't understand, but ....

Anyway, thanks a lot R.!

omelett

User avatar
vishnu
Posts: 2315
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: pd-externals make error

Unread postby vishnu » Thu Dec 16, 2010 3:27 pm

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
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

User avatar
PymbleSoftware
Posts: 1887
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

Re: pd-externals make error

Unread postby PymbleSoftware » Thu Dec 16, 2010 3:44 pm

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...

Code: Select all

pd_irix6:
   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: Select all

OBJS=a.o b.o c.o d.o


a.c in the directory becomes a.o ... etc..

Code: Select all

# 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)


The space in front of the ld in the line above is a tab and only a tab.

R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: 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: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware

User avatar
omelett
Posts: 93
Joined: Sun Jan 06, 2008 6:42 am
Location: berlin, Germany GmbH

Re: pd-externals make error

Unread postby omelett » Fri Dec 17, 2010 9:55 am

hi there,
@ vishnu - thanks for Your hint vishnu!

Code: Select all

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:

         license@sgi.com

 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: Select all

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

Code: Select all

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#


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

User avatar
PymbleSoftware
Posts: 1887
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

Re: pd-externals make error

Unread postby PymbleSoftware » Fri Dec 17, 2010 1:42 pm

Try this:

Code: Select all

.c.o:
    cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c


There is a tab before the cc..

R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: 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: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware

User avatar
vishnu
Posts: 2315
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: pd-externals make error

Unread postby vishnu » Fri Dec 17, 2010 3:35 pm

cc ERROR: cannot exec /usr/lib32/cmplrs/fec


I'm 99 percent sure this means your MipsPRO compiler installation is incomplete... :cry:

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:
Temporarily lost at sea...
Plan:
World domination! Or something...

User avatar
omelett
Posts: 93
Joined: Sun Jan 06, 2008 6:42 am
Location: berlin, Germany GmbH

Re: pd-externals make error

Unread postby omelett » Sat Dec 18, 2010 6:30 am

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

User avatar
vishnu
Posts: 2315
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: pd-externals make error

Unread postby vishnu » Sat Dec 18, 2010 10:48 pm

omelett wrote:@vishnu - so that means, there are different makefiles for different compilers? is that true?
omelett

Oh hell yeah! :mrgreen:

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:
Temporarily lost at sea...
Plan:
World domination! Or something...

User avatar
omelett
Posts: 93
Joined: Sun Jan 06, 2008 6:42 am
Location: berlin, Germany GmbH

Re: pd-externals make error

Unread postby omelett » Sun Dec 19, 2010 5:13 am

@ vishnu - thanks much for Your hint vishnu!
here the output from console:

Code: Select all

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"

I've tried some other options like "-n32" but gcc claims "unrecognized option '-n32' ".

The file 'm_pd.h'
image2.jpg

another attempt :

Code: Select all

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"

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


Return to “SGI: Development”

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest