<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>irc on head /dev/log</title>
    <link>https://www.lamy.im/tags/irc/</link>
    <description>Recent content in irc on head /dev/log</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 15 Nov 2016 20:48:39 +0000</lastBuildDate><atom:link href="https://www.lamy.im/tags/irc/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>eggdrop sur ubuntu xenial 16.04 LTS</title>
      <link>https://www.lamy.im/posts/eggdrop-sur-ubuntu-xenial-16-04-lts/</link>
      <pubDate>Tue, 15 Nov 2016 20:48:39 +0000</pubDate>
      
      <guid>https://www.lamy.im/posts/eggdrop-sur-ubuntu-xenial-16-04-lts/</guid>
      <description>Pour compiler eggdrop 1.6.21 (oui ça existe encore) sur ubuntu 16.04 LTS, il faut bien évidemment installer TCL et ses header pour la compilation. Dans mon cas j’ai installé les paquets tcl8.6 et tcl8.6-dev
Mais en plus de préciser leur chemin, il faut passer un CFLAG particulier à GCC pour passer l’étape du link sans encombre.
CFLAGS=&amp;#34;-std=gnu89&amp;#34; ./configure --with-tcllib=&amp;#39;/usr/lib/x86_64-linux-gnu/libtcl8.6.so&amp;#39; --with-tclinc=&amp;#39;/usr/include/tcl8.6/tcl.h&amp;#39; make config make make install source sur le eggwiki
Pour référence l’erreur est ci dessous :</description>
      <content>&lt;p&gt;Pour compiler eggdrop 1.6.21 (oui ça existe encore) sur ubuntu 16.04 LTS, il faut bien évidemment installer TCL et ses header pour la compilation. Dans mon cas j’ai installé les paquets tcl8.6 et tcl8.6-dev&lt;br&gt;
Mais en plus de préciser leur chemin, il faut passer un CFLAG particulier à GCC pour passer l’étape du link sans encombre.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;CFLAGS=&amp;#34;-std=gnu89&amp;#34; ./configure --with-tcllib=&amp;#39;/usr/lib/x86_64-linux-gnu/libtcl8.6.so&amp;#39; --with-tclinc=&amp;#39;/usr/include/tcl8.6/tcl.h&amp;#39;
make config
make
make install
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;source sur le &lt;a href=&#34;http://eggwiki.org/Inline&#34;&gt;eggwiki&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pour référence l’erreur est ci dessous :&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;gcc -g -O2 -pipe -Wall -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c strftime.c
In file included from ../../src/main.h:112:0,
from strftime.c:26:
../../src/tclhash.h:78:13: warning: inline function ‘garbage_collect_tclhash’ declared but never defined
inline void garbage_collect_tclhash(void);
In file included from ../../src/main.h:107:0,
from strftime.c:26:
../../src/proto.h:274:12: warning: inline function ‘open_listen’ declared but never defined
inline int open_listen(int *);
make[2]: Leaving directory &amp;#39;/home/kasimir/eggdrop1.6.21/src/compat&amp;#39;

---------- Yeah! That&amp;#39;s the compiling, now the linking! ----------

Linking eggdrop (standard build).

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 -L/usr/lib/x86\_64-linux-gnu -ltcl8.6 -lm -ldl -lnsl -lpthread md5/md5c.o compat/\*.o `cat mod/mod.xlibs`  
main.o: In function `garbage_collect&amp;#39;:  
/home/kasimir/eggdrop1.6.21/src/./main.c:710: undefined reference to `garbage_collect_tclhash&amp;#39;  
modules.o:(.data+0x2a0): undefined reference to `open_listen&amp;#39;  
tcldcc.o: In function `tcl_listen&amp;#39;:  
/home/kasimir/eggdrop1.6.21/src/tcldcc.c:942: undefined reference to `open_listen&amp;#39;  
collect2: error: ld returned 1 exit status  
Makefile:37: recipe for target &amp;#39;../eggdrop&amp;#39; failed  
make\[1\]: \*\*\* \[../eggdrop\] Error 1  
make\[1\]: Leaving directory &amp;#39;/home/kasimir/eggdrop1.6.21/src&amp;#39;  
Makefile:202: recipe for target &amp;#39;modegg&amp;#39; failed  
make: \*\*\* \[modegg\] Error 2
&lt;/code&gt;&lt;/pre&gt;</content>
    </item>
    
  </channel>
</rss>
