Re: error: ‘t_signal’ {aka ‘struct _sig nal’} has no member named ‘s_length’

IOhannes m zmoelnig <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
On 9/12/24 17:32, Alexandros Drymonitis wrote:
> Working on an object of mine, I copied code from snake_in~ and 
> snake_out~ to enable multi-channel I/Os, but I get errors on s_length 
> and s_nchans. More specifically, I get the following:
>
> 
> Is it likely that the Makefile is looking at an m_pd.h older than 
> 0-54.0?

yes.

> I have installed 0-55.1 by compiling it. 


so, where does the header come from?

assuming you are running a Debian(derivative), you probably also have 
the "puredata-dev" package installed, which installs the headers to 
/usr/include/pd/ - and Makefile.pdlibbuilder uses this path as the 
default (if available).

to quote from the Makefile.pdlibbuilder:
```
# Default search path for m_pd.h and other API header files is platform
# dependent, and overridable by PDINCLUDEDIR:
#
# Linux:    /usr/include/pd
```


> Is there something I 
> need to do to point the compiler to the correct m_pd.h file?



since the Makefile.pdlibbuilder is the canonical documentation of itself 
(it has plenty of comments explaining its workings), i guess this is 
just the answer.
```
make PDINCLUDEDIR=/usr/local/include/pd
```

(i guess pd-lib-bulider could prefer /usr/local/include/pd over 
/usr/include/pd, you could create an issue)

gfadsmnr
IOhannes

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/E6TCN43647TONWW5KXXLSYICO7OJ4B63/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmbjEFgFAwAAAAAACgkQtlAZxH96Nvh0
XQ/9Eqwu2KeiaQFqvGaGksSULvmt9Zn9JBoXHguVDOwA9cz3AAsvzlHqucgppWskCzW+j8LXzChg
w85x36FoIflhrUO0Ocl1PjPTDy5RIa8GtUO4rFeayfQXFp5SMKx7lpeFeoXse3jsd7aee9kTe6AO
YUSZlJrmEBwRfWPv0JY1owK5ey+OTRoj0coajF7kDCa0CmDCsaZJTC36O4j8Rx3+cTjpmboDKl2v
EYmZYh1JTeGMshOdBhClAiKEFIHXI6I2a0Fk9rV3vNEBXtMrXrdS8gXKtIBjmtU6MExetB9XaxRg
9z/x9bnvnYuq5JXVWQhfPPMRJAWw1DmRGhUo6qXwOFAT49TiAh5T31YVCX8h97ssJS5z70zcM3ju
bSRATWstkR4oFHgW/6Zph9hl9JU++66nrcFYPOPpDaLt1JZkK7CL4jiAp7QyhwZxZPtN9AQRcVET
Sem4eBastMtbgLZUsm6gzHnaK2GDe93RwXCg6T6liHX1J8H0nVW3KNkbZcixSPfXKEMjNmnHwRyh
ktfQr2YjUcYxVTtVgk4eYZp3zrnOocAtbX+AMMQHvQw0eDzAOKiZLkynlNwyr5kLUTlMejgGtWk8
CiXQYdjFVPe6CBK0NF7GmF3pJP6+sGm0By8wJnbc3n9AgABRuVyG1JDls8E1yrdaZRu65vbaZV43
hwQ=
=IUDE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.