Re: lnpd exexutable

"Cortland Starrett" <[email protected]> Mon, 17 Apr 2006 14:21:17 GMT
Newsgroups gmane.comp.hardware.lego.robotics
Organization ROX Software, Inc.
Message-ID <[email protected]>
In lugnet.robotics, Ed Manlove wrote:
> In lugnet.robotics, Cortland Starrett wrote:
>>
>> I am the "friend".  :)  My name is Cortland Starrett.  I use a modeling
[trim]
>> Thanks for any help or pointers.  And thanks Steve for posting for me
>> while I waited on my registration.
>>
>> Cort
>
> Cort,
>
> I know you are looking for an executable but have your tried building the
> source?
[trim]
> Also if you try the source but run into problems you can post them here and we
> will see what we can do.
>
> Ed

Here is the first error.  O_ASYNC is a Linux/BSD thing...

10:11 AM-/lnpd-0.9.0$ make
make  all-recursive
make[1]: Entering directory `/lnpd-0.9.0'
Making all in lnpd+liblnp
make[2]: Entering directory `/lnpd-0.9.0/lnpd+liblnp'
Making all in liblnp
make[3]: Entering directory `/lnpd-0.9.0/lnpd+liblnp/liblnp'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-D_GNU_SOURCE -g -O2 -c stub.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_GNU_SOURCE -g -O2 -c stub.c  -DPIC -o
.libs/stub.o
stub.c: In function `lnp_init':
stub.c:381: error: `O_ASYNC' undeclared (first use in this function)
stub.c:381: error: (Each undeclared identifier is reported only once
stub.c:381: error: for each function it appears in.)
stub.c:383: error: `F_SETSIG' undeclared (first use in this function)
make[3]: *** [stub.lo] Error 1
make[3]: Leaving directory `/lnpd-0.9.0/lnpd+liblnp/liblnp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/lnpd-0.9.0/lnpd+liblnp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lnpd-0.9.0'
make: *** [all-recursive-am] Error 2

I have commented out this check in the code, but not getting much farther.

Cort