Building on mac os x 10.7

Bug #880362 reported by Kevin Bandura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dulwich
Fix Released
Medium
Jelmer Vernooij

Bug Description

building 'dulwich._objects' extension
creating build/temp.macosx-10.5-x86_64-2.7
creating build/temp.macosx-10.5-x86_64-2.7/dulwich
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/Frameworks/EPD64.framework/Versions/7.1/include/python2.7 -c dulwich/_objects.c -o build/temp.macosx-10.5-x86_64-2.7/dulwich/_objects.o
dulwich/_objects.c:34: error: conflicting types for ‘strnlen’
/usr/include/string.h:143: error: previous declaration of ‘strnlen’ was here
error: command 'gcc' failed with exit status 1

modified line 32 of _objects.c to get to compile. Not sure if actually functioning properly
#if defined(__MINGW32_VERSION) //|| (defined(__APPLE__) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1070)

Jelmer Vernooij (jelmer)
Changed in dulwich:
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 0.8.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.