Date: Fri, 23 Apr 1999 22:19:41 -0700 From: "Russell L. Carter" <rcarter@pinyon.org> To: current@freebsd.org Subject: Re: Code Crusader 2.0.x on FreeBSD Message-ID: <199904240519.WAA97673@psf.Pinyon.ORG> In-Reply-To: Your message of "Fri, 23 Apr 1999 19:32:19 CST." <99042319440600.03051@Amber.XtremeDev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
%Hmm, I missed that. I took -lc out, but now I get this: % [...] %/usr/local/lib/liblthread.so.0: undefined reference to `_sigsuspend' %/usr/local/lib/liblthread.so.0: undefined reference to `_nanosleep' %/usr/local/lib/liblthread.so.0: undefined reference to `_fork' %/usr/local/lib/liblthread.so.0: undefined reference to `_sched_yield' %/usr/local/lib/liblthread.so.0: undefined reference to `_write' %/usr/local/lib/liblthread.so.0: undefined reference to `_close' %gmake[2]: *** [makemake] Error 1 %gmake[2]: Leaving directory `/usr/home/dave/temp/JX-1.1.22/programs/makemake' %gmake[1]: *** [install] Error 2 %gmake[1]: Leaving directory `/usr/home/dave/temp/JX-1.1.22/lib' %gmake: *** [freebsd] Error 2 % %A search on freebsd.org/search made references that sigsuspend was removed from %libc? Stranger and stranger.. because liblthread is linuxthreads, and you really want what the original ACE configuration probably specified, given the time frame, which is libc_r threads. I am converging in on getting a performance analysis done of libc_r and linuxthreads on ACE and TAO (!!) nailed down, so I don't have time to build this stuff though it looks very interesting. Please do not use any of my config files at www.pinyon.org/ace for this sort of thing. Switching amongst the thread libs is a real mess right now but I have got most of it automated. Still some glitches though. I will say for those interested that the sched.diff patch on Richard Seaman's page works as advertised, and I am just drooling at the prospect of running the full set of "real-time" priority tests on the set of described in several papers on Douglas Schmidt's site. Way cool, everybody who has worked on threads or scheduling! Thanks! Cheers, Russell % % %On Fri, 23 Apr 1999, you wrote: %> Why is it still linking with libc? %> %> Russell %> %> |g++ -o makemake makemake.o ../../include/jcore/JBroadcaster.o ../../include/jcore/JCollection.o ../../include/jcore/JContainer.o ../../include/jcore/JProbDistr.o ../../include/jcore/JOrderedSetT.o ../../include/jcore/JOrderedSetUtil.o ../../include/jcore/JString.o ../../include/jcore/JSubstitute.o ../../include/jcore/jCommandLine.o ../../include/jcore/jStreamUtil.o ../../include/jcore/jStreamUtil_UNIX.o ../../include/jcore/jFStreamUtil.o ../../include/jcore/jFStreamUtil_UNIX.o ../../include/jcore/jFileUtil.o ../../include/jcore/jFileUtil_UNIX.o ../../include/jcore/jDirUtil_UNIX.o ../../include/jcore/jUNIXUtil.o ../../include/jcore/JError.o ../../include/jcore/JStdError.o ../../include/jcore/JRTTIBase.o ../../include/jcore/JProgressDisplay.o ../../include/jcore/jMemory.o ../../include/jcore/jMath.o ../../include/jcore/jAssert.o ../../include/jcore/JAssertBase.o ../../include/jcore/jGlobals.o ../../include/jcore/JUserNotification.o ../../include/jcore/JTextUserNotificatio! n.o .! %> ./../include/jcore/JChooseSaveFil|e.o ../../include/jcore/JTextChooseSaveFile.o ../../include/jcore/JCreateProgressDisplay.o ../../include/jcore/JCreateTextPG.o ../../include/jcore/JTextProgressDisplay.o ../../include/jcore/JLatentPG.o ../../include/jcore/JProcess.o ../../include/jcore/JProcessError.o ../../include/jcore/JThisProcess.o ../../include/jcore/jProcessUtil.o ../../include/jcore/jSignal.o ../../include/jcore/JInPipeStream.o ../../include/jcore/JUNIXDirInfo.o ../../include/jcore/JUNIXDirEntry.o ../../include/jcore/Templates-JString.o ../../include/jcore/Templates-int.o ../../include/jcore/Templates-long.o ../../include/jcore/Templates-longlong.o ../../include/jcore/Templates-double.o ../../include/jcore/JPtrArray-JString.o ../../include/jcore/JRegex.o ../../include/jcore/JInterpolate.o ../../include/jcore/jHashFunctions.o ../../include/jcore/jNew.o ../../include/jcore/JMemoryManager.o ../../include/jcore/JMMTable.o ../../include/jcore/JMMArrayTable.o ../../inclu! de/j! %> ccore/JMMHashTable.o ../../include/jcore/JMMMonitor.o ../../include/|jcore/JMMErrorPrinter.o ../../include/jcore/JMMRecord.o ../../include/jcore/JArray-JMMRecord.o ../../include/jcore/JHashTable-JMMRecord.o ../../misc/regex/regcomp.o ../../misc/regex/regexec.o ../../misc/regex/regerror.o ../../misc/regex/regfree.o -L../../lib -lACE-4_6 -pthread -lstdc++ -lm -lc % To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904240519.WAA97673>