<div>
                    nzbget:
                </div><div>You are linking against the wrong version of ncurses:</div><div><div>los@Ndnd:% nm /lib/libcurses.so.1| grep wattr_on</div><div><br></div><div>provided by system/library@0.5.11-0.151006</div><div><br></div></div><div>vs</div><div><div>los@Ndnd:% nm /usr/gnu/lib/amd64/libncurses.so.5.9| grep wattr_on</div><div>[644]   |              230520|                  94|FUNC |GLOB |0    |14     |wattr_on</div></div><div><br></div><div>provided by library/ncurses@5.9-0.151006</div><div><br></div><div><br></div><div>Also, what's the deal with those four '-L/usr/lib' at the beginning of the compile line?  Don't forget, you are going to need -L and -R.  See man 1 ld.</div>
                <div><div><br></div><div>-- </div><div>Carlos<br></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Monday, July 22, 2013 at 5:58 PM, Sebastien Messier wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div dir="ltr">So i'm trying to build stuff for my omnios server and i can't compile nothing.<div><br></div><div>This is the error i get when compiling nzbget</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><div><div><i># make</i></div></div></div><div><div><div><i>/usr/bin/make  all-am</i></div></div></div><div><div><div><i>g++  -g -O2  -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib  -o nzbget  ArticleDownloader.o BinRpc.o  ColoredFrontend.o Connection.o  Decoder.o DiskState.o DownloadInfo.o  Frontend.o Log.o LoggableFrontend.o  NCursesFrontend.o NNTPConnection.o  NZBFile.o NewsServer.o Observer.o  Options.o ParChecker.o ParRenamer.o  ParCoordinator.o PrePostProcessor.o  QueueCoordinator.o QueueEditor.o  RemoteClient.o RemoteServer.o  Scanner.o Scheduler.o  ScriptController.o ServerPool.o  svn_version.o TLS.o Thread.o  Util.o XmlRpc.o WebDownloader.o  WebServer.o UrlCoordinator.o Unpack.o  nzbget.o  -lz -lpar2 -lcurses -lresolv -lnsl -lsocket  -lxml2  -lsigc-2.0  -lssl -lcrypto</i></div>
</div></div><div><div><div><i>Undefined                       first referenced</i></div></div></div><div><div><div><i> symbol                             in file</i></div></div></div><div><div><div><i>wattr_on                            NCursesFrontend.o</i></div>
</div></div><div><div><div><i>wattr_off                           NCursesFrontend.o</i></div></div></div><div><div><div><i>ld: fatal: symbol referencing errors. No output written to nzbget</i></div></div></div><div><div><div>
<i>collect2: ld returned 1 exit status</i></div></div></div><div><div><div><i>*** Error code 1</i></div></div></div><div><div><div><i>make: Fatal error: Command failed for target `nzbget'</i></div></div></div><div><div>
<div><i>Current working directory /temp-nzbget/nzbget-11.0</i></div></div></div><div><div><div><i>*** Error code 1</i></div></div></div><div><div><div><i>make: Fatal error: Command failed for target `all'</i></div></div>
</div><div><br></div><div><br></div></blockquote><div>This is the error i get when compiling par2cmdline</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><i># sudo make</i></div>
<div><i>make  all-am</i></div><div><i>if g++ -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -MT reedsolomon.o -MD -MP -MF ".deps/reedsolomon.Tpo" -c -o reedsolomon.o reedsolomon.cpp; \</i></div><div><i>then mv -f ".deps/reedsolomon.Tpo" ".deps/reedsolomon.Po"; else rm -f ".deps/reedsolomon.Tpo"; exit 1; fi</i></div>
<div><i>In file included from par2cmdline.h:265:0,</i></div><div><i>                 from reedsolomon.cpp:20:</i></div><div><i>par2fileformat.h:67:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' [enabled by default]</i></div>
<div><i>par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' [enabled by default]</i></div><div><i>par2fileformat.h:79:18: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' [enabled by default]</i></div>
<div><i>par2fileformat.h:84:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header' [enabled by default]</i></div><div><i>par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' [enabled by default]</i></div>
<div><i>par2fileformat.h:87:33: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries [0]' [enabled by default]</i></div><div><i>par2fileformat.h:99:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header' [enabled by default]</i></div>
<div><i>par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' [enabled by default]</i></div><div><i>par2fileformat.h:102:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' [enabled by default]</i></div>
<div><i>par2fileformat.h:103:20: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' [enabled by default]</i></div><div><i>par2fileformat.h:127:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' [enabled by default]</i></div>
<div><i>par2fileformat.h:131:28: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' [enabled by default]</i></div><div><i>par2fileformat.h:141:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' [enabled by default]</i></div>
<div><i>par2fileformat.h:151:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' [enabled by default]</i></div><div><i>In file included from par2cmdline.h:284:0,</i></div>
<div><i>                 from reedsolomon.cpp:20:</i></div><div><i>verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const':</i></div><div><i>verificationhashtable.h:69:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]</i></div>
<div><i>verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const':</i></div><div><i>verificationhashtable.h:73:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]</i></div>
<div><i>verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)':</i></div><div><i>verificationhashtable.h:186:64: warning: suggest parentheses around '&&' within '||' [-Wparentheses]</i></div>
<div><i>verificationhashtable.h:190:69: warning: suggest parentheses around '&&' within '||' [-Wparentheses]</i></div><div><i>verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const':</i></div>
<div><i>verificationhashtable.h:405:126: warning: suggest parentheses around '&&' within '||' [-Wparentheses]</i></div><div><i>In file included from par2cmdline.h:284:0,</i></div><div><i>                 from reedsolomon.cpp:20:</i></div>
<div><i>verificationhashtable.h:412:128: warning: suggest parentheses around '&&' within '||' [-Wparentheses]</i></div><div><i>verificationhashtable.h:429:118: warning: suggest parentheses around '&&' within '||' [-Wparentheses]</i></div>
<div><i>In file included from par2cmdline.h:289:0,</i></div><div><i>                 from reedsolomon.cpp:20:</i></div><div><i>par1fileformat.h: At global scope:</i></div><div><i>par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' [enabled by default]</i></div>
<div><i>par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' [enabled by default]</i></div><div><i>par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' [enabled by default]</i></div>
<div><i>par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' [enabled by default]</i></div><div><i>reedsolomon.cpp:54:6: error: specializing member 'ReedSolomon<Galois<8u, 285u, unsigned char> >::SetInput' requires 'template<>' syntax</i></div>
<div><i>*** Error code 1</i></div><div><i>make: Fatal error: Command failed for target `reedsolomon.o'</i></div><div><i>Current working directory /tempsab/par2cmdline-0.4</i></div><div><i>*** Error code 1</i></div><div>
<i>make: Fatal error: Command failed for target `all'</i></div></div><div><br></div></blockquote>Can you help me?</div></div>
</div><div><div>_______________________________________________</div><div>OmniOS-discuss mailing list</div><div><a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a></div><div><a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>