Cross gcc Mailing List Archive
[Prev][Next][Index][Thread]
Linking rtems T: go32 H: linux
Hello again,
I get the following unresolved symbols when linking the first sample
rtems program. I don't know whether these shuold link right out of the
box. I had to copy crt0.o,dpmi.h, go32.h and a couple other .h files from
the v1.12 distribution.
Has anybody on the list achieved this particular configuration ? It is of
great importance to me and would be very appreciative of any help.
Thanks,
Kurt
*** /rtems/c/src/tests/samples (install)
cd samples; make install
*** /rtems/c/src/tests/samples/hello (install)
cd hello; make install
/i386-coff/bin/i386-go32-rtems-ld -N -o o-go32_i486dx/hello.exe
/i386-coff/lib/crt0.o o-go32_i486dx/init.o
/rtems/c/go32_i486dx/lib/no-dpmem.rel /rtems/c/go32_i486dx/lib/no-event.rel
/rtems/c/go32_i486dx/lib/no-msg.rel /rtems/c/go32_i486dx/lib/no-mp.rel
/rtems/c/go32_i486dx/lib/no-part.rel /rtems/c/go32_i486dx/lib/no-signal.rel
/rtems/c/go32_i486dx/lib/no-timer.rel /rtems/c/go32_i486dx/lib/no-rtmon.rel
/i386-coff/i386-go32-rtems//lib/rtems.o
/rtems/c/go32_i486dx/lib/libtest.a /rtems/c/go32_i486dx/lib/librtemsall.a
/i386-coff/i386-go32-rtems//lib/libm.a
/i386-coff/i386-go32-rtems//lib/libc.a
/i386-coff/lib/gcc-lib/i386-coff/2.7.2.1/libgcc.a /i386-coff/lib/libc.a
/i386-coff/lib/crt0.o(.text+0x32):fake: undefined reference to
`__go32_info_block'
/i386-coff/lib/crt0.o(.text+0x3a):fake: undefined reference to
`__go32_info_block'
/i386-coff/lib/crt0.o(.text+0x3f):fake: undefined reference to
`__go32_info_block'
/i386-coff/lib/crt0.o(.text+0x65):fake: undefined reference to
`__go32_info_block'
/i386-coff/lib/crt0.o(.text+0x6f):fake: undefined reference to
`__go32_info_block'
/i386-coff/lib/crt0.o(.text+0x79):fake: more undefined references to
`__go32_info_block' follow
/i386-coff/lib/crt0.o(.text+0xc0):fake: undefined reference to `__setstack'
/i386-coff/lib/crt0.o(.text+0xdd):fake: undefined reference to `___main'
/i386-coff/lib/crt0.o(.text+0xe2):fake: undefined reference to `_main'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x367):inch.c:
undefined reference to `kbhit'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x370):inch.c:
undefined reference to `getkey'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x3c2):inch.c:
undefined reference to `kbhit'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x3cb):inch.c:
undefined reference to `getkey'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x55e):outch.c:
undefined reference to `dosmemput'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x5ab):outch.c:
undefined reference to `dosmemput'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x671):outch.c:
undefined reference to `dosmemput'
/rtems/c/go32_i486dx/lib/librtemsall.a(console.rel)(.text+0x745):outch.c:
undefined reference to `dosmemput'
/rtems/c/go32_i486dx/lib/librtemsall.a(malloc.o)(.text+0x19):malloc.c:
undefined reference to `sbrk'
/rtems/c/go32_i486dx/lib/librtemsall.a(malloc.o)(.text+0xbf):malloc.c:
undefined reference to `sbrk'
/rtems/c/go32_i486dx/lib/librtemsall.a(malloc.o)(.text+0xe9):malloc.c:
undefined reference to `sbrk'
/rtems/c/go32_i486dx/lib/librtemsall.a(rtems-cpu.rel)(.text+0x1226):fake:
undefined reference to `_Global_descriptor_table'
/rtems/c/go32_i486dx/lib/librtemsall.a(rtems-cpu.rel)(.text+0x124a):fake:
undefined reference to `_Global_descriptor_table'
make[4]: *** [o-go32_i486dx/hello.exe] Error 1
make[3]: *** [install] Error 1
make[2]: *** [install] Error 1
make[1]: *** [install] Error 1
make: *** [install] Error 1
[kvandel@phoenix.austinc.edu]#
....._/.._/.._/.._/.._/_/..._/_/_/..........Kurt Edward Van Delden
_/ _/ _/ _/ _/ _/ _/ kvandel@austinc.edu
..._/_/...._/.._/.._/_/....._/..............\\||//.....CS, Math & Chemistry
_/ _/ _/ _/ _/ _/ _/ [o][o]
._/.._/.._/_/_/.._/.._/..._/.............o0o.\--/.o0o...Linux Rocks.......
Follow-Ups:
Home |
Subject Index |
Thread Index