Date: Tue, 30 Dec 2003 17:24:33 -0800 (PST) From: "Matt Staroscik" <matt@wrongcrowd.com> To: freebsd-questions@freebsd.org Subject: x10d X10 interface controller: not compiling (4.9) (Also: other X10 apps?) Message-ID: <32412.207.46.125.17.1072833873.squirrel@wrongcrowd.com> In-Reply-To: <20031230001739.A264E16A4D5@hub.freebsd.org> References: <20031230001739.A264E16A4D5@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I am trying to get a CM11A X10 interface wired into my FreeBSD server. It looks like most of the software out there relies on "x10d," which is only available as source code: ftp://ftp.danlan.com/ftp.danlan.com/homeauto/x10d.cm11.txt Karl Denninger's site advises adding this to get the code to compile under FreeBSD: #include <sgtty.h> (ref: http://www.denninger.net/homedaemon.htm) I make the change and compile like: cc -o x10d sourcecode.c ... which produces these warnings: x10d.c: In function `main': x10d.c:192: warning: passing arg 2 of `bind' from incompatible pointer type x10d.c:231: warning: passing arg 2 of `accept' from incompatible pointer type The resulting "x10d" binary file silently exits when run. I know beans about C, it's been many years since I had to do even the most trivial stuff with it. Where should I start to get this code working? Are there any other X10 apps I should try? I currently have BLueLava and Flipit running with a "firecracker" RF X10 module but I want to start playing with the 2-way capabilities of the CM11A. TIA! -- matt@wrongcrowd.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32412.207.46.125.17.1072833873.squirrel>