rendered paste bodytel_card:cat Makefile
local: all
cp tel_card $(TETOP)/bin
all: tel_card
tel_card: main.o cdr.o srv_acc_user.o srv_call_cdr.o srv_comm_setup.o comm_cost.o comm_time.o conf.o parms.o telc_supp.o vars.o
$(CC) -o $@ $^ \
-L/usr/local/lib/mysql -L$(TETOP)/lib -L/usr/local/lib \
-ldacard -lteada -lcele -lcmd -ldae -lcbase -lualgo -luproc -luamico \
-luio -lustring -ludb -lmysqlclient
clean:
- rm *.o
reap:
- rm tel_card
relink: reap all
sweep: clean reap
.PHONY: local all clean reap sweep relink
tel_card:cd ../stats
stats:make
cc -o stats main.o conf.o parms.o srv_cdr_telc.c statt_supp.o vars.o \
-L/usr/local/lib/mysql -L/home/cso/0/lib -L/usr/local/lib \
-ldacard -lteada -lcmd -ldae -lcbase -luproc -luamico \
-luio -lustring -ludb -lmysqlclient
In file included from srv_cdr_telc.c:1:
inc.h:13:21: error: ustring.h: No such file or directory
inc.h:14:17: error: uio.h: No such file or directory
inc.h:15:18: error: ulol.h: No such file or directory
inc.h:16:20: error: uamico.h: No such file or directory
inc.h:18:23: error: teas_prep.h: No such file or directory
inc.h:20:16: error: da.h: No such file or directory
inc.h:21:19: error: teada.h: No such file or directory
inc.h:22:20: error: dacard.h: No such file or directory
srv_cdr_telc.c:2:21: error: tel_dae.h: No such file or directory
srv_cdr_telc.c:5:19: error: udbin.h: No such file or directory
srv_cdr_telc.c: In function ‘ok_response’:
srv_cdr_telc.c:14: warning: return makes pointer from integer without a cast
make: *** [stats] Error 1
stats:cd -
/home/cso/0/teas/dae/tel_card
tel_card:make clean
rm *.o
tel_card:make
cc -g -I/home/cso/0/include -I/usr/local/include -c -o main.o main.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o cdr.o cdr.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o srv_acc_user.o srv_acc_user.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o srv_call_cdr.o srv_call_cdr.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o srv_comm_setup.o srv_comm_setup.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o comm_cost.o comm_cost.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o comm_time.o comm_time.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o conf.o conf.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o parms.o parms.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o telc_supp.o telc_supp.c
cc -g -I/home/cso/0/include -I/usr/local/include -c -o vars.o vars.c
cc -o tel_card main.o cdr.o srv_acc_user.o srv_call_cdr.o srv_comm_setup.o comm_cost.o comm_time.o conf.o parms.o telc_supp.o vars.o \
-L/usr/local/lib/mysql -L/home/cso/0/lib -L/usr/local/lib \
-ldacard -lteada -lcele -lcmd -ldae -lcbase -lualgo -luproc -luamico \
-luio -lustring -ludb -lmysqlclient
cp tel_card /home/cso/0/bin
tel_card:cd -
/home/cso/0/teas/dae/stats
stats:make
cc -o stats main.o conf.o parms.o srv_cdr_telc.c statt_supp.o vars.o \
-L/usr/local/lib/mysql -L/home/cso/0/lib -L/usr/local/lib \
-ldacard -lteada -lcmd -ldae -lcbase -luproc -luamico \
-luio -lustring -ludb -lmysqlclient
In file included from srv_cdr_telc.c:1:
inc.h:13:21: error: ustring.h: No such file or directory
inc.h:14:17: error: uio.h: No such file or directory
inc.h:15:18: error: ulol.h: No such file or directory
inc.h:16:20: error: uamico.h: No such file or directory
inc.h:18:23: error: teas_prep.h: No such file or directory
inc.h:20:16: error: da.h: No such file or directory
inc.h:21:19: error: teada.h: No such file or directory
inc.h:22:20: error: dacard.h: No such file or directory
srv_cdr_telc.c:2:21: error: tel_dae.h: No such file or directory
srv_cdr_telc.c:5:19: error: udbin.h: No such file or directory
srv_cdr_telc.c: In function ‘ok_response’:
srv_cdr_telc.c:14: warning: return makes pointer from integer without a cast
make: *** [stats] Error 1
stats:cat Makefile
local: all
cp stats $(TETOP)/bin
all: stats
stats: main.o conf.o parms.o srv_cdr_telc.c statt_supp.o vars.o
$(CC) -o $@ $^ \
-L/usr/local/lib/mysql -L$(TETOP)/lib -L/usr/local/lib \
-ldacard -lteada -lcmd -ldae -lcbase -luproc -luamico \
-luio -lustring -ludb -lmysqlclient
clean:
- rm *.o
reap:
- rm stats
relink: reap all
sweep: clean reap
.PHONY: local all clean reap sweep relink
stats:cat ../tel_card/Makefile
local: all
cp tel_card $(TETOP)/bin
all: tel_card
tel_card: main.o cdr.o srv_acc_user.o srv_call_cdr.o srv_comm_setup.o comm_cost.o comm_time.o conf.o parms.o telc_supp.o vars.o
$(CC) -o $@ $^ \
-L/usr/local/lib/mysql -L$(TETOP)/lib -L/usr/local/lib \
-ldacard -lteada -lcele -lcmd -ldae -lcbase -lualgo -luproc -luamico \
-luio -lustring -ludb -lmysqlclient
clean:
- rm *.o
reap:
- rm tel_card
relink: reap all
sweep: clean reap
.PHONY: local all clean reap sweep relink
stats: