[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling gnokii on solaris 10 intel with usb support
From: |
tomvo |
Subject: |
compiling gnokii on solaris 10 intel with usb support |
Date: |
Wed, 25 Jul 2007 15:17:53 +0200 |
Hi,
I've attached a nokia with an original usb cable to my server, and I want
to compile gnokii on it (solaris 10 intel - latest update) with usb
support.
When compiling it, i receive this error:
gcc -fno-strict-aliasing -g -O2 -Wall -I../../intl -I../../include
-I/usr/openwin/include -c dku2libusb.c -fPIC -DPIC -o .libs/dku2libusb.o
In file included from dku2libusb.c:37:
../../include/devices/dku2libusb.h:95: error: parse error before
"u_int8_t"
../../include/devices/dku2libusb.h:95: warning: no semicolon at end of
struct or union
../../include/devices/dku2libusb.h:96: warning: type defaults to `int' in
declaration of `bDescriptorType'
../../include/devices/dku2libusb.h:96: warning: data definition has no
type or storage class
../../include/devices/dku2libusb.h:97: error: parse error before
"bDescriptorSubType"
../../include/devices/dku2libusb.h:97: warning: type defaults to `int' in
declaration of `bDescriptorSubType'
../../include/devices/dku2libusb.h:97: warning: data definition has no
type or storage class
../../include/devices/dku2libusb.h:99: error: parse error before
"bMasterInterface0"
../../include/devices/dku2libusb.h:99: warning: type defaults to `int' in
declaration of `bMasterInterface0'
../../include/devices/dku2libusb.h:99: warning: data definition has no
type or storage class
../../include/devices/dku2libusb.h:100: error: parse error before
"bSlaveInterface0"
../../include/devices/dku2libusb.h:100: warning: type defaults to `int' in
declaration of `bSlaveInterface0'
../../include/devices/dku2libusb.h:100: warning: data definition has no
type or storage class
../../include/devices/dku2libusb.h:101: warning: empty declaration
dku2libusb.c: In function `find_fbus_data_interface':
dku2libusb.c:162: error: dereferencing pointer to incomplete type
make[1]: *** [dku2libusb.lo] Error 1
make[1]: Leaving directory `/data/backups/gnokii-0.6.18/common/devices'
make: *** [common/devices] Error 2
gcc is version 3.3.2
Any ideas ?
Has anyone been able to make gnokii work on solaris 10 intel via usb ?
gr,
Tom.
- compiling gnokii on solaris 10 intel with usb support,
tomvo <=