John Tytgat wrote on June 03, 2012:
> In message <4FCB5A9D.1070207@archifishal.co.uk>
> Alex Macfarlane Smith <nospam@archifishal.co.uk> wrote:
> > I've attached a patch for the nettle autobuilder, having firtled with
> > the source upstream a bit :)
> Thanks, I've commited your patch.
> > I couldn't work out how to make it create a package (I just got random
> > errors about Nettle not being found and things), so I gave up :)
> I'm not terribly well versed in creating packages myself. Perhaps
> someone else can show his magic.
I was going to look at the packaging, but can't get nettle to build
on Cygwin or Debian. Do I need a particular version of the cross
compiler?
I seemed to get the same errors on both:
sockwatch.o: In function `socketwatch_register':
sockwatch.c:(.text+0x9c): undefined reference to `__get_ro_socket'
sockwatch.o: In function `socketwatch_deregister':
sockwatch.c:(.text+0x164): undefined reference to `__get_ro_socket'
/home/riscos/env/lib/libssh2.a(comp.o): In function `comp_method_zlib_dtor':
comp.c:(.text+0x178): undefined reference to `deflateEnd'
comp.c:(.text+0x19c): undefined reference to `inflateEnd'
/home/riscos/env/lib/libssh2.a(comp.o): In function
`comp_method_zlib_decomp':
comp.c:(.text+0x250): undefined reference to `inflate'
comp.c:(.text+0x2fc): undefined reference to `inflate'
/home/riscos/env/lib/libssh2.a(comp.o): In function `comp_method_zlib_comp':
comp.c:(.text+0x528): undefined reference to `deflate'
/home/riscos/env/lib/libssh2.a(comp.o): In function `comp_method_zlib_init':
comp.c:(.text+0x628): undefined reference to `deflateInit_'
comp.c:(.text+0x654): undefined reference to `inflateInit_'
collect2: ld returned 1 exit status
GNUmakefile:31: recipe for target `!Nettle/!RunImage,e1f' failed
make: *** [!Nettle/!RunImage,e1f] Error 1
I'm pretty sure libz is compiled, but I've no idea where
__get_ro_socket comes from.
Regards,
Alan
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment