Compile problems on new install
Posted: Fri Jun 12, 2009 7:30 pm
I have jsut installed Rel23 RC7a on my Vista machine. I also installed it on my XP machine and got the same results.
I create a project. I then import the examples just like the docs said. They will not compile. I used the MOD5213 factory demo.
Description Resource Path Location Type
undefined reference to `main' Factory line 0 C/C++ Problem
c:/nburn/gcc-m68k/bin/../lib/gcc/m68k-elf/4.2.1/../../../../m68k-elf/lib/m5213\libc.a(lib_a-mallocr.o):mallocr.c: more undefined references to `__malloc_unlock' follow Factory line 0 C/C++ Problem
c:/nburn/gcc-m68k/bin/../lib/gcc/m68k-elf/4.2.1/../../../../m68k-elf/lib/m5213\libc.a(lib_a-reallocr.o):mallocr.c: more undefined references to `__malloc_unlock' follow Factory line 0 C/C++ Problem
C:\nburn\include_nn/pins.h undefined reference to `PinIO::read()' Factory line 63 C/C++ Problem
C:\nburn\include_nn/pins.h undefined reference to `PinIO::read()' Factory line 69 C/C++ Problem
C:\nburn\include_nn/pins.h undefined reference to `PinIO::set(unsigned char)' Factory line 67 C/C++ Problem
closer.c: undefined reference to `close' Factory line 0 C/C++ Problem
fstatr.c: undefined reference to `fstat' Factory line 0 C/C++ Problem
lseekr.c: undefined reference to `lseek' Factory line 0 C/C++ Problem
makebuf.c: undefined reference to `isatty' Factory line 0 C/C++ Problem
mallocr.c: undefined reference to `__malloc_lock' Factory line 0 C/C++ Problem
mallocr.c: undefined reference to `__malloc_unlock' Factory line 0 C/C++ Problem
readr.c: undefined reference to `read' Factory line 0 C/C++ Problem
sbrkr.c: undefined reference to `sbrk' Factory line 0 C/C++ Problem
undefined reference to `EnableSerialUpdate' main.cpp Factory line 299 C/C++ Problem
undefined reference to `EnableSmartTraps' main.cpp Factory line 264 C/C++ Problem
undefined reference to `InitIRQUart' main.cpp Factory line 260 C/C++ Problem
undefined reference to `IRQ_assign_stdio' main.cpp Factory line 302 C/C++ Problem
undefined reference to `IRQ_getchar' main.cpp Factory line 260 C/C++ Problem
undefined reference to `IRQ_writestring' main.cpp Factory line 309 C/C++ Problem
undefined reference to `OSChangePrio' main.cpp Factory line 281 C/C++ Problem
undefined reference to `OSTaskCreate' main.cpp Factory line 291 C/C++ Problem
undefined reference to `OSTimeDly' main.cpp Factory line 95 C/C++ Problem
undefined reference to `PinIO::drive()' main.cpp Factory line 200 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 199 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 206 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 213 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 221 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 232 C/C++ Problem
undefined reference to `putleds' main.cpp Factory line 77 C/C++ Problem
undefined reference to `putleds' main.cpp Factory line 87 C/C++ Problem
writer.c: undefined reference to `write' Factory line 0 C/C++ Problem
I create a project. I then import the examples just like the docs said. They will not compile. I used the MOD5213 factory demo.
Description Resource Path Location Type
undefined reference to `main' Factory line 0 C/C++ Problem
c:/nburn/gcc-m68k/bin/../lib/gcc/m68k-elf/4.2.1/../../../../m68k-elf/lib/m5213\libc.a(lib_a-mallocr.o):mallocr.c: more undefined references to `__malloc_unlock' follow Factory line 0 C/C++ Problem
c:/nburn/gcc-m68k/bin/../lib/gcc/m68k-elf/4.2.1/../../../../m68k-elf/lib/m5213\libc.a(lib_a-reallocr.o):mallocr.c: more undefined references to `__malloc_unlock' follow Factory line 0 C/C++ Problem
C:\nburn\include_nn/pins.h undefined reference to `PinIO::read()' Factory line 63 C/C++ Problem
C:\nburn\include_nn/pins.h undefined reference to `PinIO::read()' Factory line 69 C/C++ Problem
C:\nburn\include_nn/pins.h undefined reference to `PinIO::set(unsigned char)' Factory line 67 C/C++ Problem
closer.c: undefined reference to `close' Factory line 0 C/C++ Problem
fstatr.c: undefined reference to `fstat' Factory line 0 C/C++ Problem
lseekr.c: undefined reference to `lseek' Factory line 0 C/C++ Problem
makebuf.c: undefined reference to `isatty' Factory line 0 C/C++ Problem
mallocr.c: undefined reference to `__malloc_lock' Factory line 0 C/C++ Problem
mallocr.c: undefined reference to `__malloc_unlock' Factory line 0 C/C++ Problem
readr.c: undefined reference to `read' Factory line 0 C/C++ Problem
sbrkr.c: undefined reference to `sbrk' Factory line 0 C/C++ Problem
undefined reference to `EnableSerialUpdate' main.cpp Factory line 299 C/C++ Problem
undefined reference to `EnableSmartTraps' main.cpp Factory line 264 C/C++ Problem
undefined reference to `InitIRQUart' main.cpp Factory line 260 C/C++ Problem
undefined reference to `IRQ_assign_stdio' main.cpp Factory line 302 C/C++ Problem
undefined reference to `IRQ_getchar' main.cpp Factory line 260 C/C++ Problem
undefined reference to `IRQ_writestring' main.cpp Factory line 309 C/C++ Problem
undefined reference to `OSChangePrio' main.cpp Factory line 281 C/C++ Problem
undefined reference to `OSTaskCreate' main.cpp Factory line 291 C/C++ Problem
undefined reference to `OSTimeDly' main.cpp Factory line 95 C/C++ Problem
undefined reference to `PinIO::drive()' main.cpp Factory line 200 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 199 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 206 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 213 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 221 C/C++ Problem
undefined reference to `PinIO::function(int)' main.cpp Factory line 232 C/C++ Problem
undefined reference to `putleds' main.cpp Factory line 77 C/C++ Problem
undefined reference to `putleds' main.cpp Factory line 87 C/C++ Problem
writer.c: undefined reference to `write' Factory line 0 C/C++ Problem