[MacPorts] #20886: libusbi.h:739: error: syntax error before 'nfds_t' on upgrade from port 'libusb'
MacPorts
noreply at macports.org
Sat Aug 29 02:54:29 PDT 2009
#20886: libusbi.h:739: error: syntax error before 'nfds_t' on upgrade from port
'libusb'
----------------------------------+-----------------------------------------
Reporter: jryan2002de@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: libusb
----------------------------------+-----------------------------------------
Changes (by toby@…):
* version: 1.8.0 =>
Old description:
> Hello,
>
> I've got the following error when I try to upgrade the port libusb from
> version 0.1.12_1 to 1.0.2_0. Actually the computer run's under MacOSX
> 10.5.8 Leopard.
>
> Errormessage:
>
> /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
> -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -fvisibility=hidden
> -std=gnu99 -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-
> function-declaration -Wno-pointer-sign -Wshadow -pthread -O2 -arch i386
> -MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c -o
> libusb_1_0_la-core.lo `test -f 'core.c' || echo './'`core.c
> libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..
> -I/opt/local/include -fvisibility=hidden -std=gnu99 -Wall -Wundef
> -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-
> pointer-sign -Wshadow -pthread -O2 -arch i386 -MT libusb_1_0_la-core.lo
> -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c core.c -fno-common -DPIC -o
> .libs/libusb_1_0_la-core.o
> In file included from core.c:32:
> libusb.h:1115: warning: declaration of 'index' shadows a global
> declaration
> /usr/include/string.h:125: warning: shadowed declaration is here
> libusb.h:1169: warning: declaration of 'index' shadows a global
> declaration
> /usr/include/string.h:125: warning: shadowed declaration is here
> In file included from core.c:33:
> libusbi.h:739: error: syntax error before 'nfds_t'
> libusbi.h:739: warning: function declaration isn't a prototype
> make[2]: *** [libusb_1_0_la-core.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Greets
> -jryan
New description:
Hello,
I've got the following error when I try to upgrade the port libusb from
version 0.1.12_1 to 1.0.2_0. Actually the computer run's under MacOSX
10.5.8 Leopard.
Errormessage:
{{{
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -fvisibility=hidden
-std=gnu99 -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-
function-declaration -Wno-pointer-sign -Wshadow -pthread -O2 -arch i386
-MT libusb_1_0_la-core.lo -MD -MP -MF .deps/libusb_1_0_la-core.Tpo -c -o
libusb_1_0_la-core.lo `test -f 'core.c' || echo './'`core.c
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -fvisibility=hidden -std=gnu99 -Wall -Wundef -Wunused
-Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-
sign -Wshadow -pthread -O2 -arch i386 -MT libusb_1_0_la-core.lo -MD -MP
-MF .deps/libusb_1_0_la-core.Tpo -c core.c -fno-common -DPIC -o .libs
/libusb_1_0_la-core.o
In file included from core.c:32:
libusb.h:1115: warning: declaration of 'index' shadows a global
declaration
/usr/include/string.h:125: warning: shadowed declaration is here
libusb.h:1169: warning: declaration of 'index' shadows a global
declaration
/usr/include/string.h:125: warning: shadowed declaration is here
In file included from core.c:33:
libusbi.h:739: error: syntax error before 'nfds_t'
libusbi.h:739: warning: function declaration isn't a prototype
make[2]: *** [libusb_1_0_la-core.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
Greets
-jryan
--
--
Ticket URL: <http://trac.macports.org/ticket/20886#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list