www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Failed compiled on defferent drive

reply steelx7000 yahoo.com writes:
i am using dmd v0.141
dm and dmd directory in D:\
i try compile .d file in C: and D: it's okay
but when i try compile in J: --> failed

----------------------------------------------------------------
d:\dmd\bin\..\..\dm\bin\link.exe hello,,,user32+kernel32/noi;

OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

user32.lib
Warning 2: File Not Found user32.lib
kernel32.lib
Warning 2: File Not Found kernel32.lib
SNN.lib
Warning 2: File Not Found SNN.lib
OPTLINK : Warning 23: No Stack 
hello.obj(hello) 
Error 42: Symbol Undefined __acrtused_con
d:\dmd\bin\..\lib\phobos.lib(dmain2) 
Error 42: Symbol Undefined ___alloca
d:\dmd\bin\..\lib\phobos.lib(dmain2) 
Error 42: Symbol Undefined __except_list
d:\dmd\bin\..\lib\phobos.lib(dmain2) 
Error 42: Symbol Undefined _exit
d:\dmd\bin\..\lib\phobos.lib(dmain2) 
Error 42: Symbol Undefined _printf
d:\dmd\bin\..\lib\phobos.lib(dmain2) 
Error 42: Symbol Undefined _strlen
d:\dmd\bin\..\lib\phobos.lib(deh) 
Error 42: Symbol Undefined __local_except_handler
d:\dmd\bin\..\lib\phobos.lib(deh) 
Error 42: Symbol Undefined _RaiseException 16
d:\dmd\bin\..\lib\phobos.lib(deh) 
Error 42: Symbol Undefined __global_unwind
d:\dmd\bin\..\lib\phobos.lib(object) 
Error 42: Symbol Undefined _memcpy
d:\dmd\bin\..\lib\phobos.lib(object) 
Error 42: Symbol Undefined _memcmp
d:\dmd\bin\..\lib\phobos.lib(gc) 
Error 42: Symbol Undefined _memset
d:\dmd\bin\..\lib\phobos.lib(gc) 
Error 42: Symbol Undefined _malloc
d:\dmd\bin\..\lib\phobos.lib(monitor) 
Error 42: Symbol Undefined _free
d:\dmd\bin\..\lib\phobos.lib(monitor) 
Error 42: Symbol Undefined _DeleteCriticalSection 4
d:\dmd\bin\..\lib\phobos.lib(monitor) 
Error 42: Symbol Undefined _LeaveCriticalSection 4
d:\dmd\bin\..\lib\phobos.lib(monitor) 
Error 42: Symbol Undefined __assert
d:\dmd\bin\..\lib\phobos.lib(monitor) 
Error 42: Symbol Undefined _EnterCriticalSection 4
d:\dmd\bin\..\lib\phobos.lib(monitor) 
Error 42: Symbol Undefined _InitializeCriticalSection 4
d:\dmd\bin\..\lib\phobos.lib(monitor) 
Error 42: Symbol Undefined _calloc
d:\dmd\bin\..\lib\phobos.lib(string) 
Error 42: Symbol Undefined _memchr
d:\dmd\bin\..\lib\phobos.lib(string) 
Error 42: Symbol Undefined __ULDIV 
d:\dmd\bin\..\lib\phobos.lib(string) 
Error 42: Symbol Undefined __fltused
d:\dmd\bin\..\lib\phobos.lib(gc) 
Error 42: Symbol Undefined __LDIV 
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined __beginthreadex
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _WaitForSingleObject 8
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _SetThreadPriority 8
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _SuspendThread 4
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _ResumeThread 4
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _GetCurrentThread 0
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _GetCurrentProcess 0
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _DuplicateHandle 28
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _CloseHandle 4
d:\dmd\bin\..\lib\phobos.lib(thread) 
Error 42: Symbol Undefined _GetCurrentThreadId 0
d:\dmd\bin\..\lib\phobos.lib(gcx) 
Error 42: Symbol Undefined _GetThreadContext 8
d:\dmd\bin\..\lib\phobos.lib(gcx) 
Error 42: Symbol Undefined _realloc
d:\dmd\bin\..\lib\phobos.lib(gcx) 
Error 42: Symbol Undefined _memmove
d:\dmd\bin\..\lib\phobos.lib(array) 
Error 42: Symbol Undefined _sprintf
d:\dmd\bin\..\lib\phobos.lib(win32) 
Error 42: Symbol Undefined __end
d:\dmd\bin\..\lib\phobos.lib(win32) 
Error 42: Symbol Undefined __xi_a
d:\dmd\bin\..\lib\phobos.lib(win32) 
Error 42: Symbol Undefined _VirtualFree 12
d:\dmd\bin\..\lib\phobos.lib(win32) 
Error 42: Symbol Undefined _VirtualAlloc 16
OPTLINK : Warning 134: No Start Address 
--- errorlevel 42

Hengky Hartono
Feb 02 2006
parent "Walter Bright" <newshound digitalmars.com> writes:
<steelx7000 yahoo.com> wrote in message 
news:drsv8b$j9u$1 digitaldaemon.com...
i am using dmd v0.141
 dm and dmd directory in D:\
 i try compile .d file in C: and D: it's okay
 but when i try compile in J: --> failed

 ----------------------------------------------------------------
 d:\dmd\bin\..\..\dm\bin\link.exe hello,,,user32+kernel32/noi;

 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 user32.lib
 Warning 2: File Not Found user32.lib
 kernel32.lib
 Warning 2: File Not Found kernel32.lib
 SNN.lib
 Warning 2: File Not Found SNN.lib
That means that it can't find the library files. Where do you have the library files?
Feb 02 2006