Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 17:24:33 -0800 (PST)
From:      "Matt Staroscik" <>
Subject:   x10d X10 interface controller: not compiling (4.9) (Also: other  X10 apps?)
Message-ID:  <>
In-Reply-To: <>
References:  <>

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:

Karl Denninger's site advises adding this to get the code to compile under

#include <sgtty.h>


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.


Want to link to this message? Use this URL: <>