[Rxtx] Problem in installing rxtx-2.2pre2
Trent Jarvi
tjarvi at qbang.org
Wed Feb 11 06:24:36 MST 2009
Thanks for trying the source. I didn't see this on my older system.
We did fix that problem in SerialImp.c. You can also just compile Serial
support by running ../configure --disable-PRINTER
I'll look at getting the other files fixed in the next prerelease.
On Wed, 11 Feb 2009, Santosh wrote:
> Hi Amee,
>
> I too got the same error.
> I resolved it as follows.
>
> 1. get the the kernel release name by 'uname -r'
> On my system
> root at ubuntu-chennai:/home/syadawar/rxtx-2.2pre2/rxtx-2.2pre2# uname -r
> 2.6.20-15-generic
>
> 2. edit the file /usr/include/linux/version.h to add the below line to it.
> #define UTS_RELEASE "2.6.20-15-generic"
>
> This may not be the correct solution but I'll use it until someone
> replies correct solution.
>
> Thanks,
> Santosh
>
>
> On Wed, Feb 11, 2009 at 11:39 AM, Amee <amee.desai at wipro.com> wrote:
>> Hello,
>>
>> I am using rxtx-2.2pre2 source on Ubuntu 8.04LTS. I am able to run
>> successfully the configure command but I am not being able to run the
>> make command successfully. It gives me following error:
>>
>> /home/amee/Desktop/rxtx-2.2pre2/./src/I2CImp.c: In function
>> 'Java_gnu_io_I2CPort_Initialize':
>> /home/amee/Desktop/rxtx-2.2pre2/./src/I2CImp.c:135: error: 'UTS_RELEASE'
>> undeclared (first use in this function)
>> /home/amee/Desktop/rxtx-2.2pre2/./src/I2CImp.c:135: error: (Each
>> undeclared identifier is reported only once
>> /home/amee/Desktop/rxtx-2.2pre2/./src/I2CImp.c:135: error: for each
>> function it appears in.)
>> libtool: link: `/home/amee/Desktop/rxtx-2.2pre2/i686-pc-none/I2CImp.lo'
>> is not a valid libtool object
>> make: *** [i686-pc-none/librxtxI2C.la] Error 1
>>
>> Can you please tell me what should I have to do to remove this error?
>>
>> Thanks and Regards,
>> Amee
>>
>>
>> Please do not print this email unless it is absolutely necessary.
>>
>> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
>>
>> www.wipro.com
>> _______________________________________________
>> Rxtx mailing list
>> Rxtx at qbang.org
>> http://mailman.qbang.org/mailman/listinfo/rxtx
>>
> _______________________________________________
> Rxtx mailing list
> Rxtx at qbang.org
> http://mailman.qbang.org/mailman/listinfo/rxtx
>
More information about the Rxtx
mailing list