BSDG33KCLUB

eggdrop error while compiling on freebsd 10

Mar 13th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.29 KB | None | 0 0
  1. โ””โ”€โ”€ ~/eggdrop1.6.21 ยปsudo make
  2.  
  3. This may take a while. Go get some runts.
  4.  
  5. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
  6. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c botcmd.c
  7. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c botmsg.c
  8. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c botnet.c
  9. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c chanprog.c
  10. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c cmds.c
  11. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c
  12. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c dccutil.c
  13. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c dns.c
  14. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c flags.c
  15. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c language.c
  16. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c match.c
  17. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H '-DCCFLAGS="cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H "' '-DLDFLAGS="cc"' '-DSTRIPFLAGS="touch"' -c ./main.c
  18. ./main.c:499:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  19. printf(EGG_USAGE);
  20. ^~~~~~~~~
  21. ./lang.h:247:33: note: expanded from macro 'EGG_USAGE'
  22. #define EGG_USAGE get_language(0x700)
  23. ^~~~~~~~~~~~~~~~~~~
  24. ./main.c:1066:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  25. printf(MOD_NOCRYPT);
  26. ^~~~~~~~~~~
  27. ./lang.h:395:33: note: expanded from macro 'MOD_NOCRYPT'
  28. #define MOD_NOCRYPT get_language(0x20d)
  29. ^~~~~~~~~~~~~~~~~~~
  30. ./main.c:694:13: warning: unused function 'patch' [-Wunused-function]
  31. static void patch(const char *str)
  32. ^
  33. In file included from ./main.c:34:
  34. In file included from ./main.h:112:
  35. ./tclhash.h:78:13: warning: inline function 'garbage_collect_tclhash' is not defined [-Wundefined-inline]
  36. inline void garbage_collect_tclhash(void);
  37. ^
  38. ./main.c:710:5: note: used here
  39. garbage_collect_tclhash();
  40. ^
  41. 4 warnings generated.
  42. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c mem.c
  43. mem.c:372:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
  44. i = i;
  45. ~ ^ ~
  46. mem.c:402:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign]
  47. i = i;
  48. ~ ^ ~
  49. 2 warnings generated.
  50. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc.c
  51. misc.c:604:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  52. fprintf(logs[i].f, stamp);
  53. ^~~~~
  54. 1 warning generated.
  55. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc_file.c
  56. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c modules.c
  57. In file included from modules.c:29:
  58. In file included from ./main.h:107:
  59. ./proto.h:274:12: warning: inline function 'open_listen' is not defined [-Wundefined-inline]
  60. inline int open_listen(int *);
  61. ^
  62. modules.c:304:14: note: used here
  63. (Function) open_listen,
  64. ^
  65. 1 warning generated.
  66. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c net.c
  67. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c rfc1459.c
  68. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c tcl.c
  69. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c tcldcc.c
  70. In file included from tcldcc.c:26:
  71. In file included from ./main.h:107:
  72. ./proto.h:274:12: warning: inline function 'open_listen' is not defined [-Wundefined-inline]
  73. inline int open_listen(int *);
  74. ^
  75. tcldcc.c:942:11: note: used here
  76. i = open_listen(&port);
  77. ^
  78. 1 warning generated.
  79. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c tclhash.c
  80. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c tclmisc.c
  81. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c tcluser.c
  82. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c userent.c
  83. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c userrec.c
  84. cc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H -c users.c
  85. cc -g -O2 -pipe -Wall -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c md5c.c
  86. md5c.c:270:28: warning: 'memset' call operates on objects of type 'MD5_CTX' while the size is based on a different type 'MD5_CTX *' [-Wsizeof-pointer-memaccess]
  87. egg_memset(ctx, 0, sizeof(ctx));
  88. ~~~ ^~~
  89. md5c.c:270:28: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
  90. egg_memset(ctx, 0, sizeof(ctx));
  91. ^~~
  92. 1 warning generated.
  93. cc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c inet_aton.c
  94. cc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c snprintf.c
  95. cc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c memset.c
  96. cc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c memcpy.c
  97. cc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c strcasecmp.c
  98. cc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c strdup.c
  99. cc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c strftime.c
  100.  
  101. ---------- Yeah! That's the compiling, now the linking! ----------
  102.  
  103. Linking eggdrop (standard build).
  104.  
  105. cc -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o -L/usr/local/lib -ltcl84 -lm -lpthread md5/md5c.o compat/*.o `cat mod/mod.xlibs`
  106. match.o: In function `cron_match':
  107. /usr/home/sysghost/eggdrop1.6.21/src/match.c:436: undefined reference to `cron_matchfld'
  108. /usr/home/sysghost/eggdrop1.6.21/src/match.c:437: undefined reference to `cron_matchfld'
  109. main.o: In function `garbage_collect':
  110. /usr/home/sysghost/eggdrop1.6.21/src/./main.c:710: undefined reference to `garbage_collect_tclhash'
  111. modules.o:(.data+0x380): undefined reference to `open_listen'
  112. tcldcc.o: In function `tcl_listen':
  113. /usr/home/sysghost/eggdrop1.6.21/src/tcldcc.c:942: undefined reference to `open_listen'
  114. cc: error: linker command failed with exit code 1 (use -v to see invocation)
  115. *** Error code 1
  116.  
  117. Stop.
  118. make[1]: stopped in /usr/home/sysghost/eggdrop1.6.21/src
  119. *** Error code 1
  120.  
  121. Stop.
  122. make: stopped in /usr/home/sysghost/eggdrop1.6.21
Add Comment
Please, Sign In to add comment