On 22 Jul 2009 20:42:03 +0100, Chris Young wrote:

> One more:
> 
>  COMPILE: amiga/save_complete.c
> amiga/save_complete.c: In function 'save_imported_sheets':
> amiga/save_complete.c:323: error: 'struct content_css_data' has no member 
> named 'import_content'

I commented that out temporarily in case there were any more.

css/select.c gives me an "undefined reference to strncasecmp".  This
is exactly the same as I get with strcasecmp elsewhere in NetSurf. 
There I fixed it by adding a definition to strings.h (which is usually
empty): (there is a note about this in docs/buiding-amigaos)
 extern int strncasecmp(const char *, const char *, size_t);

I notice css/select.c includes <string.h> rather than <strings.h>.  I
added it to string.h and that works, but I'd rather it was all in
strings.h as that can be copied around without fear of breaking
anything else.

(This is purely caused by the odd way newlib defines functions)

On a more critical note, libcss won't link in:
/SDK/local/newlib/lib/libcss.so: undefined reference to `alloca'

I don't have alloca here, only malloc.

Regards
Chris

Reply via email to