关于hiredis在linux 编译的问题

小楼一夜听春雨 发布于 2017/04/17 18:19
阅读 473
收藏 0

 准备C++程序操作redis缓存库,下载了 hiredis 源代码,在linux下编译,出现如下错误,请各位大神指点一下。谢谢

-bash-4.1$ make
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  net.c
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  hiredis.c
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  sds.c
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  async.c
cc -std=c99 -pedantic -c -O3 -fPIC  -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb  read.c
cc -shared -Wl,-soname,libhiredis.so.0.13 -o libhiredis.so  net.o hiredis.o sds.o async.o read.o
hiredis.o: In function `__strcspn_c1':
/usr/include/bits/string2.h:974: multiple definition of `__strcspn_c1'
net.o:/usr/include/bits/string2.h:974: first defined here
hiredis.o: In function `__strcspn_c2':
/usr/include/bits/string2.h:985: multiple definition of `__strcspn_c2'
net.o:/usr/include/bits/string2.h:985: first defined here
hiredis.o: In function `__strcspn_c3':
/usr/include/bits/string2.h:998: multiple definition of `__strcspn_c3'
net.o:/usr/include/bits/string2.h:998: first defined here
hiredis.o: In function `__strspn_c1':
/usr/include/bits/string2.h:1051: multiple definition of `__strspn_c1'
net.o:/usr/include/bits/string2.h:1051: first defined here
hiredis.o: In function `__strspn_c2':
/usr/include/bits/string2.h:1060: multiple definition of `__strspn_c2'
net.o:/usr/include/bits/string2.h:1060: first defined here
hiredis.o: In function `__strspn_c3':
/usr/include/bits/string2.h:1072: multiple definition of `__strspn_c3'
net.o:/usr/include/bits/string2.h:1072: first defined here
hiredis.o: In function `__strpbrk_c2':
/usr/include/bits/string2.h:1127: multiple definition of `__strpbrk_c2'
net.o:/usr/include/bits/string2.h:1127: first defined here
hiredis.o: In function `__strpbrk_c3':
/usr/include/bits/string2.h:1137: multiple definition of `__strpbrk_c3'
net.o:/usr/include/bits/string2.h:1137: first defined here
hiredis.o: In function `__strtok_r_1c':
/usr/include/bits/string2.h:1178: multiple definition of `__strtok_r_1c'
net.o:/usr/include/bits/string2.h:1178: first defined here
hiredis.o: In function `__strsep_2c':
/usr/include/bits/string2.h:1237: multiple definition of `__strsep_2c'
net.o:/usr/include/bits/string2.h:1237: first defined here
hiredis.o: In function `__strsep_3c':
/usr/include/bits/string2.h:1265: multiple definition of `__strsep_3c'
net.o:/usr/include/bits/string2.h:1265: first defined here
hiredis.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
net.o:/usr/include/sys/sysmacros.h:43: first defined here
hiredis.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
net.o:/usr/include/sys/sysmacros.h:49: first defined here
hiredis.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'
net.o:/usr/include/sys/sysmacros.h:55: first defined here
hiredis.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:123: multiple definition of `feof_unlocked'
net.o:/usr/include/bits/stdio.h:123: first defined here
hiredis.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of `ferror_unlocked'
net.o:/usr/include/bits/stdio.h:130: first defined here
hiredis.o: In function `__strsep_1c':
/usr/include/bits/string2.h:1226: multiple definition of `__strsep_1c'
net.o:/usr/include/bits/string2.h:1226: first defined here
hiredis.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:104: multiple definition of `putchar_unlocked'
net.o:/usr/include/bits/stdio.h:104: first defined here
hiredis.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:97: multiple definition of `putc_unlocked'
net.o:/usr/include/bits/stdio.h:97: first defined here
hiredis.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:87: multiple definition of `fputc_unlocked'
net.o:/usr/include/bits/stdio.h:87: first defined here
hiredis.o: In function `putchar':
/usr/include/bits/stdio.h:78: multiple definition of `putchar'
net.o:/usr/include/bits/stdio.h:78: first defined here
hiredis.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:69: multiple definition of `getchar_unlocked'
net.o:/usr/include/bits/stdio.h:69: first defined here
hiredis.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:62: multiple definition of `getc_unlocked'
net.o:/usr/include/bits/stdio.h:62: first defined here
hiredis.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:52: multiple definition of `fgetc_unlocked'
net.o:/usr/include/bits/stdio.h:52: first defined here
hiredis.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
net.o:/usr/include/bits/stdio.h:43: first defined here
hiredis.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
net.o:/usr/include/bits/stdio.h:36: first defined here
hiredis.o: In function `strtoull':
/usr/include/stdlib.h:390: multiple definition of `strtoull'
net.o:/usr/include/stdlib.h:390: first defined here
hiredis.o: In function `strtouq':
/usr/include/stdlib.h:374: multiple definition of `strtouq'
net.o:/usr/include/stdlib.h:374: first defined here
hiredis.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `strtoll'
net.o:/usr/include/stdlib.h:384: first defined here
hiredis.o: In function `strtoq':
/usr/include/stdlib.h:368: multiple definition of `strtoq'
net.o:/usr/include/stdlib.h:368: first defined here
hiredis.o: In function `strtold':
/usr/include/stdlib.h:357: multiple definition of `strtold'
net.o:/usr/include/stdlib.h:357: first defined here
hiredis.o: In function `strtof':
/usr/include/stdlib.h:351: multiple definition of `strtof'
net.o:/usr/include/stdlib.h:351: first defined here
hiredis.o: In function `strtoul':
/usr/include/stdlib.h:342: multiple definition of `strtoul'
net.o:/usr/include/stdlib.h:342: first defined here
hiredis.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `strtol'
net.o:/usr/include/stdlib.h:336: first defined here
hiredis.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `strtod'
net.o:/usr/include/stdlib.h:330: first defined here
hiredis.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `atoll'
net.o:/usr/include/stdlib.h:384: first defined here
hiredis.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `atof'
net.o:/usr/include/stdlib.h:330: first defined here
hiredis.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `atol'
net.o:/usr/include/stdlib.h:336: first defined here
hiredis.o: In function `atoi':
/usr/include/stdlib.h:403: multiple definition of `atoi'
net.o:/usr/include/stdlib.h:403: first defined here
sds.o: In function `__strcspn_c1':
/usr/include/bits/string2.h:974: multiple definition of `__strcspn_c1'
net.o:/usr/include/bits/string2.h:974: first defined here
sds.o: In function `__strcspn_c2':
/usr/include/bits/string2.h:985: multiple definition of `__strcspn_c2'
net.o:/usr/include/bits/string2.h:985: first defined here
sds.o: In function `__strcspn_c3':
/usr/include/bits/string2.h:998: multiple definition of `__strcspn_c3'
net.o:/usr/include/bits/string2.h:998: first defined here
sds.o: In function `__strspn_c1':
/usr/include/bits/string2.h:1051: multiple definition of `__strspn_c1'
net.o:/usr/include/bits/string2.h:1051: first defined here
sds.o: In function `__strspn_c2':
/usr/include/bits/string2.h:1060: multiple definition of `__strspn_c2'
net.o:/usr/include/bits/string2.h:1060: first defined here
sds.o: In function `__strspn_c3':
/usr/include/bits/string2.h:1072: multiple definition of `__strspn_c3'
net.o:/usr/include/bits/string2.h:1072: first defined here
sds.o: In function `__strpbrk_c2':
/usr/include/bits/string2.h:1127: multiple definition of `__strpbrk_c2'
net.o:/usr/include/bits/string2.h:1127: first defined here
sds.o: In function `__strpbrk_c3':
/usr/include/bits/string2.h:1137: multiple definition of `__strpbrk_c3'
net.o:/usr/include/bits/string2.h:1137: first defined here
sds.o: In function `__strtok_r_1c':
/usr/include/bits/string2.h:1178: multiple definition of `__strtok_r_1c'
net.o:/usr/include/bits/string2.h:1178: first defined here
sds.o: In function `__strsep_2c':
/usr/include/bits/string2.h:1237: multiple definition of `__strsep_2c'
net.o:/usr/include/bits/string2.h:1237: first defined here
sds.o: In function `__strsep_3c':
/usr/include/bits/string2.h:1265: multiple definition of `__strsep_3c'
net.o:/usr/include/bits/string2.h:1265: first defined here
sds.o: In function `toupper':
/usr/include/ctype.h:198: multiple definition of `toupper'
hiredis.o:/usr/include/ctype.h:198: first defined here
sds.o: In function `tolower':
/usr/include/ctype.h:192: multiple definition of `tolower'
hiredis.o:/usr/include/ctype.h:192: first defined here
sds.o: In function `__strsep_1c':
/usr/include/bits/string2.h:1226: multiple definition of `__strsep_1c'
net.o:/usr/include/bits/string2.h:1226: first defined here
sds.o: In function `strtoull':
/usr/include/stdlib.h:390: multiple definition of `strtoull'
net.o:/usr/include/stdlib.h:390: first defined here
sds.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `strtoll'
net.o:/usr/include/stdlib.h:384: first defined here
sds.o: In function `strtold':
/usr/include/stdlib.h:357: multiple definition of `strtold'
net.o:/usr/include/stdlib.h:357: first defined here
sds.o: In function `strtof':
/usr/include/stdlib.h:351: multiple definition of `strtof'
net.o:/usr/include/stdlib.h:351: first defined here
sds.o: In function `strtoul':
/usr/include/stdlib.h:342: multiple definition of `strtoul'
net.o:/usr/include/stdlib.h:342: first defined here
sds.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `strtol'
net.o:/usr/include/stdlib.h:336: first defined here
sds.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `strtod'
net.o:/usr/include/stdlib.h:330: first defined here
sds.o: In function `putchar':
/usr/include/bits/stdio.h:78: multiple definition of `putchar'
net.o:/usr/include/bits/stdio.h:78: first defined here
sds.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
net.o:/usr/include/bits/stdio.h:43: first defined here
sds.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
net.o:/usr/include/bits/stdio.h:36: first defined here
sds.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `atoll'
net.o:/usr/include/stdlib.h:384: first defined here
sds.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `atof'
net.o:/usr/include/stdlib.h:330: first defined here
sds.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `atol'
net.o:/usr/include/stdlib.h:336: first defined here
sds.o: In function `atoi':
/usr/include/stdlib.h:403: multiple definition of `atoi'
net.o:/usr/include/stdlib.h:403: first defined here
async.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
net.o:/usr/include/sys/sysmacros.h:43: first defined here
async.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
net.o:/usr/include/sys/sysmacros.h:49: first defined here
async.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'
net.o:/usr/include/sys/sysmacros.h:55: first defined here
async.o: In function `__strcspn_c1':
/usr/include/bits/string2.h:974: multiple definition of `__strcspn_c1'
net.o:/usr/include/bits/string2.h:974: first defined here
async.o: In function `__strcspn_c2':
/usr/include/bits/string2.h:985: multiple definition of `__strcspn_c2'
net.o:/usr/include/bits/string2.h:985: first defined here
async.o: In function `__strcspn_c3':
/usr/include/bits/string2.h:998: multiple definition of `__strcspn_c3'
net.o:/usr/include/bits/string2.h:998: first defined here
async.o: In function `__strspn_c1':
/usr/include/bits/string2.h:1051: multiple definition of `__strspn_c1'
net.o:/usr/include/bits/string2.h:1051: first defined here
async.o: In function `__strspn_c2':
/usr/include/bits/string2.h:1060: multiple definition of `__strspn_c2'
net.o:/usr/include/bits/string2.h:1060: first defined here
async.o: In function `__strspn_c3':
/usr/include/bits/string2.h:1072: multiple definition of `__strspn_c3'
net.o:/usr/include/bits/string2.h:1072: first defined here
async.o: In function `__strpbrk_c2':
/usr/include/bits/string2.h:1127: multiple definition of `__strpbrk_c2'
net.o:/usr/include/bits/string2.h:1127: first defined here
async.o: In function `__strpbrk_c3':
/usr/include/bits/string2.h:1137: multiple definition of `__strpbrk_c3'
net.o:/usr/include/bits/string2.h:1137: first defined here
async.o: In function `__strtok_r_1c':
/usr/include/bits/string2.h:1178: multiple definition of `__strtok_r_1c'
net.o:/usr/include/bits/string2.h:1178: first defined here
async.o: In function `__strsep_2c':
/usr/include/bits/string2.h:1237: multiple definition of `__strsep_2c'
net.o:/usr/include/bits/string2.h:1237: first defined here
async.o: In function `__strsep_3c':
/usr/include/bits/string2.h:1265: multiple definition of `__strsep_3c'
net.o:/usr/include/bits/string2.h:1265: first defined here
async.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:123: multiple definition of `feof_unlocked'
net.o:/usr/include/bits/stdio.h:123: first defined here
async.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of `ferror_unlocked'
net.o:/usr/include/bits/stdio.h:130: first defined here
async.o: In function `tolower':
/usr/include/ctype.h:192: multiple definition of `tolower'
hiredis.o:/usr/include/ctype.h:192: first defined here
async.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:104: multiple definition of `putchar_unlocked'
net.o:/usr/include/bits/stdio.h:104: first defined here
async.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:97: multiple definition of `putc_unlocked'
net.o:/usr/include/bits/stdio.h:97: first defined here
async.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:87: multiple definition of `fputc_unlocked'
net.o:/usr/include/bits/stdio.h:87: first defined here
async.o: In function `putchar':
/usr/include/bits/stdio.h:78: multiple definition of `putchar'
net.o:/usr/include/bits/stdio.h:78: first defined here
async.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:69: multiple definition of `getchar_unlocked'
net.o:/usr/include/bits/stdio.h:69: first defined here
async.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:62: multiple definition of `getc_unlocked'
net.o:/usr/include/bits/stdio.h:62: first defined here
async.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:52: multiple definition of `fgetc_unlocked'
net.o:/usr/include/bits/stdio.h:52: first defined here
async.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
net.o:/usr/include/bits/stdio.h:43: first defined here
async.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
net.o:/usr/include/bits/stdio.h:36: first defined here
async.o: In function `toupper':
/usr/include/ctype.h:198: multiple definition of `toupper'
hiredis.o:/usr/include/ctype.h:198: first defined here
async.o: In function `__strsep_1c':
/usr/include/bits/string2.h:1226: multiple definition of `__strsep_1c'
net.o:/usr/include/bits/string2.h:1226: first defined here
async.o: In function `strtoull':
/usr/include/stdlib.h:390: multiple definition of `strtoull'
net.o:/usr/include/stdlib.h:390: first defined here
async.o: In function `strtouq':
/usr/include/stdlib.h:374: multiple definition of `strtouq'
net.o:/usr/include/stdlib.h:374: first defined here
async.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `strtoll'
net.o:/usr/include/stdlib.h:384: first defined here
async.o: In function `strtoq':
/usr/include/stdlib.h:368: multiple definition of `strtoq'
net.o:/usr/include/stdlib.h:368: first defined here
async.o: In function `strtold':
/usr/include/stdlib.h:357: multiple definition of `strtold'
net.o:/usr/include/stdlib.h:357: first defined here
async.o: In function `strtof':
/usr/include/stdlib.h:351: multiple definition of `strtof'
net.o:/usr/include/stdlib.h:351: first defined here
async.o: In function `strtoul':
/usr/include/stdlib.h:342: multiple definition of `strtoul'
net.o:/usr/include/stdlib.h:342: first defined here
async.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `strtol'
net.o:/usr/include/stdlib.h:336: first defined here
async.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `strtod'
net.o:/usr/include/stdlib.h:330: first defined here
async.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `atoll'
net.o:/usr/include/stdlib.h:384: first defined here
async.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `atof'
net.o:/usr/include/stdlib.h:330: first defined here
async.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `atol'
net.o:/usr/include/stdlib.h:336: first defined here
async.o: In function `atoi':
/usr/include/stdlib.h:403: multiple definition of `atoi'
net.o:/usr/include/stdlib.h:403: first defined here
read.o: In function `__strcspn_c1':
/usr/include/bits/string2.h:974: multiple definition of `__strcspn_c1'
net.o:/usr/include/bits/string2.h:974: first defined here
read.o: In function `__strcspn_c2':
/usr/include/bits/string2.h:985: multiple definition of `__strcspn_c2'
net.o:/usr/include/bits/string2.h:985: first defined here
read.o: In function `__strcspn_c3':
/usr/include/bits/string2.h:998: multiple definition of `__strcspn_c3'
net.o:/usr/include/bits/string2.h:998: first defined here
read.o: In function `__strspn_c1':
/usr/include/bits/string2.h:1051: multiple definition of `__strspn_c1'
net.o:/usr/include/bits/string2.h:1051: first defined here
read.o: In function `__strspn_c2':
/usr/include/bits/string2.h:1060: multiple definition of `__strspn_c2'
net.o:/usr/include/bits/string2.h:1060: first defined here
read.o: In function `__strspn_c3':
/usr/include/bits/string2.h:1072: multiple definition of `__strspn_c3'
net.o:/usr/include/bits/string2.h:1072: first defined here
read.o: In function `__strpbrk_c2':
/usr/include/bits/string2.h:1127: multiple definition of `__strpbrk_c2'
net.o:/usr/include/bits/string2.h:1127: first defined here
read.o: In function `__strpbrk_c3':
/usr/include/bits/string2.h:1137: multiple definition of `__strpbrk_c3'
net.o:/usr/include/bits/string2.h:1137: first defined here
read.o: In function `__strtok_r_1c':
/usr/include/bits/string2.h:1178: multiple definition of `__strtok_r_1c'
net.o:/usr/include/bits/string2.h:1178: first defined here
read.o: In function `__strsep_2c':
/usr/include/bits/string2.h:1237: multiple definition of `__strsep_2c'
net.o:/usr/include/bits/string2.h:1237: first defined here
read.o: In function `__strsep_3c':
/usr/include/bits/string2.h:1265: multiple definition of `__strsep_3c'
net.o:/usr/include/bits/string2.h:1265: first defined here
read.o: In function `gnu_dev_major':
/usr/include/sys/sysmacros.h:43: multiple definition of `gnu_dev_major'
net.o:/usr/include/sys/sysmacros.h:43: first defined here
read.o: In function `gnu_dev_minor':
/usr/include/sys/sysmacros.h:49: multiple definition of `gnu_dev_minor'
net.o:/usr/include/sys/sysmacros.h:49: first defined here
read.o: In function `gnu_dev_makedev':
/usr/include/sys/sysmacros.h:55: multiple definition of `gnu_dev_makedev'
net.o:/usr/include/sys/sysmacros.h:55: first defined here
read.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:123: multiple definition of `feof_unlocked'
net.o:/usr/include/bits/stdio.h:123: first defined here
read.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:130: multiple definition of `ferror_unlocked'
net.o:/usr/include/bits/stdio.h:130: first defined here
read.o: In function `putchar_unlocked':
/usr/include/bits/stdio.h:104: multiple definition of `putchar_unlocked'
net.o:/usr/include/bits/stdio.h:104: first defined here
read.o: In function `putc_unlocked':
/usr/include/bits/stdio.h:97: multiple definition of `putc_unlocked'
net.o:/usr/include/bits/stdio.h:97: first defined here
read.o: In function `fputc_unlocked':
/usr/include/bits/stdio.h:87: multiple definition of `fputc_unlocked'
net.o:/usr/include/bits/stdio.h:87: first defined here
read.o: In function `putchar':
/usr/include/bits/stdio.h:78: multiple definition of `putchar'
net.o:/usr/include/bits/stdio.h:78: first defined here
read.o: In function `getchar_unlocked':
/usr/include/bits/stdio.h:69: multiple definition of `getchar_unlocked'
net.o:/usr/include/bits/stdio.h:69: first defined here
read.o: In function `getc_unlocked':
/usr/include/bits/stdio.h:62: multiple definition of `getc_unlocked'
net.o:/usr/include/bits/stdio.h:62: first defined here
read.o: In function `fgetc_unlocked':
/usr/include/bits/stdio.h:52: multiple definition of `fgetc_unlocked'
net.o:/usr/include/bits/stdio.h:52: first defined here
read.o: In function `getchar':
/usr/include/bits/stdio.h:43: multiple definition of `getchar'
net.o:/usr/include/bits/stdio.h:43: first defined here
read.o: In function `vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
net.o:/usr/include/bits/stdio.h:36: first defined here
read.o: In function `toupper':
/usr/include/ctype.h:198: multiple definition of `toupper'
hiredis.o:/usr/include/ctype.h:198: first defined here
read.o: In function `tolower':
/usr/include/ctype.h:192: multiple definition of `tolower'
hiredis.o:/usr/include/ctype.h:192: first defined here
read.o: In function `strtoull':
/usr/include/stdlib.h:390: multiple definition of `strtoull'
net.o:/usr/include/stdlib.h:390: first defined here
read.o: In function `strtouq':
/usr/include/stdlib.h:374: multiple definition of `strtouq'
net.o:/usr/include/stdlib.h:374: first defined here
read.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `strtoll'
net.o:/usr/include/stdlib.h:384: first defined here
read.o: In function `strtoq':
/usr/include/stdlib.h:368: multiple definition of `strtoq'
net.o:/usr/include/stdlib.h:368: first defined here
read.o: In function `strtold':
/usr/include/stdlib.h:357: multiple definition of `strtold'
net.o:/usr/include/stdlib.h:357: first defined here
read.o: In function `strtof':
/usr/include/stdlib.h:351: multiple definition of `strtof'
net.o:/usr/include/stdlib.h:351: first defined here
read.o: In function `strtoul':
/usr/include/stdlib.h:342: multiple definition of `strtoul'
net.o:/usr/include/stdlib.h:342: first defined here
read.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `strtol'
net.o:/usr/include/stdlib.h:336: first defined here
read.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `strtod'
net.o:/usr/include/stdlib.h:330: first defined here
read.o: In function `__strsep_1c':
/usr/include/bits/string2.h:1226: multiple definition of `__strsep_1c'
net.o:/usr/include/bits/string2.h:1226: first defined here
read.o: In function `strtoll':
/usr/include/stdlib.h:384: multiple definition of `atoll'
net.o:/usr/include/stdlib.h:384: first defined here
read.o: In function `strtod':
/usr/include/stdlib.h:330: multiple definition of `atof'
net.o:/usr/include/stdlib.h:330: first defined here
read.o: In function `strtol':
/usr/include/stdlib.h:336: multiple definition of `atol'
net.o:/usr/include/stdlib.h:336: first defined here
read.o: In function `atoi':
/usr/include/stdlib.h:403: multiple definition of `atoi'
net.o:/usr/include/stdlib.h:403: first defined here

加载中
返回顶部
顶部