9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] compiling drawterm on windows
@ 2010-07-23 17:24 Akshat Kumar
  2010-07-23 17:31 ` Akshat Kumar
  2010-07-23 17:33 ` Steve Simon
  0 siblings, 2 replies; 3+ messages in thread
From: Akshat Kumar @ 2010-07-23 17:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'm trying to compile drawterm on windows with
MinGW in MSYS; here is the problem:


gcc -mwindows -o drawterm.exe main.o  kern/libkern.a
exportfs/libexportfs.a libauth/libauth.a libauthsrv/libauthsrv.a
libsec/libsec.a libmp/libmp.a libmemdraw/libmemdraw.a
libmemlayer/libmemlayer.a libdraw/libdraw.a gui-win32/libgui.a
libc/libc.a  kern/libkern.a exportfs/libexportfs.a libauth/libauth.a
libauthsrv/libauthsrv.a libsec/libsec.a libmp/libmp.a
libmemdraw/libmemdraw.a libmemlayer/libmemlayer.a libdraw/libdraw.a
gui-win32/libgui.a libc/libc.a  kern/libkern.a exportfs/libexportfs.a
libauth/libauth.a libauthsrv/libauthsrv.a libsec/libsec.a
libmp/libmp.a libmemdraw/libmemdraw.a libmemlayer/libmemlayer.a
libdraw/libdraw.a gui-win32/libgui.a libc/libc.a  libmachdep.a
-lkernel32 -ladvapi32 -lgdi32 -lmpr -lwsock32 -lmsvcrt -lmingw32
main.o:main.c:(.text+0x17): undefined reference to `getuser'
main.o:main.c:(.text+0x196): undefined reference to `cpumain'
main.o:main.c:(.text+0x2eb): undefined reference to `readcons'
kern/libkern.a(devcons.o):devcons.c:(.text+0x81f): undefined reference
to `latin1'
collect2: ld returned 1 exit status
make: *** [drawterm.exe] Error 1

but all of these things are defied properly...
is it some order of compilation that's messed
up, perhaps?



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-23 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-23 17:24 [9fans] compiling drawterm on windows Akshat Kumar
2010-07-23 17:31 ` Akshat Kumar
2010-07-23 17:33 ` Steve Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).