F
fabio
http://rafb.net/paste/results/zJOE1P93.html
it's all there! any help would be appreciated..
bye!
p.s. but sure i can paste it here too!
START FILE:
all: client server
server: server.o mymutex.o error.o changedir.o
gcc -o server -lpthread server.o mymutex.o error.o changedir.o
server.o: server.c error.h debug.h defines.h server.h
gcc -g -DDEBUG -c server.c
client: client.o mymutex.o copia.o error.o
gcc -o client -lpthread client.o mymutex.o copia.o error.o c_transfer.o
client.o: client.c client.h
gcc -g -DDEBUG -DCLIENT -c client.c
c_transfer.o: c_transfer.c client.h
gcc -g -DDEBUG -DCLIENT -c c_transfer.c
mymutex.o: mymutex.c mymutex.h server.h
gcc -g -DDEBUG -c mymutex.c
error.o: error.c error.h debug.h defines.h server.h
gcc -g -DDEBUG_ERROR -c error.c
copia.o: copia.c error.h debug.h defines.h
gcc -g -DDEBUG -DCLIENT -c copia.c
changedir.o: changedir.c error.h debug.h defines.h server.h
gcc -g -DDEBUG -DCLIENT -c changedir.c
clean:
/bin/rm -f client server client.o server.o mymutex.o copia.o changedir. o c_transfer.o
END FILE
this is the error:
faz@debian:/progetto/prova2$ make
gcc -g -DDEBUG -DCLIENT -c client.c
client.c: In function `main':
client.c:155: warning: assignment makes pointer from integer without a cast
gcc -g -DDEBUG -c mymutex.c
gcc -g -DDEBUG -DCLIENT -c copia.c
gcc -o client -lpthread client.o mymutex.o copia.o error.o c_transfer.o
gcc: c_transfer.o: No such file or directory
make: *** [client] Error 1
so... why it can't found c_transfer.o? seems like is not been compiled..
it's all there! any help would be appreciated..
bye!
p.s. but sure i can paste it here too!
START FILE:
all: client server
server: server.o mymutex.o error.o changedir.o
gcc -o server -lpthread server.o mymutex.o error.o changedir.o
server.o: server.c error.h debug.h defines.h server.h
gcc -g -DDEBUG -c server.c
client: client.o mymutex.o copia.o error.o
gcc -o client -lpthread client.o mymutex.o copia.o error.o c_transfer.o
client.o: client.c client.h
gcc -g -DDEBUG -DCLIENT -c client.c
c_transfer.o: c_transfer.c client.h
gcc -g -DDEBUG -DCLIENT -c c_transfer.c
mymutex.o: mymutex.c mymutex.h server.h
gcc -g -DDEBUG -c mymutex.c
error.o: error.c error.h debug.h defines.h server.h
gcc -g -DDEBUG_ERROR -c error.c
copia.o: copia.c error.h debug.h defines.h
gcc -g -DDEBUG -DCLIENT -c copia.c
changedir.o: changedir.c error.h debug.h defines.h server.h
gcc -g -DDEBUG -DCLIENT -c changedir.c
clean:
/bin/rm -f client server client.o server.o mymutex.o copia.o changedir. o c_transfer.o
END FILE
this is the error:
faz@debian:/progetto/prova2$ make
gcc -g -DDEBUG -DCLIENT -c client.c
client.c: In function `main':
client.c:155: warning: assignment makes pointer from integer without a cast
gcc -g -DDEBUG -c mymutex.c
gcc -g -DDEBUG -DCLIENT -c copia.c
gcc -o client -lpthread client.o mymutex.o copia.o error.o c_transfer.o
gcc: c_transfer.o: No such file or directory
make: *** [client] Error 1
so... why it can't found c_transfer.o? seems like is not been compiled..