Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not make #1

Open
wangke1970 opened this issue Mar 5, 2016 · 1 comment
Open

can not make #1

wangke1970 opened this issue Mar 5, 2016 · 1 comment

Comments

@wangke1970
Copy link

wang@kali-amd64:~/Downloads/tcpmux-master$ make
CC libtcpmux_la-daemon.lo
daemon.c: In function ‘tcphandler’:
daemon.c:75:5: warning: implicit declaration of function ‘tcpdetach’ [-Wimplicit-function-declaration]
int fd = tcpdetach(s);
^
daemon.c:99:5: warning: implicit declaration of function ‘tcpattach’ [-Wimplicit-function-declaration]
s = tcpattach(fd, 0);
^
daemon.c:99:7: warning: assignment makes pointer from integer without a cast
s = tcpattach(fd, 0);
^
daemon.c: In function ‘unixhandler’:
daemon.c:130:5: warning: implicit declaration of function ‘unixdetach’ [-Wimplicit-function-declaration]
int fd = unixdetach(s);
^
daemon.c:164:5: warning: implicit declaration of function ‘unixattach’ [-Wimplicit-function-declaration]
s = unixattach(fd, 0);
^
daemon.c:164:7: warning: assignment makes pointer from integer without a cast
s = unixattach(fd, 0);
^
CC libtcpmux_la-list.lo
CC libtcpmux_la-tcpmux.lo
tcpmux.c: In function ‘tcpmuxlisten’:
tcpmux.c:77:5: warning: implicit declaration of function ‘unixdetach’ [-Wimplicit-function-declaration]
res->fd = unixdetach(s);
^
tcpmux.c: In function ‘tcpmuxaccept’:
tcpmux.c:122:5: warning: implicit declaration of function ‘tcpattach’ [-Wimplicit-function-declaration]
return tcpattach(fd, 0);
^
tcpmux.c:122:5: warning: return makes pointer from integer without a cast
CCLD libtcpmux.la
make: *** No rule to make target 'tcpmuxd.c', needed by 'tcpmuxd.o'. Stop.

@reqshark
Copy link

reqshark commented Apr 9, 2016

fd attach/detech api was removed from libmill api

sustrik/libmill@8e2cfa4

so tcpmux is calling a few functions that don't exist... if you have a recent version of libmill installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants