[so] [Tema2][Linux] Generare teste
Mihai Sp
mihai_spat97 at yahoo.com
Mon Mar 16 18:12:16 EET 2020
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 statusMakefile:66: recipe for target 'bin/test_fgetc' failedmake[1]: *** [bin/test_fgetc] Error 1Makefile.checker:8: recipe for target 'build-post' failedmake: *** [build-post] Error 2
Daca m-ati putea ajuta, as fi recunoscator, intrucat nu ii pot da de cap.
Multumesc anticipat,Spataru Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20200316/51d36218/attachment-0001.html>
More information about the so
mailing list