<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 13-04-11 03:08 PM, Rainer Gerhards
wrote:<br>
</div>
<blockquote
cite="mid:eu9vo35vyay9u6pvr4bq2915.1365707297851@email.android.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<div>
<div>I haven't seen the patch on quick glimpse, but i am
definitely interested in adding it. If I have not done by
Monday, please ping me.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
Hi Rainer,<br>
<br>
Just ping you!<br>
<br>
thanks,<br>
yao<br>
<blockquote
cite="mid:eu9vo35vyay9u6pvr4bq2915.1365707297851@email.android.com"
type="cite">
<div>
<div>
</div>
<div>
<div style="font-size:75%; color:#575757">Sent from phone,
thus brief.</div>
</div>
<br>
<br>
<br>
-------- Ursprüngliche Nachricht --------<br>
Von: Yao Zhao <a class="moz-txt-link-rfc2396E" href="mailto:yao.zhao@windriver.com"><yao.zhao@windriver.com></a> <br>
Datum: 11.04.2013 20:16 (GMT+01:00) <br>
An: David Lang <a class="moz-txt-link-rfc2396E" href="mailto:david@lang.hm"><david@lang.hm></a> <br>
Cc: lognorm <a class="moz-txt-link-rfc2396E" href="mailto:lognorm@lists.adiscon.com"><lognorm@lists.adiscon.com></a> <br>
Betreff: Re: [Lognorm] [libee] parallel make <br>
<br>
<br>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 13-04-11 02:13 PM, David Lang wrote:<br>
> don't do a parallel make, do a normal make (no -j), do
you still have <br>
> the problem?<br>
><br>
No.<br>
<br>
The patch is not acceptable?<br>
<br>
thanks,<br>
yao<br>
> David Lang<br>
><br>
> On Thu, 11 Apr 2013, Yao Zhao wrote:<br>
><br>
>> Date: Thu, 11 Apr 2013 14:06:51 -0400<br>
>> From: Yao Zhao <a class="moz-txt-link-rfc2396E" href="mailto:yao.zhao@windriver.com"><yao.zhao@windriver.com></a><br>
>> To: David Lang <a class="moz-txt-link-rfc2396E" href="mailto:david@lang.hm"><david@lang.hm></a><br>
>> Cc: lognorm <a class="moz-txt-link-rfc2396E" href="mailto:lognorm@lists.adiscon.com"><lognorm@lists.adiscon.com></a><br>
>> Subject: Re: [Lognorm] [libee] parallel make<br>
>><br>
>> On 13-04-11 02:03 PM, David Lang wrote:<br>
>>> do you continue to have the problem if you
don't do a parallel make?<br>
>>><br>
>> I don't have problem without parallel make as I
indicated in original <br>
>> email below.<br>
>>> If I am reading it correctly, you are failing
at the linking stage, <br>
>>> after everything should be compiled. This could
be a error in the <br>
>>> dependancy mapping.<br>
>>><br>
>> Yes, it happens at link as the libee.la is not
ready yet because of <br>
>> parallel making.<br>
>> and that is why I add a
libee_convert_DEPENDENCIES=libee.la<br>
>> I don't quite understand why the automake didn't
get a correct <br>
>> _DEPENDENCIES automatically.<br>
>><br>
>> Do you have a better way?<br>
>><br>
>> yao<br>
>>> David Lang<br>
>>><br>
>>> On Thu, 11 Apr 2013, Yao Zhao wrote:<br>
>>><br>
>>>> Date: Thu, 11 Apr 2013 10:22:51 -0400<br>
>>>> From: Yao Zhao
<a class="moz-txt-link-rfc2396E" href="mailto:yao.zhao@windriver.com"><yao.zhao@windriver.com></a><br>
>>>> Reply-To: lognorm
<a class="moz-txt-link-rfc2396E" href="mailto:lognorm@lists.adiscon.com"><lognorm@lists.adiscon.com></a><br>
>>>> To: <a class="moz-txt-link-abbreviated" href="mailto:lognorm@lists.adiscon.com">lognorm@lists.adiscon.com</a>, Yao Zhao
<a class="moz-txt-link-rfc2396E" href="mailto:yao.zhao@windriver.com"><yao.zhao@windriver.com></a><br>
>>>> Subject: [Lognorm] [libee] parallel make<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> I got problem with libee's parallel making:<br>
>>>><br>
>>>> yzhao2@yzhao2-OptiPlex-990:~/src/libee$
./configure <br>
>>>> --libdir=/usr/local/lib
--includedir=/home/yzhao2/src/include <br>
>>>> LIBESTR_CFLAGS=-I/home/yzhao2/src/include <br>
>>>> LIBESTR_LIBS='-L/usr/local/lib -lestr'<br>
>>>> checking for a BSD-compatible install...
/usr/bin/install -c<br>
>>>> checking whether build environment is
sane... yes<br>
>>>> checking for a thread-safe mkdir -p...
/bin/mkdir -p<br>
>>>> checking for gawk... gawk<br>
>>>> checking whether make sets $(MAKE)... yes<br>
>>>> checking whether make supports nested
variables... yes<br>
>>>> checking for gcc... gcc<br>
>>>> checking whether the C compiler works...
yes<br>
>>>> checking for C compiler default output file
name... a.out<br>
>>>> checking for suffix of executables...<br>
>>>> checking whether we are cross compiling...
no<br>
>>>> checking for suffix of object files... o<br>
>>>> checking whether we are using the GNU C
compiler... yes<br>
>>>> checking whether gcc accepts -g... yes<br>
>>>> checking for gcc option to accept ISO
C89... none needed<br>
>>>> checking for style of include used by
make... GNU<br>
>>>> checking dependency style of gcc... gcc3<br>
>>>> checking whether gcc and cc understand -c
and -o together... yes<br>
>>>> checking build system type...
x86_64-unknown-linux-gnu<br>
>>>> checking host system type...
x86_64-unknown-linux-gnu<br>
>>>> checking how to print strings... printf<br>
>>>> checking for a sed that does not truncate
output... /bin/sed<br>
>>>> checking for grep that handles long lines
and -e... /bin/grep<br>
>>>> checking for egrep... /bin/grep -E<br>
>>>> checking for fgrep... /bin/grep -F<br>
>>>> checking for ld used by gcc... /usr/bin/ld<br>
>>>> checking if the linker (/usr/bin/ld) is GNU
ld... yes<br>
>>>> checking for BSD- or MS-compatible name
lister (nm)... /usr/bin/nm -B<br>
>>>> checking the name lister (/usr/bin/nm -B)
interface... BSD nm<br>
>>>> checking whether ln -s works... yes<br>
>>>> checking the maximum length of command line
arguments... 1572864<br>
>>>> checking whether the shell understands some
XSI constructs... yes<br>
>>>> checking whether the shell understands
"+="... yes<br>
>>>> checking how to convert
x86_64-unknown-linux-gnu file names to <br>
>>>> x86_64-unknown-linux-gnu format...
func_convert_file_noop<br>
>>>> checking how to convert
x86_64-unknown-linux-gnu file names to <br>
>>>> toolchain format... func_convert_file_noop<br>
>>>> checking for /usr/bin/ld option to reload
object files... -r<br>
>>>> checking for objdump... objdump<br>
>>>> checking how to recognize dependent
libraries... pass_all<br>
>>>> checking for dlltool... no<br>
>>>> checking how to associate runtime and link
libraries... printf %s\n<br>
>>>> checking for ar... ar<br>
>>>> checking for archiver @FILE support... @<br>
>>>> checking for strip... strip<br>
>>>> checking for ranlib... ranlib<br>
>>>> checking command to parse /usr/bin/nm -B
output from gcc object... ok<br>
>>>> checking for sysroot... no<br>
>>>> checking for mt... mt<br>
>>>> checking if mt is a manifest tool... no<br>
>>>> checking how to run the C preprocessor...
gcc -E<br>
>>>> checking for ANSI C header files... yes<br>
>>>> checking for sys/types.h... yes<br>
>>>> checking for sys/stat.h... yes<br>
>>>> checking for stdlib.h... yes<br>
>>>> checking for string.h... yes<br>
>>>> checking for memory.h... yes<br>
>>>> checking for strings.h... yes<br>
>>>> checking for inttypes.h... yes<br>
>>>> checking for stdint.h... yes<br>
>>>> checking for unistd.h... yes<br>
>>>> checking for dlfcn.h... yes<br>
>>>> checking for objdir... .libs<br>
>>>> checking if gcc supports -fno-rtti
-fno-exceptions... no<br>
>>>> checking for gcc option to produce PIC...
-fPIC -DPIC<br>
>>>> checking if gcc PIC flag -fPIC -DPIC
works... yes<br>
>>>> checking if gcc static flag -static
works... yes<br>
>>>> checking if gcc supports -c -o file.o...
yes<br>
>>>> checking if gcc supports -c -o file.o...
(cached) yes<br>
>>>> checking whether the gcc linker
(/usr/bin/ld -m elf_x86_64) <br>
>>>> supports shared libraries... yes<br>
>>>> checking whether -lc should be explicitly
linked in... no<br>
>>>> checking dynamic linker characteristics...
GNU/Linux ld.so<br>
>>>> checking how to hardcode library paths into
programs... immediate<br>
>>>> checking whether stripping libraries is
possible... yes<br>
>>>> checking if libtool supports shared
libraries... yes<br>
>>>> checking whether to build shared
libraries... yes<br>
>>>> checking whether to build static
libraries... yes<br>
>>>> checking for library containing pow... -lm<br>
>>>> checking for stdlib.h... (cached) yes<br>
>>>> checking for GNU libc compatible malloc...
yes<br>
>>>> checking for pkg-config...
/usr/bin/pkg-config<br>
>>>> checking pkg-config is at least version
0.9.0... yes<br>
>>>> checking for LIBESTR... yes<br>
>>>> configure: creating ./config.status<br>
>>>> config.status: creating Makefile<br>
>>>> config.status: creating libee.pc<br>
>>>> config.status: creating src/Makefile<br>
>>>> config.status: creating include/Makefile<br>
>>>> config.status: creating
include/libee/Makefile<br>
>>>> config.status: creating tests/Makefile<br>
>>>> config.status: creating config.h<br>
>>>> config.status: executing depfiles commands<br>
>>>> config.status: executing libtool commands<br>
>>>>
*****************************************************<br>
>>>> libee will be compiled with the following
settings:<br>
>>>><br>
>>>> Debug mode enabled: no<br>
>>>> Testbench enabled: yes<br>
>>>> yzhao2@yzhao2-OptiPlex-990:~/src/libee$
make -j 6<br>
>>>> make all-recursive<br>
>>>> make[1]: Entering directory
`/home/yzhao2/src/libee'<br>
>>>> Making all in tests<br>
>>>> make[2]: Entering directory
`/home/yzhao2/src/libee/tests'<br>
>>>> make[2]: Nothing to be done for `all'.<br>
>>>> make[2]: Leaving directory
`/home/yzhao2/src/libee/tests'<br>
>>>> Making all in include<br>
>>>> make[2]: Entering directory
`/home/yzhao2/src/libee/include'<br>
>>>> Making all in libee<br>
>>>> make[3]: Entering directory
`/home/yzhao2/src/libee/include/libee'<br>
>>>> make[3]: Nothing to be done for `all'.<br>
>>>> make[3]: Leaving directory
`/home/yzhao2/src/libee/include/libee'<br>
>>>> make[3]: Entering directory
`/home/yzhao2/src/libee/include'<br>
>>>> make[3]: Nothing to be done for `all-am'.<br>
>>>> make[3]: Leaving directory
`/home/yzhao2/src/libee/include'<br>
>>>> make[2]: Leaving directory
`/home/yzhao2/src/libee/include'<br>
>>>> Making all in src<br>
>>>> make[2]: Entering directory
`/home/yzhao2/src/libee/src'<br>
>>>> CC libee_la-cjson.lo<br>
>>>> CC libee_la-ctx.lo<br>
>>>> CC libee_la-tag.lo<br>
>>>> CC libee_la-event.lo<br>
>>>> CC libee_la-value.lo<br>
>>>> CC libee_la-json_event.lo<br>
>>>> value.c: In function 'ee_newValue':<br>
>>>> value.c:37:20: warning: unused parameter
'ctx' [-Wunused-parameter]<br>
>>>> CC libee_la-tagbucket.lo<br>
>>>> CC libee_la-field.lo<br>
>>>> CC libee_la-fieldbucket.lo<br>
>>>> CC libee_la-primitivetype.lo<br>
>>>> CC libee_la-int_dec.lo<br>
>>>> primitivetype.c: In function
'ee_parseRFC5424Date':<br>
>>>> primitivetype.c:136:7: warning: variable
'OffsetMode' set but not <br>
>>>> used [-Wunused-but-set-variable]<br>
>>>> primitivetype.c:135:6: warning: variable
'secfracPrecision' set but <br>
>>>> not used [-Wunused-but-set-variable]<br>
>>>> primitivetype.c:134:6: warning: variable
'secfrac' set but not used <br>
>>>> [-Wunused-but-set-variable]<br>
>>>> primitivetype.c:128:6: warning: variable
'year' set but not used <br>
>>>> [-Wunused-but-set-variable]<br>
>>>> primitivetype.c: In function
'ee_parseRFC3164Date':<br>
>>>> primitivetype.c:261:6: warning: variable
'month' set but not used <br>
>>>> [-Wunused-but-set-variable]<br>
>>>> primitivetype.c: In function
'ee_parseNumber':<br>
>>>> primitivetype.c:497:12: warning: variable
'n' set but not used <br>
>>>> [-Wunused-but-set-variable]<br>
>>>> CC libee_la-json_dec.lo<br>
>>>> CC libee_la-apache_dec.lo<br>
>>>> CC libee_la-syslog_enc.lo<br>
>>>> CC libee_la-json_enc.lo<br>
>>>> apache_dec.c: In function 'ee_newApache':<br>
>>>> apache_dec.c:37:21: warning: unused
parameter 'ctx' <br>
>>>> [-Wunused-parameter]<br>
>>>> apache_dec.c: In function
'ee_apacheAddName':<br>
>>>> apache_dec.c:71:25: warning: unused
parameter 'ctx' <br>
>>>> [-Wunused-parameter]<br>
>>>> apache_dec.c: In function 'processLn':<br>
>>>> apache_dec.c:205:19: warning: unused
variable 'value' <br>
>>>> [-Wunused-variable]<br>
>>>> apache_dec.c: In function 'ee_apacheDec':<br>
>>>> apache_dec.c:212:3: warning: 'r' may be
used uninitialized in this <br>
>>>> function [-Wuninitialized]<br>
>>>> apache_dec.c:143:6: note: 'r' was declared
here<br>
>>>> CC libee_la-csv_enc.lo<br>
>>>> csv_enc.c: In function 'ee_AddName':<br>
>>>> csv_enc.c:66:19: warning: unused parameter
'ctx' [-Wunused-parameter]<br>
>>>> CC libee_la-xml_enc.lo<br>
>>>> CC libee_convert-convert.o<br>
>>>> xml_enc.c: In function 'ee_addValue_XML':<br>
>>>> xml_enc.c:60:6: warning: unused variable
'j' [-Wunused-variable]<br>
>>>> xml_enc.c:59:7: warning: unused variable
'numbuf' [-Wunused-variable]<br>
>>>> xml_enc.c: At top level:<br>
>>>> xml_enc.c:40:13: warning: 'hexdigit'
defined but not used <br>
>>>> [-Wunused-variable]<br>
>>>> CCLD libee-convert<br>
>>>> libtool: link: cannot find the library
`../src/libee.la' or <br>
>>>> unhandled argument `../src/libee.la'<br>
>>>> make[2]: *** [libee-convert] Error 1<br>
>>>> make[2]: *** Waiting for unfinished
jobs....<br>
>>>> make[2]: Leaving directory
`/home/yzhao2/src/libee/src'<br>
>>>> make[1]: *** [all-recursive] Error 1<br>
>>>> make[1]: Leaving directory
`/home/yzhao2/src/libee'<br>
>>>> make: *** [all] Error 2<br>
>>>> yzhao2@yzhao2-OptiPlex-990:~/src/libee$
make<br>
>>>> make all-recursive<br>
>>>> make[1]: Entering directory
`/home/yzhao2/src/libee'<br>
>>>> Making all in tests<br>
>>>> make[2]: Entering directory
`/home/yzhao2/src/libee/tests'<br>
>>>> make[2]: Nothing to be done for `all'.<br>
>>>> make[2]: Leaving directory
`/home/yzhao2/src/libee/tests'<br>
>>>> Making all in include<br>
>>>> make[2]: Entering directory
`/home/yzhao2/src/libee/include'<br>
>>>> Making all in libee<br>
>>>> make[3]: Entering directory
`/home/yzhao2/src/libee/include/libee'<br>
>>>> make[3]: Nothing to be done for `all'.<br>
>>>> make[3]: Leaving directory
`/home/yzhao2/src/libee/include/libee'<br>
>>>> make[3]: Entering directory
`/home/yzhao2/src/libee/include'<br>
>>>> make[3]: Nothing to be done for `all-am'.<br>
>>>> make[3]: Leaving directory
`/home/yzhao2/src/libee/include'<br>
>>>> make[2]: Leaving directory
`/home/yzhao2/src/libee/include'<br>
>>>> Making all in src<br>
>>>> make[2]: Entering directory
`/home/yzhao2/src/libee/src'<br>
>>>> CCLD libee.la<br>
>>>> CCLD libee-convert<br>
>>>> make[2]: Leaving directory
`/home/yzhao2/src/libee/src'<br>
>>>> make[2]: Entering directory
`/home/yzhao2/src/libee'<br>
>>>> make[2]: Leaving directory
`/home/yzhao2/src/libee'<br>
>>>> make[1]: Leaving directory
`/home/yzhao2/src/libee'<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> reading src/Makefile generated:<br>
>>>> am__DEPENDENCIES_1 =<br>
>>>> libee_la_DEPENDENCIES =
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)<br>
>>>> ...<br>
>>>> libee_convert_OBJECTS =
$(am_libee_convert_OBJECTS)<br>
>>>> libee_convert_DEPENDENCIES =
$(am__DEPENDENCIES_1) \<br>
>>>> $(am__DEPENDENCIES_1)
$(am__DEPENDENCIES_1)<br>
>>>><br>
>>>> so libee_convert_DEPENDENCIES is empty, not
sure why _DEPENDENCIES <br>
>>>> are not<br>
>>>> generated from its LDADD<br>
>>>><br>
>>>> but add a<br>
>>>> libee_convert_DEPENDENCIES= libee.la in
src/Makefile.am fixed it.<br>
>>>><br>
>>>> not all automake supports the
EXTRA_...DEPDENDENCIES so didn't <br>
>>>> change it.<br>
>>>><br>
>>>> yao<br>
>>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>><br>
>>> Lognorm mailing list<br>
>>><br>
>>> <a class="moz-txt-link-abbreviated" href="mailto:Lognorm@lists.adiscon.com">Lognorm@lists.adiscon.com</a><br>
>>><br>
>>> <a moz-do-not-send="true"
href="http://lists.adiscon.net/mailman/listinfo/lognorm">http://lists.adiscon.net/mailman/listinfo/lognorm</a><br>
>>><br>
>><br>
>><br>
<br>
_______________________________________________<br>
Lognorm mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Lognorm@lists.adiscon.com">Lognorm@lists.adiscon.com</a><br>
<a moz-do-not-send="true"
href="http://lists.adiscon.net/mailman/listinfo/lognorm">http://lists.adiscon.net/mailman/listinfo/lognorm</a><br>
</div>
</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Lognorm mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lognorm@lists.adiscon.com">Lognorm@lists.adiscon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.adiscon.net/mailman/listinfo/lognorm">http://lists.adiscon.net/mailman/listinfo/lognorm</a>
</pre>
</blockquote>
<br>
</body>
</html>