On Mon, Nov 27, 2006, A Mennucc wrote: > > > $ gcc -Wl,--warn-common -Wl,--as-needed -pthread -o pippo pippo.o -lm -lz > > > -ldts > > > /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdts.a(parse.o): > > > In function `dts_init': > > > (.text+0xcf): undefined reference to `cos' > > > > You just need to put -lm after -ldts. > > uh! curious fact! > > why?
Well, that's how all linkers work. -- Sam. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

