x10d X10 interface controller: not compiling (4.9) (Also: other X10 apps?)
From: Matt Staroscik (matt_at_wrongcrowd.com)
Date: 12/31/03
- Previous message: Lee Mx: "Re: ZOT Print Server...."
- Next in thread: Michael W. Oliver: "Re: x10d X10 interface controller: not compiling (4.9) (Also: other X10 apps?)"
- Reply: Michael W. Oliver: "Re: x10d X10 interface controller: not compiling (4.9) (Also: other X10 apps?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 17:24:33 -0800 (PST) To: freebsd-questions@freebsd.org
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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Lee Mx: "Re: ZOT Print Server...."
- Next in thread: Michael W. Oliver: "Re: x10d X10 interface controller: not compiling (4.9) (Also: other X10 apps?)"
- Reply: Michael W. Oliver: "Re: x10d X10 interface controller: not compiling (4.9) (Also: other X10 apps?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]