I'm building geda on a macbook osx 10.5 using macports to install  
dependent packages.  I finally got geda to build from the git  
repository; however, I can't leave the function strnlen in the source  
(It's been a while since I've done C programming, but apparently  
strnlen is not a standard function in C but part of the gnu  
extensions).  If I change the single instance of strnlen to strlen (I  
know this isn't a proper fix) the application will launch.

Does anyone use macports with geda?  Do they know what package  
corresponds to the gnu extensions or contains strnlen?  The other  
option is to not use the function strnlen or implement a version of  
strnlen, or use strlen with some code to make sure it handles non null  
terminated strings.

Peter





_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to