Приветствую...
keremet, вот сделал как ты велел, но опять еррор. Глянь:
/usr/local/bin/gcc switch_modem.c -lusb -o switch_huawei
In file included from switch_modem.c:10:
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:36:27: iso/stdio_iso.h: No such file or directory
In file included from switch_modem.c:10:
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:194: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:229: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:230: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:236: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:244: error: syntax error before "size_t"
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:249: error: syntax error before "size_t"
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:258: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:260: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:284: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:293: error: syntax error before '*' token
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:294: error: syntax error before "FILE"
/usr/local/lib/gcc/i386-pc-solaris2.9/3.4.6/include/stdio.h:295: error: syntax error before '*' token
switch_modem.c:11:17: usb.h: No such file or directory
switch_modem.c:16: error: syntax error before '*' token
switch_modem.c:16: warning: data definition has no type or storage class
switch_modem.c: In function `main':
switch_modem.c:60: error: `usb_busses' undeclared (first use in this function)
switch_modem.c:60: error: (Each undeclared identifier is reported only once
switch_modem.c:60: error: for each function it appears in.)
switch_modem.c:60: error: dereferencing pointer to incomplete type
switch_modem.c:61: error: dereferencing pointer to incomplete type
switch_modem.c:61: error: dereferencing pointer to incomplete type
switch_modem.c:65: error: dereferencing pointer to incomplete type
switch_modem.c:66: error: dereferencing pointer to incomplete type
switch_modem.c:66: error: dereferencing pointer to incomplete type
switch_modem.c:67: error: dereferencing pointer to incomplete type
switch_modem.c:69: warning: assignment makes pointer from integer without a cast
switch_modem.c:71: error: dereferencing pointer to incomplete type
switch_modem.c:73: error: dereferencing pointer to incomplete type
switch_modem.c:85: error: dereferencing pointer to incomplete type
switch_modem.c:87: error: dereferencing pointer to incomplete type
switch_modem.c:97: error: dereferencing pointer to incomplete type
switch_modem.c:99: error: dereferencing pointer to incomplete type
switch_modem.c:109: error: dereferencing pointer to incomplete type
switch_modem.c:110: error: dereferencing pointer to incomplete type
switch_modem.c:114: error: `USB_TYPE_STANDARD' undeclared (first use in this function)
switch_modem.c:114: error: `USB_RECIP_DEVICE' undeclared (first use in this function)
switch_modem.c:115: error: `USB_REQ_SET_FEATURE' undeclared (first use in this function)