[so] [Tema2][Linux] Generare teste

Paul Olaru olarupaulstelian97 at gmail.com
Mon Mar 16 18:13:41 EET 2020


so_fileno e una din funcțiile de care ai nevoie. E necesar la toate
testele. Pentru celelalte fă implementări dummy pentru a putea compila
testele.

On Mon, Mar 16, 2020, 18:12 Mihai Sp via so <so at cursuri.cs.pub.ro> wrote:

> Salut,
>
> Imi asum ca s-ar putea sa fie o intrebare prosteasca, dar eu nu reusesc sa
> imi generez fisierele de test mai departe de so_fopen. Dupa ce rulez
> comanda "make -f Makefile.checker", primesc urmatoarea eroare:
>
> gcc -L.. -o bin/test_fgetc _build/test_fgetc.o _build/hooks.o
> _build/test_util.o -lso_stdio -ldl
> _build/test_fgetc.o: In function `main':
> /home/mihai/so-assignments/2-stdio/checker-lin/_test/src/test_fgetc.c:62: *undefined
> reference to `so_fileno'*
> collect2: error: ld returned 1 exit status
> Makefile:66: recipe for target 'bin/test_fgetc' failed
> make[1]: *** [bin/test_fgetc] Error 1
> Makefile.checker:8: recipe for target 'build-post' failed
> make: *** [build-post] Error 2
>
> Daca m-ati putea ajuta, as fi recunoscator, intrucat nu ii pot da de cap.
>
> Multumesc anticipat,
> Spataru Mihai
> _______________________________________________
> http://ocw.cs.pub.ro/courses/so/info/lista-discutii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20200316/f5cb47b1/attachment.html>


More information about the so mailing list