>You may want to grep for the function in the actual library to see if it
>even exists.
dyld_stub_binding_helper is something the c++ compiler introduces into .o files. I managed to make this error completely
dissappear by using c++ as the linker instead of ld. very weird but it works so who am I to complain.
> What is this for anyways?
structCompiler is my answer to ASN. it is a tool I have written on solaris for taking a C data structure i.e
struct mystats
{
short position;
float weight;
float height;
long dob;
}
struct mystruct
{
char *name;
mystats stats;
}
and generate encoding and decoding and printing routines that are cross platform i.e cross endian.
so if you had a instance
struct mystruct matt={"matt",{12,86.9,185.4,73144800}};
it would encode down to 19 bytes uncompressed.
this compaired to XML:
<mystruct matt>
<name>
matt
</name>
<mystats stats>
<position>
12
</position>
<weight>
86.9
</weight>
<height>
185.4
</height>
<dob>
73144800
</dob>
</mystats>
</mystruct>
with all the uneeded whitespace removed weighs in as a heifty 154 bytes uncompressed.
Quite a difference really. and this is with a small data structure.
Matt
"Balint, Jess" wrote:
> You may want to grep for the function in the actual library to see if it
> even exists. What is this for anyways?
>
> +J-e-s-s+
>
> -----Original Message-----
> From: Matthew Johnson [mailto:email@hidden]
> Sent: Friday, March 15, 2002 7:35 AM
> To: email@hidden
> Subject: dyld_stub_binding_helper
>
> I am trying to link a application with:
> ld -L. -L/Users/matt/lib -L/lib -L/usr/local/lib -o structCompiler
> structCompiler.o print.o header.o encode.o decode.o yaccstuff.o -lmutils -lc
> -ly -ll
>
> and I am getting:
>
> ld: Undefined symbols:
> dyld_stub_binding_helper
>
> Lmutils was archived using:
>
> ar -rvl libmutils.a utils.o
> ranlib libmutils.a
>
> What does this mean? How can I fix it
>
> Matt
> _______________________________________________
> unix-porting mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/unix-porting
> Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> unix-porting mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.