[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-discuss
Subject:    Re: [opennms-discuss] OpenNMS Compile Issue - javac cannot resolve
From:       Johan Edstrom <joed () opennms ! org>
Date:       2008-04-28 19:04:46
Message-ID: 5E0DAA8D-58E4-4B93-B302-E463899F3416 () opennms ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Gcc?

Are you using gcj? That would not be 'java'....


On Apr 28, 2008, at 12:34 PM, Me Me wrote:

> Was due to not using GNU tar.... Got a little bit farther this time,  
> then got another weird one. Anyone see this before?
> 
> [cc] ld: fatal: relocations remain against allocatable but  
> non-writable sections
> [cc] collect2: ld returned 1 exit status
> 
> 
> 
> BUILD FAILED
> /usr/local/opennms-1.2.9-1/source/build.xml:1183: gcc failed with  
> return code 1
> 
> 
> 
> 
> 
> From: ciscowhiz@hotmail.com
> To: opennms-discuss@lists.sourceforge.net
> Date: Mon, 28 Apr 2008 10:36:46 -0500
> Subject: [opennms-discuss] OpenNMS Compile Issue - javac cannot  
> resolve	symbol
> 
> I've never run into this before, but I'm not an OpenNMS nor java  
> expert. When I build OpenNMS, I am getting 35 messages like the  
> following. Any thoughts as to what I am doing wrong?
> 
> java.compile:
> [javac] Compiling 1360 source files to /usr/local/ 
> opennms-1.2.9-1/source/work/opennms/classes
> [javac] /usr/local/opennms-1.2.9-1/source/src/services/org/ 
> opennms/netmgt/eventd/adaptors/tcp/TcpEventReceiver.java:70: cannot  
> resolve symbol
> [javac] symbol  : class TcpEventReceiverMBean
> [javac] location: class  
> org.opennms.netmgt.eventd.adaptors.tcp.TcpEventReceiver
> [javac] public final class TcpEventReceiver implements  
> EventReceiver, TcpEventReceiverMBean {
> 
> [javac 
> ]                                                               ^
> [javac] /usr/local/opennms-1.2.9-1/source/src/services/org/ 
> opennms/netmgt/eventd/adaptors/udp/UdpEventReceiver.java:65: cannot  
> resolve symbol
> [javac] symbol  : class UdpEventReceiverMBean
> [javac] location: class  
> org.opennms.netmgt.eventd.adaptors.udp.UdpEventReceiver
> [javac] public final class UdpEventReceiver implements  
> EventReceiver, UdpEventReceiverMBean {
> 
> [javac 
> ]                                                               ^
> .....................
> 
> [javac] symbol  : class ResolvedDateBeforeFilter
> [javac] location: class org.opennms.web.vulnerability.VulnerabilityUtil
> [javac]             filter = new  
> ResolvedDateBeforeFilter(Long.parseLong(value));
> [javac]                          ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 35 errors
> 
> BUILD FAILED
> /usr/local/opennms-1.2.9-1/source/build.xml:1117: Compile failed;  
> see the compiler error output for details.
> 
> 
> 
> 
> Express yourself wherever you are. Mobilize!
> 
> Make i'm yours. Create a custom banner to support your cause.  
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save  
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
>  Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-discuss mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom  
> of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss

Johan Edstrom
joed@opennms.org


[Attachment #5 (text/html)]

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">Gcc?<div><br></div><div>Are you using gcj? \
That would not be 'java'....</div><div><br></div><div><br><div><html>On Apr 28, 2008, \
at 12:34 PM, Me Me wrote:</html><br class="Apple-interchange-newline"><blockquote \
type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: \
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: \
normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; \
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: \
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div \
class="hmmessage" style="font-size: 10pt; font-family: Tahoma; "><div \
style="text-align: left; ">Was due to not using GNU tar.... Got a little bit farther \
this time, then got another weird one. Anyone see this \
before?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [cc] ld: fatal: relocations \
remain against allocatable but non-writable \
sections<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [cc] collect2: ld returned 1 exit \
status<br><br><br><br>BUILD \
FAILED<br>/usr/local/opennms-1.2.9-1/source/build.xml:1183: gcc failed with return \
code 1<br><br><br></div><br><br><br><blockquote><hr id="EC_stopSpelling">From:<span \
class="Apple-converted-space">&nbsp;</span><a \
href="mailto:ciscowhiz@hotmail.com">ciscowhiz@hotmail.com</a><br>To:<span \
class="Apple-converted-space">&nbsp;</span><a \
href="mailto:opennms-discuss@lists.sourceforge.net">opennms-discuss@lists.sourceforge.net</a><br>Date: \
Mon, 28 Apr 2008 10:36:46 -0500<br>Subject: [opennms-discuss] OpenNMS Compile Issue - \
javac cannot resolve	symbol<br><br>I've never run into this before, but I'm not an \
OpenNMS nor java expert. When I build OpenNMS, I am getting 35 messages like the \
following. Any thoughts as to what I am doing \
wrong?<br><br>java.compile:<br>&nbsp;&nbsp;&nbsp; [javac] Compiling 1360 source files \
to /usr/local/opennms-1.2.9-1/source/work/opennms/classes<br>&nbsp;&nbsp;&nbsp; \
[javac] /usr/local/opennms-1.2.9-1/source/src/services/org/opennms/netmgt/eventd/adaptors/tcp/TcpEventReceiver.java:70: \
cannot resolve symbol<br>&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : class \
TcpEventReceiverMBean<br>&nbsp;&nbsp;&nbsp; [javac] location: class \
org.opennms.netmgt.eventd.adaptors.tcp.TcpEventReceiver<br>&nbsp;&nbsp;&nbsp; [javac] \
public final class TcpEventReceiver implements EventReceiver, TcpEventReceiverMBean \
{<br>&nbsp;&nbsp;&nbsp; \
[javac]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb \
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
^<br>&nbsp;&nbsp;&nbsp; [javac] \
/usr/local/opennms-1.2.9-1/source/src/services/org/opennms/netmgt/eventd/adaptors/udp/UdpEventReceiver.java:65: \
cannot resolve symbol<br>&nbsp;&nbsp;&nbsp; [javac] symbol&nbsp; : class \
UdpEventReceiverMBean<br>&nbsp;&nbsp;&nbsp; [javac] location: class \
org.opennms.netmgt.eventd.adaptors.udp.UdpEventReceiver<br>&nbsp;&nbsp;&nbsp; [javac] \
public final class UdpEventReceiver implements EventReceiver, UdpEventReceiverMBean \
{<br>&nbsp;&nbsp;&nbsp; \
[javac]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb \
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
^<br>.....................<br><br>&nbsp;&nbsp; [javac] symbol&nbsp; : class \
ResolvedDateBeforeFilter<br>&nbsp;&nbsp;&nbsp; [javac] location: class org.opennms.<a \
href="http://web.vulnerability.VulnerabilityUtil">web.vulnerability.VulnerabilityUtil</a><br>&nbsp;&nbsp;&nbsp; \
[javac]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
filter = new ResolvedDateBeforeFilter(Long.parseLong(value));<br>&nbsp;&nbsp;&nbsp; \
[javac]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
^<br>&nbsp;&nbsp;&nbsp; [javac] Note: Some input files use or override a deprecated \
API.<br>&nbsp;&nbsp;&nbsp; [javac] Note: Recompile with -deprecation for \
details.<br>&nbsp;&nbsp;&nbsp; [javac] 35 errors<br><br>BUILD \
FAILED<br>/usr/local/opennms-1.2.9-1/source/build.xml:1117: Compile failed; see the \
compiler error output for details.<br><br><br><br><br><hr>Express yourself wherever \
you are.<span class="Apple-converted-space">&nbsp;</span><a \
href="http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL" \
target="_blank">Mobilize!</a></blockquote><br><hr>Make i'm yours.<span \
class="Apple-converted-space">&nbsp;</span><a \
href="http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=TXT_TAGHM_MSN_Make_IM_Yours" \
target="_new">Create a custom banner to support your cause.</a><span \
class="Apple-converted-space">&nbsp;</span>-------------------------------------------------------------------------<br>This \
SF.net email is sponsored by the 2008 JavaOne(SM) Conference<span \
class="Apple-converted-space">&nbsp;</span><br>Don't miss this year's exciting event. \
There's still time to save $100.<span \
class="Apple-converted-space">&nbsp;</span><br>Use priority code J8TL2D2.<span \
class="Apple-converted-space">&nbsp;</span><br><a \
href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone__ \
_____________________________________________">http://ad.doubleclick.net/clk;198757673 \
;13503038;p?http://java.sun.com/javaone_______________________________________________</a><br>Please \
read the OpenNMS Mailing List FAQ:<br><a \
href="http://www.opennms.org/index.php/Mailing_List_FAQ">http://www.opennms.org/index.php/Mailing_List_FAQ</a><br><br>opennms-discuss \
mailing list<br><br>To *unsubscribe* or change your subscription options, see the \
bottom of this page:<br><a \
href="https://lists.sourceforge.net/lists/listinfo/opennms-discuss">https://lists.sour \
ceforge.net/lists/listinfo/opennms-discuss</a></div></span></blockquote></div><br><div \
apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: \
separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: \
normal; font-variant: normal; font-weight: normal; letter-spacing: normal; \
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: \
none; white-space: normal; widows: 2; word-spacing: 0px; \
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: \
space; -webkit-line-break: after-white-space; "><div>Johan Edstrom</div><div><a \
href="mailto:joed@opennms.org">joed@opennms.org</a></div><div><br></div></div></span><br \
class="Apple-interchange-newline"> </div><br></div></body></html>



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic