[evlog-dev] evlog compiling error on linux

"Tong Liu" <[email protected]> Sun, 28 Jan 2007 11:39:36 -0800
Newsgroups gmane.linux.kernel.event-logging
Message-ID <[email protected]>
--===============0268978778==
Content-Type: multipart/alternative; 
	boundary="----=_Part_189286_612828.1170013176041"

------=_Part_189286_612828.1170013176041
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I am trying to compile evlog-1.6.1 from source code tar ball on Rehhat
enterprise linux 4 (64bit) on intel x86_64 server.
However I got many errors:


syslogatArray.c: In function `main':
syslogatArray.c:73: warning: initialization makes integer from pointer
without a cast
syslogatArray.c:73: error: initializer element is not computable at load
time
syslogatArray.c:73: error: (near initialization for `___.pos.function[0]')
syslogatArray.c:87: warning: initialization makes integer from pointer
without a cast
syslogatArray.c:87: error: initializer element is not computable at load
time
syslogatArray.c:87: error: (near initialization for `___.pos.function[0]')
syslogatArray.c:101: warning: initialization makes integer from pointer
without a cast
syslogatArray.c:101: error: initializer element is not computable at load
time
syslogatArray.c:101: error: (near initialization for `___.pos.function[0]')
syslogatArray.c:108: warning: initialization makes integer from pointer
without a cast
syslogatArray.c:108: error: initializer element is not computable at load
time
syslogatArray.c:108: error: (near initialization for `___.pos.function[0]')
....

I am wondering does that mean I can't compile evlog on 64bit Linux OS?
What should change to enable it?

If I just go ahead to use existing i386 rpm for 64bit OS,  syslog forward
function won't work.
Any suggestion from the experts will be appreicated!

Thanks.

EF

------=_Part_189286_612828.1170013176041
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Hello,</div>
<div>&nbsp;</div>
<div>I am trying to compile evlog-1.6.1 from source code tar ball on Rehhat enterprise linux 4 (64bit) on intel x86_64 server.</div>
<div>However I got many errors:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>syslogatArray.c: In function `main&#39;:<br>syslogatArray.c:73: warning: initialization makes integer from pointer without a cast<br>syslogatArray.c:73: error: initializer element is not computable at load time<br>syslogatArray.c
:73: error: (near initialization for `___.pos.function[0]&#39;)<br>syslogatArray.c:87: warning: initialization makes integer from pointer without a cast<br>syslogatArray.c:87: error: initializer element is not computable at load time
<br>syslogatArray.c:87: error: (near initialization for `___.pos.function[0]&#39;)<br>syslogatArray.c:101: warning: initialization makes integer from pointer without a cast<br>syslogatArray.c:101: error: initializer element is not computable at load time
<br>syslogatArray.c:101: error: (near initialization for `___.pos.function[0]&#39;)<br>syslogatArray.c:108: warning: initialization makes integer from pointer without a cast<br>syslogatArray.c:108: error: initializer element is not computable at load time
<br>syslogatArray.c:108: error: (near initialization for `___.pos.function[0]&#39;)<br>....</div>
<div>&nbsp;</div>
<div>I am wondering does that mean I can&#39;t compile evlog on 64bit Linux OS?</div>
<div>What should change to enable it? </div>
<div>&nbsp;</div>
<div>If I just go ahead to use existing i386 rpm for 64bit OS,&nbsp; syslog forward function won&#39;t work.</div>
<div>Any suggestion from the experts will be appreicated!</div>
<div>&nbsp;</div>
<div>Thanks.</div>
<div>&nbsp;</div>
<div>EF</div>

------=_Part_189286_612828.1170013176041--


--===============0268978778==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--===============0268978778==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
evlog-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/evlog-developers

--===============0268978778==--