[so] Intrebare legata de Makefile.checker
adrian nistor
adriannistorrr at yahoo.com
Thu Nov 30 23:32:59 EET 2006
Un astfel de rezultat ai obtine daca la linkarea pentru libMonitor.so
nu ai linka si ControlMonitor.o
Andreea Fulger <andreea.fulger at gmail.com> wrote: Buna seara!
Am implementat tema in C++ si incercand sa rulez tema am dat peste erori de genul:
...
LibMonitor.so: undefined reference to `IncSignal()'
LibMonitor.so: undefined reference to `IncCond(int)'
LibMonitor.so: undefined reference to `IncEnter()'
LibMonitor.so: undefined reference to `IncWait()'
...
asta dupa ce toate fisierele sunt compilate.
Daca redenumesc fisierul ControlMonitor.c cu extensia .cpp acestea nu mai apar, in schimb apar
_test/Test2.o: In function `FunctieA':
Test2.c:(.text+0x7d): undefined reference to `Verifica'
_test/Test2.o: In function `FunctieB':
Test2.c:(.text+0x15d): undefined reference to `Verifica'
collect2: ld returned 1 exit status
Am implementat doar partea de monitor asa ca am eliminat tot ce avea legatura cu partea de RW.
Gresesc eu pe undeva sau e ceva in neregula cu Makefile.checker-ul?
_______________________________________________
so mailing list
so at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20061130/3b42372b/attachment.htm
More information about the so
mailing list