Bugs: Compile on Mac OS X 10.9.2

Thomas Sader thommey at gmail.com
Fri Apr 18 11:16:58 CST 2014


Hey,

that's a known issue, which is yet to be fixed in our development versions.
The issue is the different default behaviour of the 'inline' keyword in gcc
and clang, see [1] for details.
The solution is to use 'CFLAGS="-std=gnu98" ./configure' when configuring
eggdrop, which makes clang behave as Eggdrop expects it (gnu inline). Might
need 'make distclean' before that to start over completely.

[1] http://www.greenend.org.uk/rjk/tech/inline.html

Regards,
thommey


2014-04-04 13:58 GMT+02:00 Jeff Stokes <jeffs3809 at gmail.com>:

> make is giving me this...
>
> Linking eggdrop (static version).
>
>
> gcc -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 mod/*.o -L/usr/lib -ltcl8.5 -lm -ldl  -lpthread
> md5/md5c.o compat/*.o `cat mod/mod.xlibs`
>
> Undefined symbols for architecture x86_64:
>
>   "_cron_matchfld", referenced from:
>
>       _cron_match in match.o
>
>   "_garbage_collect_tclhash", referenced from:
>
>       _mainloop in main.o
>
>   "_open_listen", referenced from:
>
>       _global_table in modules.o
>
>       _tcl_listen in tcldcc.o
>
> ld: symbol(s) not found for architecture x86_64
>
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> make[1]: *** [../eggdrop] Error 1
>
> make: *** [static] Error 2
>


More information about the Bugs mailing list