isdn4bsd current compilation error on FreeBSD 6.1

Frank Versteurs frank.versteurs at gmail.com
Mon Jun 12 01:52:14 UTC 2006


Hi,

I have no problems compiling the latest official release of the isdn4bsd
package (v.1.6.0) into the kernel of FreeBSD 6.1 (RELENG_6_1_0_RELEASE) on
an i386 system.

But when trying to compile the svn current source (revision 272) I get the
following compilation error:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Werror  /usr/src/sys/dev/usb2/_usb_cdev.c
/usr/src/sys/dev/usb2/_usb_cdev.c: In function `usb_cdev_close':
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: implicit declaration of
function `psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: nested extern declaration of
`psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:558: warning: nested extern declaration of
`psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: redundant redeclaration of
'psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: previous implicit
declaration of 'psignal' was here
/usr/src/sys/dev/usb2/_usb_cdev.c: In function `usb_cdev_put_data':
/usr/src/sys/dev/usb2/_usb_cdev.c:1187: warning: nested extern declaration
of `psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: redundant redeclaration of
'psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: previous implicit
declaration of 'psignal' was here
/usr/src/sys/dev/usb2/_usb_cdev.c: In function `usb_cdev_put_data_error':
/usr/src/sys/dev/usb2/_usb_cdev.c:1220: warning: nested extern declaration
of `psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: redundant redeclaration of
'psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: previous implicit
declaration of 'psignal' was here
/usr/src/sys/dev/usb2/_usb_cdev.c: In function `usb_cdev_get_data':
/usr/src/sys/dev/usb2/_usb_cdev.c:1284: warning: nested extern declaration
of `psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: redundant redeclaration of
'psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: previous implicit
declaration of 'psignal' was here
/usr/src/sys/dev/usb2/_usb_cdev.c: In function `usb_cdev_get_data_error':
/usr/src/sys/dev/usb2/_usb_cdev.c:1338: warning: nested extern declaration
of `psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: redundant redeclaration of
'psignal'
/usr/src/sys/dev/usb2/_usb_cdev.c:473: warning: previous implicit
declaration of 'psignal' was here
*** Error code 1

Stop in /usr/obj/usr/src/sys/TEST.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Is this normal behaviour of the current source or am I doing something
wrong?

Regards,

Frank


More information about the freebsd-isdn mailing list