Commit Graph
9 Commits
Author SHA1 Message Date
Guo LiandYousong Zhou 3f1b4c61ea 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>
2018-09-30 00:36:07 +08:00
Guo LiandYousong Zhou cbc948acf3 sendmail: fix confLIBSEARCHPATH to $(STAGING_DIR)
This fix issue 'cannot find -lnsl' on build server which has libnsl.so in
/usr/lib

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-26 16:28:48 +08:00
Guo LiandYousong Zhou d0766135ad getdns: add note for remove libbsd dependency
Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-25 17:11:17 +08:00
Guo LiandYousong Zhou 035b22b208 getdns: remove libbsd dependency
Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-25 17:11:17 +08:00
Guo LiandYousong Zhou 8365744b80 getdns: fix missing libbsd dependency
Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-25 17:11:17 +08:00
Guo Liandtripolar 3fc7f7b8cc nfs-kernel-server: fix missing libbsd dependency
libbsd may compile before nfs-kernel-server, it  will make
nfs-kernel-server depends libbsd.so.0, that is not we want to see. so
gave option to 'configure' to disable libbsd detect and tell it we have
no libbsd

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-11 22:56:46 +02:00
Guo LiandYousong Zhou e656745031 mtr: add autoreconf
The official tarball does not contain configure, we should set
PKG_FIXUP=autoreconf to generate one

make[4]: *** No targets specified and no makefile found.  Stop.

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-06 15:57:18 +08:00
Guo LiandYousong Zhou d0e0385f11 classpath: fix this statement may fall through
gnu_java_math_GMP.c:1135:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
         res = mpz_popcount (_this);
         ~~~~^~~~~~~~~~~~~~~~~~~~~~
gnu_java_math_GMP.c:1136:7: note: here
       default:
       ^~~~~~~

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-06 02:07:47 +08:00
Guo LiandYousong Zhou 2f96d96aff jamvm: Use <fenv.h> instead of <fpu_control.h>
musl libc (http://musl-libc.org lack the non-standard <fpu_control.h>
header, which is used in src/os/linux/{i386,x86_64}/init.c files to
setup the floating point precision. This patch makes it use the
standard C <fenv.h> header instead.

Original patch at Felix Janda at
https://sourceforge.net/p/jamvm/patches/6/

Signed-off-by: Guo Li <uxgood.org@gmail.com>
2018-09-05 22:18:02 +08:00