[PD-dev] Undefined reference to '&s_list'

Greg Surges surgesg at gmail.com
Sat Apr 19 19:42:26 CEST 2008

HI all,

I'm trying to compile some of my externals for Windows, and I'm running into
a strange error.

This code:
void *nrciOut_new() // constructor
 t_nrciOut *x = (t_nrciOut *)pd_new(nrciOut_class);
 outlet_new(&x->x_obj, &s_list);
 return (void *) x;

Causes the linker to return an error:
"undefined reference to 's_list'"

But if I change the &s_list to '0' it seems to work... It seems strange to
me that the linker can find the rest of the PD libraries, but not the s_list
Has anyone run into anything similar?

Thanks much,

Greg Surges

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20080419/bf5e8664/attachment.htm>

More information about the Pd-dev mailing list