it's because extras are not compiled with -DPDINSTANCE.

if you remove the full 98th line of the libpd/Makefile ("bob~.o bonk~.o choice.o fiddle~.o loop~.o lrshift~.o pique.o sigmund~.o \"),
make clean and re-make, I think the error will disappear.
I was even able to run the test_libpd with some additional hacks.

Anyway this part still needs work;
work is in progress regarding multi instance hooks (see https://github.com/libpd/libpd/pull/282 and https://github.com/libpd/libpd/pull/343), before the inclusion of libpd into Pd can be fully completed.

cheers
Antoine



Le mar. 21 déc. 2021 à 22:44, hans w. koch <hansw.koch@gmail.com> a écrit :
out of curiosity i tried to build libpd included in the src folder, by doing
  cd libpd
    make

on macOS BigSur 11.6.2 this throws some errors and doesn´t produce a libpd.dylib:
Undefined symbols for architecture x86_64:
  "_s_float", referenced from:
      _sigmund_new in sigmund~.o
  "_s_list", referenced from:
      _pique_new in pique.o
      _pique_list in pique.o
      _sigmund_new in sigmund~.o
  "_s_signal", referenced from:
      _bob_new in bob~.o
      _bonk_new in bonk~.o
      _loop_new in loop~.o
      _pd_tilde_new in pd~.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libpd.dylib] Error 1

clueless as to where to start looking what´s gone wrong as the README claims: "This is tested on Linux, macOS,
and on Windows using Msys2/MinGW.”

its not really urgent, but i thought i share.

bests
hans


> Am 20.12.2021 um 20:36 schrieb Miller Puckette via Pd-announce <pd-announce@lists.iem.at>:
>
> To Pd-announce:
>
> Pd version 0.52-1 is available from http://msp.ucsd.edu/software.htm
> or (source only) via github: https://github.com/pure-data/pure-data
>
> cheers
> Miller
>
>
>
> _______________________________________________
> Pd-announce mailing list
> Pd-announce@lists.iem.at
> https://lists.puredata.info/listinfo/pd-announce
>
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list




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