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
struct.
Has anyone run into anything similar?

Thanks much,

Greg Surges

-- 
http://www.uwm.edu/~gssurges/
_______________________________________________
PD-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to