diff options
| author | Guo Li <uxgood.org@gmail.com> | 2018-09-29 08:07:34 +0000 |
|---|---|---|
| committer | Yousong Zhou <yszhou4tech@gmail.com> | 2018-09-30 00:36:07 +0800 |
| commit | 3f1b4c61ea2aa9c567120bbda91c7bc1ca1b0b9e (patch) | |
| tree | 2773fb0c709613d75ba75fe2f0a5887f09e3e0ed /lang/python/python3/Config-python3-light.in | |
| parent | 241e7a34f6dcd98e2b2a6c7c85a63190bcfbb55e (diff) | |
bandwidthd: fix undefined references to inline functions
gcc-7 with -Os makes inline functions disappeard. It are caused by
the new C11 inline semantics. pass option -fgnu89-inline to gcc let
it use gnu inline semantics.
see https://wiki.debian.org/GCC7#Porting_help
bandwidthd.o: In function `RCDF_Load':
bandwidthd.c:(.text+0xb33): undefined reference to `FindIp'
bandwidthd.o: In function `PacketCallback':
bandwidthd.c:(.text+0x11d0): undefined reference to `FindIp'
bandwidthd.c:(.text+0x11e2): undefined reference to `Credit'
bandwidthd.c:(.text+0x11ea): undefined reference to `FindIp'
bandwidthd.c:(.text+0x11fc): undefined reference to `Credit'
bandwidthd.c:(.text+0x1218): undefined reference to `FindIp'
bandwidthd.c:(.text+0x122a): undefined reference to `Credit'
bandwidthd.c:(.text+0x1232): undefined reference to `FindIp'
bandwidthd.c:(.text+0x1244): undefined reference to `Credit'
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'bandwidthd' failed
make[4]: *** [bandwidthd] Error 1
Signed-off-by: Guo Li <uxgood.org@gmail.com>
Diffstat (limited to 'lang/python/python3/Config-python3-light.in')
0 files changed, 0 insertions, 0 deletions
