Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!ANDREW.CMU.EDU!gk5g+ From: gk5g+@ANDREW.CMU.EDU (Gary Keim) Newsgroups: comp.soft-sys.andrew Subject: Re: wierd behavior Message-ID: Date: 16 May 91 21:01:12 GMT References: <9105161920.AA02290@informatics.WUstl.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 Excerpts from misc: 16-May-91 wierd behavior Steve Cousins@informatic (2139) > I'm having a lot of trouble tracking down a bug, which only comes up when > my code is linked in to ATK. The following program works fine: First, I tested your code in a dynamically loaded object and it worked as expected. The sybase library must be the culprit. Does it contain any math functions? Try % nm /usr/desert/sybase/lib/libsybdb.a | egrep log. If it does contain log, you may want to blow off the -lm. One solution may be to rewrite the last two arguments to the DynamicObject() rule, making sure to list the standard math library first: DynamicObject(searchv,, -lm -L/usr/desert/sybase/lib -lsybdb) Give it a try. Gary Keim ATK Group