[so] [SO][Tema3] problema makefile

Cosmin Stefan-Dobrin cosminstefanxp at gmail.com
Fri Apr 22 00:08:19 EEST 2011


Acum am realizat. Target-ul principal nu trebuie sa se numeasca build?

Oricum, ideea e ca tie nu-ti compileaza libvmsim.so. Si in zona in care
trebuia sa arate make-ul tau nu apare nimic.

Cosmin



On Thu, Apr 21, 2011 at 23:42, Liviu Esanu <liviu_esanu at yahoo.com> wrote:

> Am uploadat tema cu mai multe versiuni de Makefile , de fiecare data a dat
> aceeasi eroare:
>
> *Execuția testelor (stdout)*
>
> checker: testing
> make -C _test
> make[1]: Entering directory `/root/_test'
> cc -Wall -g   -c -o vmsim_test.o vmsim_test.c
> cc -Wall -g   -c -o vmsim_test_lin.o vmsim_test_lin.c
> cc -Wall -g   -c -o common_lin.o common_lin.c
> make[1]: Leaving directory `/root/_test'
> make: *** No rule to make target `libvmsim.so', needed by `vmsim_test'.  Stop.
>
>
> Makefileurile (am incercat multe) sunt variatii ale acestei versiuni
> simple:
>
> all: vmsim.cpp
>     g++ -shared -o libvmsim.so vmsim.cpp common.h
> clean:
>     rm libvmsim.so
>
> Multumesc,
> L
>
>
> _______________________________________________
> http://elf.cs.pub.ro/so/wiki/resurse/lista-discutii
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20110422/4ce0e2d0/attachment.htm>


More information about the so mailing list