← Back to team overview

dulwich-users team mailing list archive

Re: Building Dulwich on the mac fails with ver. 0.6.0 and 0.6.1

 


On Sep 30, 2010, at 5:48 PM, Jelmer Vernooij wrote:

On Thu, 2010-09-30 at 13:32 -0400, dak180 wrote:

dulwich/_objects.c: In function ‘py_parse_tree’:
dulwich/_objects.c:74: warning: implicit declaration of function
‘strnlen’
Undefined symbols:
 "_strnlen", referenced from:
     _py_parse_tree in _objects.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit
status 1
We already have a hack to work around strnlen() not existing on some
platforms. I guess we'd just need another ifdef for darwin. Patches
welcome :-)

strnlen should be defined on OS X, can we try and diagnose this before adding an unneeded hack?

(I do all my dev work on OS X)


Cheers,

Jelmer

_______________________________________________
Mailing list: https://launchpad.net/~dulwich-users
Post to     : dulwich-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dulwich-users
More help   : https://help.launchpad.net/ListHelp




Follow ups

References