Building Library / Archive Question -> Yes Robert another question about the...
2006-04-10 by ocnek1
hehe..I feel that I should be paying you.. Anyway, when I built the ownetlib-lib.a file I listed the .c files in alphabetical order (easy that way) in the make file. Does the order matter? My issue now is that my test.c code can find some of the functions in the library but it seems that the library itself has trouble finding functions from within itself. The error I get is this: c:/winarm/bin/../lib/gcc/arm-elf/4.1.0/../../../../arm-elf/lib\libownetlib-lpc.a(mbnv.o): In function `writeNV':mbnv.c:(.text+0x440): undefined reference to `writeScratchPadEx' :mbnv.c:(.text+0x7b4): undefined reference to `copyScratchPadEx' When looking at the .C and .H files everything seems to be there, so is/was it a problem witht the way I made the library? P.S. Still having fun. I think when I get this all working I'm going to wire a tutorial on how to get your 1wire port up and working on the LPC2138 :) It would be a good review for me so I don't foget..hehe. J.