Hi, <br>I&#39;m trying to compile the latest trunk version of cpl-c module.<br><br>I used the following commands:<br><br>make<br>make modules=modules/cpl-c modules<br>but I had these errors:<br><br><font size="2"><span style="font-family: courier new,monospace;">
Compiling cpl.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64&nbsp;&nbsp;&nbsp; -DNAME=&#39;&quot;openser&quot;&#39; -DVERSION=&#39;&quot;
1.2.2-notls&quot;&#39; -DARCH=&#39;&quot;i386&quot;&#39; -DOS=&#39;&quot;linux&quot;&#39; -DCOMPILER=&#39;&quot;gcc 4.1.1&quot;&#39; -D__CPU_i386 -D__OS_linux -D__SMP_yes -DCFG_DIR=&#39;&quot;/usr/local/etc/openser/&quot;&#39; -DPKG_MALLOC -DSHM_MEM&nbsp; -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DF_MALLOC&nbsp; -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024&nbsp; -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include&nbsp;&nbsp; -c 
cpl.c -o cpl.o</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:52:24: error: ../../pvar.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">cpl.c:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpl_procs'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:129: warning: excess elements in struct initializer</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:129: warning: (near initialization for 'cmds[0]')</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:131: warning: excess elements in struct initializer</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:131: warning: (near initialization for 'cmds[1]')</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:133: warning: excess elements in struct initializer</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:133: warning: (near initialization for 'cmds[2]')</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:134: warning: excess elements in struct initializer</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:134: warning: (near initialization for 'cmds[3]')</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:183: error: 'cpl_procs' undeclared here (not in a function)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:184: warning: initialization from incompatible pointer type</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:185: warning: initialization from incompatible pointer type
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:186: warning: initialization from incompatible pointer type</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">cpl.c:188: warning: excess elements in struct initializer</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:188: warning: (near initialization for 'exports')
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c: In function 'fixup_cpl_run_script':</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:202: warning: implicit declaration of function 'LM_ERR'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c: In function 'cpl_init':</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">cpl.c:233: error: 'pv_spec_t' undeclared (first use in this function)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:233: error: (Each undeclared identifier is reported only once</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:233: error: for each function it appears in.)
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:233: error: expected ';' before 'avp_spec'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:237: warning: implicit declaration of function 'LM_INFO'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:241: warning: implicit declaration of function 'LM_CRIT'
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:260: warning: implicit declaration of function 'pv_parse_spec'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">cpl.c:260: error: 'avp_spec' undeclared (first use in this function)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
cpl.c:261: error: 'PVT_AVP' undeclared (first use in this function)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:266: warning: implicit declaration of function 'pv_get_avp_name'
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cpl.c:353: warning: implicit declaration of function 'LM_NOTICE'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[1]: *** [cpl.o] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[1]: Leaving directory `/usr/src/openser-
1.2.2-notls/modules/cpl-c&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make: *** [modules] Error 2</span><br style="font-family: courier new,monospace;"></font>
<br clear="all">what&#39;s the problem?<br>regards,<br>daniel<br><br>-- <br>Daniel Grotti<br>________________________<br>e-mail : <a href="mailto:d.grotti@gmail.com">d.grotti@gmail.com</a>