Control: tag -1 - patch On Thu, 23 Jul 2015 15:33:48 -0600, Brett Johnson wrote:
> tags 778109 +patch
> thanks
>
> GCC5 defaults to the C99 standard, which changes inline function semantics.
> This patch fixes the FTBFS by declaring the print_error function explicitly
> extern, since it's called from multiple source files.
Unfortunately the patch introduces a FTBFS with gcc 4.9:
debian/rules build
dh build
dh_testdir
dh_auto_configure
dh_auto_build
make -j1
make[1]: Entering directory '/tmp/buildd/s51dude-0.3.1'
CC s51dude.o
CC ihex.o
CC usbtiny.o
CC parse_params.o
CC parts.o
CC s51dude
usbtiny.o: In function `usb_control':
/tmp/buildd/s51dude-0.3.1/usbtiny.c:75: undefined reference to `print_error'
usbtiny.o: In function `usbtiny_open':
/tmp/buildd/s51dude-0.3.1/usbtiny.c:156: undefined reference to `print_error'
parse_params.o: In function `load_action':
/tmp/buildd/s51dude-0.3.1/parse_params.c:135: undefined reference to
`print_error'
/tmp/buildd/s51dude-0.3.1/parse_params.c:126: undefined reference to
`print_error'
collect2: error: ld returned 1 exit status
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Donovan: Turquoise
signature.asc
Description: Digital Signature

