[so] Tema 4 - compilare

Daniel Baluta daniel.baluta at gmail.com
Sat Jul 19 18:21:06 EEST 2008


2008/7/19 Calin Andrei <marandcalin at yahoo.com>:
> D:\fac\SO\tema4>nmake
>
> Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>         cl /EHsc /c /w /Iinclude lib/monitor.cpp /FoLibMonitor.obj
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for
> 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> monitor.cpp
>         cl  /c  lib/semafor.cpp /Iinclude /Folib/semafor.obj
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for
> 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> semafor.cpp
>         cl  /c  lib/mutex.cpp /Iinclude /Folib/mutex.obj
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for
> 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> mutex.cpp
>         cl  /c  lib/queue.cpp /Iinclude /Folib/queue.obj
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for
> 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> queue.cpp
>         cl  /c  lib/cond.cpp /Iinclude /Folib/cond.obj
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for
> 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> cond.cpp
>         cl /W4 /nologo /EHsc /I..\include /LD LibMonitor.obj
> ControlMonitor.obj
>    Creating library LibMonitor.lib and object LibMonitor.exp
> LibMonitor.obj : error LNK2019: unresolved external symbol _gen_nume
> referenced in function "struct
> Monitor * __cdecl Create(int,char)" (?Create@@YAPAUMonitor@@HD at Z)
> LibMonitor.obj : error LNK2019: unresolved external symbol "struct Mutex *
> __cdecl GetMutex(char *)"
>  (?GetMutex@@YAPAUMutex@@PAD at Z) referenced in function "struct Monitor *
> __cdecl Create(int,char)" (
> ?Create@@YAPAUMonitor@@HD at Z)
> LibMonitor.obj : error LNK2019: unresolved external symbol _CreateQue
> referenced in function "struct
>  Monitor * __cdecl Create(int,char)" (?Create@@YAPAUMonitor@@HD at Z)
> LibMonitor.dll : fatal error LNK1120: 3 unresolved externals
> NMAKE : fatal error U1077: '"D:\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"'
> : return code '0x2'
> Stop.


Citeste thread-ul asta poate te ajuta.

http://cs.pub.ro/pipermail/so/2008-May/010158.html


More information about the so mailing list