[PD] Re: [PD-announce] sIgpAck0.03

Frank Barknecht fbar at footils.org
Fri Jan 6 21:55:23 CET 2006


Hallo,
m.weiss hat gesagt: // m.weiss wrote:

> never thought about that linuxusers cant use shockwave
> anyway im planing to make a html website since a few days
> but this needs some time i havent at the moment
> so heres a quick link
> http://www.weiss-archiv.de/ext/sIgpAck0.03.ZIP

It compiles fine as single externals using attached makefile to be put in
"source", however Pd doesn't load it because it cannot find the
"_setup"-functions:

load_object: Symbol "sp.chop_tilde_setup" not found
 sp.chop~  
... couldn't create

There must be a simple fix for this, can anyone tell me? (I would prefer not to
build this as a library...)

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
-------------- next part --------------

prefix=$(DESTDIR)/usr

#EXTERNALS = $(shell ls *.c )

EXTERNALS = sp.chop~.c sp.decimate~.c sp.diode~.c sp.foldback~.c sp.foldover~.c sp.freqdiv~.c sp.freqshift~.c sp.harmgen~.c sp.rectify~.c sp.round~.c sp.saturate~.c sp.sieve~.c sp.split~.c sp.ustep~.c sp.vowel~.c 

all: $(EXTERNALS:.c=.pd_linux)

.SUFFIXES: .pd_linux

LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
    -Wall -W -Wshadow -Wstrict-prototypes  \
    -Wno-unused -Wno-parentheses -Wno-switch

LINUXINCLUDE = -I. -I.. -I../include

%.pd_linux: %.c
	$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o "$*.o" -c "$*.c"
	ld -export_dynamic  -shared -o "$*.pd_linux" "$*.o" -lc -lm \
	`test -f $*.libs && cat $*.libs`
	chmod a-x "$*.pd_linux"
#	strip --strip-unneeded $*.pd_linux
	rm -f "$*.o" 

clean:
	-rm *.pd_linux *~ *.c
	-rm link.stamp

install-doc:
	@test -d $(prefix)/lib/pd/doc/5.reference || mkdir -p $(prefix)/lib/pd/doc/5.reference
	cp -r ../doc/* $(prefix)/lib/pd/doc/5.reference

install: install-doc
	@test -d $(prefix)/lib/pd/extra || mkdir -p $(prefix)/lib/pd/extra
	install -m644 *.pd_linux $(prefix)/lib/pd/extra




More information about the Pd-list mailing list