Joachim Ansorg <[EMAIL PROTECTED]> writes:
>> 2. Under CygWin, src/utilfuns/swobject.cpp needs <string.h> in order
>> to compile, due to the presence of the nonstandard stricmp(); CygWin
>> string.h re-#defines it to the standard strcasecmp().  Or perhaps use
>> swbuf.h instead, since it brings in string.h.

> In utilstr.h in the namespace sword we have our own stricmp. i changed 
> swobject to use that instead. Please test that if possible.

swobject.cpp compiles, but there seems to be a problem finding that
stricmp() during link.

   /bin/sh ./libtool --tag=CXX   --mode=link g++ -O2 -DCURLAVAILABLE    -o 
buildtest.exe buildtest.o ./lib/libsword.la -lz 
   mkdir .libs
   g++ -O2 -DCURLAVAILABLE -o buildtest.exe buildtest.o  ./lib/.libs/libsword.a 
-L/usr/lib /usr/lib/libcurl.dll.a -lssl -lcrypto -lz  
   ./lib/.libs/libsword.a(swobject.o):swobject.cpp:(.text+0x2b): undefined 
reference to `sword::stricmp(char const*, char const*)'
   collect2: ld returned 1 exit status
   make[1]: *** [buildtest.exe] Error 1

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to