Menu

#82 Get the error when compile SS5

v1.0 (example)
open
None
5
2016-08-03
2016-08-03
a1558204459
No

gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -c -o SS5Debug.o SS5Debug.c
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -c -o SS5GSSApi.o SS5GSSApi.c
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -c -o SS5Modules.o SS5Modules.c
In file included from SS5Modules.c:20:0:
../include/SS5Server.h:35:3: warning: inline function ‘S5ChildClose’ declared but never defined
S5ChildClose( int exitcode,
^
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -o ss5 SS5Main.o SS5Core.o SS5Server.o SS5Utils.o SS5Thread.o SS5Debug.o SS5GSSApi.o SS5Modules.o ../common/SS5OpenLdap.o ../common/SS5Radius.o ../common/SS5MySql.o -lpthread -rdynamic -ldl -lssl -lldap -lpam -lpam_misc -lcrypto
SS5Main.o: In function main': /root/tmp/ss5-3.8.9/src/SS5Main.c:339: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Main.c:346: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Main.c:323: undefined reference toS5ChildClose'
SS5Core.o: In function S5Core': /root/tmp/ss5-3.8.9/src/SS5Core.c:175: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Core.c:419: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:623: undefined reference toS5DebugUpstreamInfo'
/root/tmp/ss5-3.8.9/src/SS5Core.c:1458: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:419: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Core.c:158: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:160: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Core.c:167: undefined reference to S5ChildClose' SS5Core.o:/root/tmp/ss5-3.8.9/src/SS5Core.c:165: more undefined references toS5ChildClose' follow
SS5Core.o: In function S5Core': /root/tmp/ss5-3.8.9/src/SS5Core.c:759: undefined reference toS5DebugUpstreamInfo'
/root/tmp/ss5-3.8.9/src/SS5Core.c:792: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:816: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Core.c:317: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:839: undefined reference toS5DebugUdpRequestInfo'
/root/tmp/ss5-3.8.9/src/SS5Core.c:842: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:843: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Core.c:866: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:397: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Core.c:465: undefined reference to S5DebugFacilities' /root/tmp/ss5-3.8.9/src/SS5Core.c:504: undefined reference toS5ChildClose'
/root/tmp/ss5-3.8.9/src/SS5Core.c:1206: undefined reference to S5ChildClose' /root/tmp/ss5-3.8.9/src/SS5Core.c:985: undefined reference toS5ChildClose'
collect2: error: ld returned 1 exit status
Makefile:32: recipe for target 'ss5' failed
make[1]: [ss5] Error 1
make[1]: Leaving directory '/root/tmp/ss5-3.8.9/src'
Makefile:31: recipe for target 'src' failed
make:
[src] Error 2

Discussion


Log in to post a comment.