Namazu-devel-en(old)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOS



james> On Mac OSX (BSD PPC) I did the expected ./configure and make and the 

james> rcfile.o result.o usage.o namazu-cmd.o  ../intl/libintl.a 
james> -L../nmz/.libs -lnmz ../lib/libnmzut.a -lm
james> ld: multiple definitions of symbol _getopt
james> /usr/lib/libm.dylib(getopt.So) definition of _getopt
james> ../lib/libnmzut.a(getopt.o) definition of _getopt in section 
james> (__TEXT,__text)

Apply following changes,

http://cvs.namazu.org/namazu/lib/getopt.c.diff?r1=1.4&r2=1.5
Say,

< char *optarg; 	 
---
> char *optarg = NULL;

2.0.13 will include this change, thanks, James,
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.