[PD] ggext error

guenter geiger geiger at xdv.org
Mon Aug 9 13:48:36 CEST 2004


Hi,

the build system in the ggee directory is obsolete. You should compile
the externals for the build/linux directory.

Just cd to build/linux and issue "make".

Guenter

------------------------------------------------------------------------
Music Technology Group - UPF, Barcelona <http://www.iua.upf.es/mtg/eng/>
AGNULA - A GNU Linux Audio distribution <www.agnula.org>
DeMuDi - Debian Multimedia Distribution <www.demudi.org>


On Sat, 7 Aug 2004, nomeparece at gmx.net wrote:

> hi all,
> i have problems trying to install the shell object under the ggext lib.
>
> my sources are located in:
> ggee # pwd
> /home/sid/pd/externals/ggee
>
> i have included the .h filez in the "include" directory:
>  include # ls
> CVS  g_canvas.h  m_imp.h  m_pd.h
>
> my makefile; looks like this:
>
>
> EXT = pd_linux
> DEFS =  -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1
> -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1
> -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1
> -DPD_VERSION_MINOR=32
> CC = gcc
> CXX = g++
> LD = ld
> AFLAGS =
> LFLAGS = -export_dynamic  -shared
> WFLAGS =
> IFLAGS = -I./include
> INSTALL_PREFIX=/usr
>
> VERSION = \"$(shell cat VERSION)\"
> DISTVERSION = $(shell cat VERSION)
>
> .SUFFIXES: .$(EXT)
>
> PDCFLAGS = -g -O2 $(DEFS) $(IFLAGS) $(WFLAGS) $(LFLAGS) $(AFLAGS)
> -DVERSION=$(VERSION)
> CFLAGS = -g -O2 $(DEFS) $(IFLAGS) $(WFLAGS) -DVERSION=$(VERSION)
> CXXFLAGS = $(CFLAGS)
>
> STKPD=
> STK=
> BUILD_STK =
> #LIBS = -lc -lm
> LIBS = -lpthread -lm
> SOURCES = control/concat.c control/constant.c control/inv.c
> control/prepend.c control/qread.c control/rl.c control/rtout.c
> control/serial_bird.c control/serial_ms.c control/serial_mt.c
> control/serialctl.c control/serialize.c control/shell.c control/sinh.c
> control/sl.c control/stripdir.c control/unserialize.c control/unwonk.c
> experimental/fofsynth~.c experimental/pvocfreq.c filters/bandpass.c
> filters/equalizer.c filters/highpass.c filters/highshelf.c
> filters/hlshelf.c filters/lowpass.c filters/lowshelf.c filters/moog~.c
> filters/notch.c gui/button.c gui/envgen.c gui/fatom.c gui/gcanvas.c
> gui/image.c gui/slider.c gui/sliderh.c gui/state.c gui/ticker.c
> gui/toddle.c other/messages.c other/vbap.c signal/apply~.c
> signal/atan2~.c signal/mixer~.c signal/pipewrite~.c signal/rtin~.c
> signal/sfread~.c signal/sfwrite~.c signal/streamin~.c
> signal/streamout~.c tools/define_louds_routines.c
> tools/define_loudspeakers.c
> TARGETS = $(SOURCES:.c=.$(EXT)) $(STKPD)
>
> all:  $(STK) $(TARGETS)
>
> ggext: $(STK) $(TARGETS)
> 	cc -c $(CFLAGS) -DPD ggee.c
> 	$(LD) -export_dynamic  -shared -o ggext.pd_linux ggee.o */*.o $(LIBS)
> 	strip --strip-unneeded ggext.pd_linux
>
> clean::
> 	-rm  */*.$(EXT) *.$(EXT) so_locations rm */*~ *~ *.o */*.o
>
> distclean: clean
> 	-rm config.cache config.log config.status makefile
>
>
> distcleancvs:
> 	-rm -r CVS reference/CVS
>
>
> .c.o:
> 	$(CC) -c -o $@ $(CFLAGS) -DPD $*.c
>
> # cp $@ $*_stat.o
>
> .o.pd_linux:
> 	$(CC) -o $@ $(PDCFLAGS) -DPD $*.o
>
>
> include makefile.stk
>
>
> install::
> 	install -d $(INSTALL_PREFIX)/lib/pd/externs
> 	install -m 644 */*.pd_linux $(INSTALL_PREFIX)/lib/pd/externs
> 	-install -m 644 ggext.pd_linux $(INSTALL_PREFIX)/lib/pd/externs
> 	install -m 644 */*.pd $(INSTALL_PREFIX)/lib/pd/doc/5.reference
>
>
> dist: distclean
> 	(cd ..;tar czvf ggee-$(DISTVERSION).tgz ggee)
>
>
> the error log throws this to me when making ggext:
>
> gcc -o gui/gcanvas.pd_linux -g -O2 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1
> -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1
> -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1
> -DPD_VERSION_MINOR=32 -I./include  -export_dynamic  -shared
> -DVERSION=\"0.25\"  -DPD gui/gcanvas.o
> gcc -c -o gui/image.o -g -O2 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1
> -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1
> -DHAVE_MMAP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1
> -DPD_VERSION_MINOR=32 -I./include  -DVERSION=\"0.25\" -DPD gui/image.c
> gui/image.c: In function `image_setwidget':
> gui/image.c:172: error: structure has no member named `w_propertiesfn'
> make: *** [gui/image.o] Error 1
> rm filters/lowshelf.o filters/hlshelf.o control/qread.o filters/notch.o
> gui/envgen.o control/stripdir.o control/concat.o control/serialctl.o
> control/sinh.o control/constant.o filters/highpass.o filters/equalizer.o
> control/sl.o control/serial_bird.o control/rl.o gui/fatom.o
> control/unwonk.o control/rtout.o control/serial_mt.o filters/lowpass.o
> filters/moog~.o experimental/fofsynth~.o control/prepend.o
> control/shell.o control/serialize.o control/inv.o control/serial_ms.o
> gui/button.o control/unserialize.o filters/bandpass.o gui/gcanvas.o
> filters/highshelf.o experimental/pvocfreq.o
>
>
> im tying this on gentoo/intel centrino,
> any advice will be blindly followed, thanks
>
> buen finde,
> /a
>
> ps.sorry for the long message ), if you reply plis clean the thread.
>
> --
> alejo.duque /- http://www.egs.edu
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> to manage your subscription (including un-subscription) see
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>





More information about the Pd-list mailing list