I'll apologize first if I'm on the wrong list. This question was asked about a month ago, on the user list by someone else, but there was no replies.
I'm not sure if this is operator error, if I'm missing a library, missing build options or the build is just broken for cygwin. >From reading the archives, it sounds like there is a push to get the next version out before the end of the year. Hopefully someone can spare some time and give me a little guidance. I checkout head on 12-19-06. executed autogen & configure, was missing apr-1, updated it and built. Could this be my problem? Saw a warning from libtool that didn't seem correct: libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries While linking simplesocketserver, there are multiple undefined references, see log below. I think I'm just missing a build option or something. Any help is appreciated thanks gary Excerpts from the build log: /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -version-info 10:0:0 - -L/usr/lib -lapr-1 -lcrypt -L/usr/lib -lapr-1 -lcrypt -L/usr/lib -laprutil-1 -lgdbm -ldb-4.2 -lexpat -liconv -o liblog4cxx.la -rpath /usr/local/lib action.lo appenderattachableimpl.lo appenderskeleton.lo aprinitializer.lo asyncappender.lo basicconfigurator.lo bufferedwriter.lo bytearrayinputstream.lo bytebuffer.lo cacheddateformat.lo charsetdecoder.lo charsetencoder.lo class.lo classnamepatternconverter.lo classregistration.lo condition.lo configurator.lo consoleappender.lo cyclicbuffer.lo dailyrollingfileappender.lo datagrampacket.lo datagramsocket.lo date.lo dateformat.lo datelayout.lo datepatternconverter.lo defaultcategoryfactory.lo defaultconfigurator.lo domconfigurator.lo exception.lo fallbackerrorhandler.lo file.lo fileappender.lo filedatepatternconverter.lo fileinputstream.lo filelocationpatternconverter.lo fileoutputstream.lo filerenameaction.lo filewatchdog.lo filterbasedtriggeringpolicy.lo fixedwindowrollingpolicy.lo formattinginfo.lofulllocationpatternconverter.lo hierarchy.lo htmllayout.lo inetaddress.lo inputstream.lo inputstreamreader.lo integer.lo integerpatternconverter.lo layout.lo level.lo levelmatchfilter.lo levelrangefilter.lo levelpatternconverter.lo linelocationpatternconverter.lo lineseparatorpatternconverter.lo literalpatternconverter.lo loggerpatternconverter.lo loggingeventpatternconverter.lo loader.lo locale.lo locationinfo.lo logger.lo loggingevent.lo loglog.lo logmanager.lo logstream.lo manualtriggeringpolicy.lo messagepatternconverter.lo methodlocationpatternconverter.lo mdc.lo mutex.lo nameabbreviator.lo namepatternconverter.lo ndcpatternconverter.lo ndc.lo nteventlogappender.lo objectimpl.lo objectptr.lo obsoleterollingfileappender.lo odbcappender.lo onlyonceerrorhandler.lo optionconverter.lo outputdebugstringappender.lo outputstream.lo outputstreamwriter.lo patternconverter.lo patternlayout.lo patternparser.lo pool.lo properties.lo propertiespatternconverter.lo propertyconfigurator.lo propertyresourcebundle.lo propertysetter.lo reader.lo relativetimedateformat.lo relativetimepatternconverter.lo resourcebundle.lo rollingfileappender.lo rollingpolicy.lo rollingpolicybase.lo rolloverdescription.lo rootcategory.lo serversocket.lo simpledateformat.lo simplelayout.lo sizebasedtriggeringpolicy.lo smtpappender.lo socket.lo socketappender.lo socketappenderskeleton.lo sockethubappender.lo socketimpl.lo socketinputstream.lo socketnode.lo socketoutputstream.lo strftimedateformat.lo stringhelper.lo stringmatchfilte r.lo stringtokenizer.lo synchronized.lo syslogappender.lo syslogwriter.lo system.lo systemerrwriter.lo systemoutwriter.lo telnetappender.lo thread.lo threadspecificdata.lo threadpatternconverter.lo throwableinformationpatterncon verter.lo timezone.lo timebasedrollingpolicy.lo transform.lo triggeringpolicy. lo transcoder.lo ttcclayout.lo unicodehelper.lo writer.lo writerappender.lo xmllayout.lo xmlsocketappender.lo -lpthreadlibtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries << snip >> Making all in simplesocketserver make[1]: Entering directory `/logging-log4cxx/simplesocketserver' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_ST DINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IO_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_PTHREAD=1 -DHAVE_THREAD=1 -I. -I../include -I../include -DLOG4CXX -DCYGWIN -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -D_REENTRANT -g -O2 -MT simplesocketserver.o -MD -MP -MF .deps/simplesocketserver.Tpo -c -o simplesocketserver.o simplesocketserver.cpp mv -f .deps/simplesocketserver.Tpo .deps/simplesocketserver.Po/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -L/usr/lib -lapr-1 -lcrypt -L/usr/lib -laprutil-1 -lgdbm -ldb-4.2 -lexpat -liconv -o simplesocketserver.exe simplesocketserver.o ../src/liblog4cxx.la -lpthread mkdir .libs g++ -g -O2 -o simplesocketserver.exe simplesocketserver.o -L/usr/lib ../src/.libs/liblog4cxx.a /usr/lib/libaprutil-1.dll.a /usr/lib/libapr-1.dll.a -lcrypt /usr/lib/libgdbm.dll.a /usr/lib/libdb-4.2.dll.a /usr/lib/libexpat.dll.a /usr/lib/libiconv.dll.a –lpthread simplesocketserver.o: In function `main': /logging-log4cxx/simplesocketserver/simplesocketserver.cpp:106: undefined reference to `log4cxx::helpers::Thread::run(void* (*)(void*, void*), void*)' ../src/.libs/liblog4cxx.a(domconfigurator.o): In function `_ZN7log4cxx3xml15DOMConfigurator17configureAndWatchERKSsl': /logging-log4cxx/src/domconfigurator.cpp:61: undefined reference to `log4cxx::helpers::FileWatchdog::FileWatchdog(log4cxx::File const&)' /logging-log4cxx/src/domconfigurator.cpp:731: undefined reference to `log4cxx::helpers::FileWatchdog::start() '../src/.libs/liblog4cxx.a(domconfigurator.o): In function `_ZN7log4cxx3xml15DOMConfigurator17configureAndWatchERKSs': /logging-log4cxx/src/domconfigurator.cpp:715: undefined reference to `log4cxx::helpers::FileWatchdog::DEFAULT_DELAY' ../src/.libs/liblog4cxx.a(domconfigurator.o): In function `_ZNSt8_Rb_treeISsSt4pairIKSsSsESt10_Select1stIS2_ESt4lessISsESaIS2_EE8_M_ eraseEPSt13_Rb_tree_nodeIS2_E': /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_tree.h: (.text$_ZN11XMLWatchdogD1Ev[XMLWatchdog::~XMLWatchdog()]+0x13): undefined reference to `log4cxx::helpers::FileWatchdog::~FileWatchdog()' /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/stl_tree.h: (.text$_ZN11XMLWatchdogD0Ev[XMLWatchdog::~XMLWatchdog()]+0x14): undefined reference to `log4cxx::helpers::FileWatchdog::~FileWatchdog()' ../src/.libs/liblog4cxx.a(class.o): In function `_ZN7log4cxx7helpers5Class15registerClassesEv':/logging-log4cxx/src/class.cpp: 146: undefined reference to `log4cxx::AsyncAppender::registerClass()' /logging-log4cxx/src/class.cpp:163: undefined reference to `log4cxx::net:: SocketAppender::registerClass()' /logging-log4cxx/src/class.cpp:164: undefined reference to `log4cxx::net:: SocketHubAppender::registerClass()' /logging-log4cxx/src/class.cpp:166: undefined reference to `log4cxx::net:: TelnetAppender::registerClass()' /logging-log4cxx/src/class.cpp:167: undefined reference to `log4cxx::net:: XMLSocketAppender::registerClass()' collect2: ld returned 1 exit status make[1]: *** [simplesocketserver.exe] Error 1 make[1]: Leaving directory `/logging-log4cxx/simplesocketserver' make: *** [all-recursive] Error 1
