Re: [pslave] compiling on Debian/potato
On 17-Dec-2001 Russell Coker wrote: > The warnings about the zero length array are due to bad headers in > libc6-dev. > > The warnings about unused parameters don't matter. > > Any other warnings? There are two: main.c:544: warning: implicit declaration of function `tty_close_fds' tty.c:657: warning: `return' with a value, in function returning void Milan
Re: [pslave] compiling on Debian/potato
On 17-Dec-2001 Russell Coker wrote: > The warnings about the zero length array are due to bad headers in > libc6-dev. > > The warnings about unused parameters don't matter. > > Any other warnings? There are two: main.c:544: warning: implicit declaration of function `tty_close_fds' tty.c:657: warning: `return' with a value, in function returning void Milan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [pslave] compiling on Debian/potato
On Mon, 17 Dec 2001 14:39, Milan P. Stanic wrote: > On 16-Dec-2001 Russell Coker wrote: > > I've uploaded a new version which compiled with callback support > > (haven't tested it though). It's uploaded to woody (but not with > > CB). > > > > I've put it on http://www.coker.com.au/portslave/ as well as a diff > > file for making a potato package. Let me know how it goes. > > I've downloaded portslave_2001.12.16.tar.gz, patched it with > woody-potato.diff and added --enable-callback in debian/rules. > It compiles but I've seen many warnings during compiling. > I don't have time (these days) to test does callback actually works but > I will test it next week (I hope). The warnings about the zero length array are due to bad headers in libc6-dev. The warnings about unused parameters don't matter. Any other warnings? -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page
Re: [pslave] compiling on Debian/potato
On Mon, 17 Dec 2001 14:39, Milan P. Stanic wrote: > On 16-Dec-2001 Russell Coker wrote: > > I've uploaded a new version which compiled with callback support > > (haven't tested it though). It's uploaded to woody (but not with > > CB). > > > > I've put it on http://www.coker.com.au/portslave/ as well as a diff > > file for making a potato package. Let me know how it goes. > > I've downloaded portslave_2001.12.16.tar.gz, patched it with > woody-potato.diff and added --enable-callback in debian/rules. > It compiles but I've seen many warnings during compiling. > I don't have time (these days) to test does callback actually works but > I will test it next week (I hope). The warnings about the zero length array are due to bad headers in libc6-dev. The warnings about unused parameters don't matter. Any other warnings? -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [pslave] compiling on Debian/potato
On 16-Dec-2001 Russell Coker wrote: > I've uploaded a new version which compiled with callback support > (haven't tested it though). It's uploaded to woody (but not with > CB). > > I've put it on http://www.coker.com.au/portslave/ as well as a diff > file for making a potato package. Let me know how it goes. I've downloaded portslave_2001.12.16.tar.gz, patched it with woody-potato.diff and added --enable-callback in debian/rules. It compiles but I've seen many warnings during compiling. I don't have time (these days) to test does callback actually works but I will test it next week (I hope). Milan
Re: [pslave] compiling on Debian/potato
On 16-Dec-2001 Russell Coker wrote: > I've uploaded a new version which compiled with callback support > (haven't tested it though). It's uploaded to woody (but not with > CB). > > I've put it on http://www.coker.com.au/portslave/ as well as a diff > file for making a potato package. Let me know how it goes. I've downloaded portslave_2001.12.16.tar.gz, patched it with woody-potato.diff and added --enable-callback in debian/rules. It compiles but I've seen many warnings during compiling. I don't have time (these days) to test does callback actually works but I will test it next week (I hope). Milan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [pslave] compiling on Debian/potato
On Sat, 15 Dec 2001 22:52, Milan P. Stanic wrote: > >> libpsr.c: In function `plugin_init': > >> libpsr.c:69: `cbcp_init_hook' undeclared (first use in this > >> function) > >> libpsr.c:69: (Each undeclared identifier is reported only once > >> libpsr.c:69: for each function it appears in.) > > > > Yes, callback currently doesn't compile. I'll have to fix that. > > Bad news. :( > Call back is why I'm trying port slave.12.11 > > Just for fun, I declared cbcp_init_hook (in libpsr.c) as static int and > after that it compiles. But I don't expect it will work. > > > I've put a Potato package on http://www.coker.com.au/portslave/ . > > Downloaded. Thanks again! I've uploaded a new version which compiled with callback support (haven't tested it though). It's uploaded to woody (but not with CB). I've put it on http://www.coker.com.au/portslave/ as well as a diff file for making a potato package. Let me know how it goes. -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page
Re: [pslave] compiling on Debian/potato
On Sat, 15 Dec 2001 22:52, Milan P. Stanic wrote: > >> libpsr.c: In function `plugin_init': > >> libpsr.c:69: `cbcp_init_hook' undeclared (first use in this > >> function) > >> libpsr.c:69: (Each undeclared identifier is reported only once > >> libpsr.c:69: for each function it appears in.) > > > > Yes, callback currently doesn't compile. I'll have to fix that. > > Bad news. :( > Call back is why I'm trying port slave.12.11 > > Just for fun, I declared cbcp_init_hook (in libpsr.c) as static int and > after that it compiles. But I don't expect it will work. > > > I've put a Potato package on http://www.coker.com.au/portslave/ . > > Downloaded. Thanks again! I've uploaded a new version which compiled with callback support (haven't tested it though). It's uploaded to woody (but not with CB). I've put it on http://www.coker.com.au/portslave/ as well as a diff file for making a potato package. Let me know how it goes. -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [pslave] compiling on Debian/potato
On 15-Dec-2001 Russell Choker wrote: [...] >> /usr/include/bits/socket.h:226: warning: ANSI C forbids zero-size >> array >> `__cmsg_data' > > Edit your socket.h to remove the code in question. Oak, There is comment (I saw it before) which say it should be removed. >> In file included from libpsr.c:21: >> server.h:63: parse error before `*' >> server.h:63: warning: type defaults to `int' in declaration of >> `get_port_ptr' > > I've fixed this with the following: >#ifndef HAVE_IPV6 >#define in_port_t uint16_t >#endif Succeeded. Thanks! [...] >> libpsr.c: In function `plugin_init': >> libpsr.c:69: `cbcp_init_hook' undeclared (first use in this >> function) >> libpsr.c:69: (Each undeclared identifier is reported only once >> libpsr.c:69: for each function it appears in.) > > Yes, callback currently doesn't compile. I'll have to fix that. Bad news. :( Call back is why I'm trying port slave.12.11 Just for fun, I declared cbcp_init_hook (in libpsr.c) as static int and after that it compiles. But I don't expect it will work. > I've put a Potato package on http://www.coker.com.au/portslave/ . Downloaded. Thanks again! Milan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [pslave] compiling on Debian/potato
On 15-Dec-2001 Russell Choker wrote: [...] >> /usr/include/bits/socket.h:226: warning: ANSI C forbids zero-size >> array >> `__cmsg_data' > > Edit your socket.h to remove the code in question. Oak, There is comment (I saw it before) which say it should be removed. >> In file included from libpsr.c:21: >> server.h:63: parse error before `*' >> server.h:63: warning: type defaults to `int' in declaration of >> `get_port_ptr' > > I've fixed this with the following: >#ifndef HAVE_IPV6 >#define in_port_t uint16_t >#endif Succeeded. Thanks! [...] >> libpsr.c: In function `plugin_init': >> libpsr.c:69: `cbcp_init_hook' undeclared (first use in this >> function) >> libpsr.c:69: (Each undeclared identifier is reported only once >> libpsr.c:69: for each function it appears in.) > > Yes, callback currently doesn't compile. I'll have to fix that. Bad news. :( Call back is why I'm trying port slave.12.11 Just for fun, I declared cbcp_init_hook (in libpsr.c) as static int and after that it compiles. But I don't expect it will work. > I've put a Potato package on http://www.coker.com.au/portslave/ . Downloaded. Thanks again! Milan
Re: [pslave] compiling on Debian/potato
On Thu, 13 Dec 2001 23:10, Milan P. Stanic wrote: > I'm trying to compile portslave-2001.12.11 on Debian/potato and got > next after "debian/rules build" > > > make -C src > make[2]: Entering directory `/usr/local/src/portslave-2001.12.11/src' > gcc -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic > -I../ppp-2.4.1/pppd -fPIC -DPIC -c -o libpsr_pic.o libpsr.c > In file included from /usr/include/netinet/in.h:27, > from server.h:6, > from libpsr.c:21: > /usr/include/bits/socket.h:226: warning: ANSI C forbids zero-size array > `__cmsg_data' Edit your socket.h to remove the code in question. > In file included from libpsr.c:21: > server.h:63: parse error before `*' > server.h:63: warning: type defaults to `int' in declaration of > `get_port_ptr' I've fixed this with the following: #ifndef HAVE_IPV6 #define in_port_t uint16_t #endif If you have old headers that don't define in_port_t then IPv6 probably won't work for you anyway. > libpsr.c: In function `plugin_init': > libpsr.c:69: `cbcp_init_hook' undeclared (first use in this function) > libpsr.c:69: (Each undeclared identifier is reported only once > libpsr.c:69: for each function it appears in.) Yes, callback currently doesn't compile. I'll have to fix that. I've put a Potato package on http://www.coker.com.au/portslave/ . -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page
Re: [pslave] compiling on Debian/potato
On Thu, 13 Dec 2001 23:10, Milan P. Stanic wrote: > I'm trying to compile portslave-2001.12.11 on Debian/potato and got > next after "debian/rules build" > > > make -C src > make[2]: Entering directory `/usr/local/src/portslave-2001.12.11/src' > gcc -O2 -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic > -I../ppp-2.4.1/pppd -fPIC -DPIC -c -o libpsr_pic.o libpsr.c > In file included from /usr/include/netinet/in.h:27, > from server.h:6, > from libpsr.c:21: > /usr/include/bits/socket.h:226: warning: ANSI C forbids zero-size array > `__cmsg_data' Edit your socket.h to remove the code in question. > In file included from libpsr.c:21: > server.h:63: parse error before `*' > server.h:63: warning: type defaults to `int' in declaration of > `get_port_ptr' I've fixed this with the following: #ifndef HAVE_IPV6 #define in_port_t uint16_t #endif If you have old headers that don't define in_port_t then IPv6 probably won't work for you anyway. > libpsr.c: In function `plugin_init': > libpsr.c:69: `cbcp_init_hook' undeclared (first use in this function) > libpsr.c:69: (Each undeclared identifier is reported only once > libpsr.c:69: for each function it appears in.) Yes, callback currently doesn't compile. I'll have to fix that. I've put a Potato package on http://www.coker.com.au/portslave/ . -- http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]