[so] [Tema4][Linux] Incarcare pe VMChecker

Cristi Dutescu cristi.dutescu at gmail.com
Fri May 18 17:02:10 EEST 2018


Se intampla ceva ciudat pe vmchecker. Uitandu-ma in output-ul afisat unor
colegii, se vad comenzile de compilare, dar la mine nu. Ca si cum nu ar
rula make. In locul comenzilor apare:
cat build.sh >build
chmod a+x build

Nu am mai vazut acest comporatment la alti colegi.

On Fri, 18 May 2018 at 16:46 Cristi Dutescu <cristi.dutescu at gmail.com>
wrote:

> Adrian,
>
> Iti multumesc de raspuns, dar din pacate tot nu functioneaza.
>
> On Fri, 18 May 2018 at 15:31 Adrian Pop <popadrian1996 at gmail.com> wrote:
>
>> Salut!
>> Pune LIB=libscheduler.so, adica prefixeaza cu acel "lib" numele
>> bibliotecii dinamice.
>>
>> Bafta!
>>
>> 2018-05-18 14:09 GMT+03:00 Cristi Dutescu via so <so at cursuri.cs.pub.ro>:
>>
>>> Salutare!
>>>
>>> Nu imi este clar ce trebuie sa incarc pe vmchecker. Eu am pus in arhiva
>>> toate fisierele sursa necesare si un Makefile care imi creeaza fisierul
>>> *.so in directorul curent, iar pe vmchecker primesc eroare de compilare a
>>> checker-ului.
>>>
>>> Eroare este urmatoarea:
>>>
>>> gcc -Wall -g _test/run_test.o _test/test_exec.o _test/test_io.o _test/test_sched.o -pthread -lscheduler -L. -o _test/run_test
>>> /usr/bin/ld: cannot find -lscheduler
>>> collect2: error: ld returned 1 exit status
>>> Makefile.checker:16: recipe for target '_test/run_test' failed
>>> make: *** [_test/run_test] Error 1
>>>
>>>
>>> Numai bine,
>>>
>>> Cristian Dutescu
>>>
>>>
>>> _______________________________________________
>>> http://ocw.cs.pub.ro/courses/so/info/lista-discutii
>>>
>>
>>
>>
>> --
>> Adrian Pop
>> Student @University Politehnica of Bucharest
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20180518/979d6e1a/attachment-0001.html>


More information about the so mailing list