#1) Thanks for explanation, especially for [declare], it works! Thanks again!

On 31 January 2014 16:08, IOhannes m zmoelnig <zmoelnig@iem.at> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2014-01-31 12:10, John Smith wrote:
> I built zexy from svn-repo (revision: r17214) and I have same issue
> as in zexy tarball release, -- I have no [pack~] and [unpack~], but
> if I using zexy from binary debian package
> (Pd-0.44.0-extended-20140130-debian-wheezy-amd64), -- then I have
> [pack~] and [unpack~], and because pd-extended zexy version has
> this object, -- I trying to build pd-extended zexy version, but I
> can't.
>


then you have something else wrong.
[pack~] and [unpack~] *are* part of zexy-2.2.4, zexy-2.2.5 and today's
zexy-svn (rev.17259).
i just checked all of them.

#1) by default, zexy will build a single binary "zexy.pd_linux"; you
have to load this library (e.g. "-lib zexy", or [declare -lib zexy])
in order to use any zexy objects. this is different from pd-extended,
where you get multiple binary objects (e.g. "pack~.pd_linux") and you
have to use [import zexy] (or add the path/to/zexy to Pd's search paths).
if you want to build zexy the same way as pd-extended builds it, you
ought to use the "--disable-library" flag when running "./configure"
(don't forget to run "make clean" before running "make" again).


#2) i still don't really understand your error message when compiling.
there is explicit code in zexy that prevents "setup" from being
multiply defined.
what's the output when you run the f ollowing command in the src/
subfolder?
  gcc -DHAVE_CONFIG_H -I. -I.. -DZEXY_LIBRARY -g -O2 -mms-bitfields
0x2e.c  -fPIC -DPIC


fgsdmr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJS65IqAAoJELZQGcR/ejb4JYYP/2RTURy/yt89yYd4ZXiNWvgW
dOj0fhQlZ4ro3AM5wxDlAPDC4mxvxmZwsxuwG8tft+1x3/VSDey+M3ZXKC56lAeP
CP3OAPQmzooi1eH+pMWUXd3NQSfr9eSgPNAk/qRYR1+ZdZO9U9tKvS6Sb4xouSsL
TwxWLJiPLiyzV4NZT5VGps07FWYmsXBx204QyH2yu8J+mkYjGsvVM006DzRqVM+H
7MlVDCcmbqiaDm1gDuMRmVhH9yL6ai/r0a0x35/DqgeIbru1FKloJ9nMMHA5/SK5
ki2EZvJT1TdMGSPM95UxmZloIP4Bpouw5iuvBzGD2ZxfOT9xkNeci296QMD4aiuZ
UnhMncpyS9ebzBXBW3anEg1ACGlH1WOb7RsL1aHswOvjIcnT/sJ1sJzFcX6diTCF
uvKjCqUatxkms7C74SI6U52+4XDD7jNHKcK+/mZ3KovZnROw2raslkrMrWih4M1z
QdgXfOASK42IPTCrQBsTPbZa3PCFx67B+uIFdUfak/IiUhthGVP1wjnR3KiMd24q
FRIKMqIoMZCxSms1YD98enEuKvtZhvoeRIlnB8ycRCC6HpIxLIkGwHWpsS3X2ou+
gjQP8Ch6PgjRuUSh6yh1AeLkBQydC28uMGl6ZilEoB+69MbnSIu3yTKctgHcBLea
cDYI3cwSyivVvlbyv7pH
=9yYW
-----END PGP SIGNATURE-----

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list