#garfield Logs

Dec 09 2011

#garfield Calendar


17:40 zhanx for some reason it will not compile for me, cant find stuff in the header..
17:41 Tom_itx http://eds.dyndns.org/~ircjunk/programming/c/ik/
17:41 Tom_itx that?
17:42 zhanx john@laptop ~/Documents/ik $ gcc -o main main.c
17:42 zhanx /tmp/ccmmvBo7.o: In function `main':
17:42 zhanx main.c:(.text+0x58): undefined reference to `dist3d'
17:42 zhanx main.c:(.text+0x7e): undefined reference to `elbow'
17:42 zhanx main.c:(.text+0xb2): undefined reference to `dir'
17:42 zhanx main.c:(.text+0xe6): undefined reference to `initLine'
17:42 zhanx main.c:(.text+0xf2): undefined reference to `initLine'
17:42 zhanx main.c:(.text+0x12e): undefined reference to `scaleLine'
17:42 zhanx main.c:(.text+0x17c): undefined reference to `scaleLine'
17:42 zhanx main.c:(.text+0x19b): undefined reference to `rotLine'
17:42 zhanx main.c:(.text+0x1e9): undefined reference to `transLine'
17:42 zhanx main.c:(.text+0x208): undefined reference to `rotLine'
17:42 zhanx main.c:(.text+0x227): undefined reference to `rotLine'
17:42 zhanx collect2: ld returned 1 exit status
17:42 zhanx john@laptop ~/Documents/ik $ ls
17:42 zhanx 2d.c 2d.h ikLib.c ikLib.h main.c
17:42 zhanx john@laptop ~/Documents/ik $
17:42 zhanx tom yes
17:43 zhanx weird
22:53 rue_house zhanx,
22:53 rue_house you have to include the libarary
22:53 rue_house \gcc -o main main.c ikLib.c
22:54 rue_house main.c also needs to have #include "ikLib.h"
22:54 zhanx aw yea
22:54 zhanx the main has it i forgot
22:54 zhanx brb
22:56 rue_house I HAVE to clean the boiler tubnes, it should be taking on about 15c right now and its at 8