[OmniOS-discuss] Trying hard to compile par2cmdline and nzbget

Sebastien Messier seb.messier at gmail.com
Tue Jul 23 00:58:42 UTC 2013


So i'm trying to build stuff for my omnios server and i can't compile
nothing.

This is the error i get when compiling nzbget

*# make*
*/usr/bin/make  all-am*
*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*
*Undefined                       first referenced*
* symbol                             in file*
*wattr_on                            NCursesFrontend.o*
*wattr_off                           NCursesFrontend.o*
*ld: fatal: symbol referencing errors. No output written to nzbget*
*collect2: ld returned 1 exit status*
**** Error code 1*
*make: Fatal error: Command failed for target `nzbget'*
*Current working directory /temp-nzbget/nzbget-11.0*
**** Error code 1*
*make: Fatal error: Command failed for target `all'*


This is the error i get when compiling par2cmdline

*# sudo make*
*make  all-am*
*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; \*
*then mv -f ".deps/reedsolomon.Tpo" ".deps/reedsolomon.Po"; else rm -f
".deps/reedsolomon.Tpo"; exit 1; fi*
*In file included from par2cmdline.h:265:0,*
*                 from reedsolomon.cpp:20:*
*par2fileformat.h:67:20: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash PACKET_HEADER::hash' [enabled by default]*
*par2fileformat.h:68:20: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash PACKET_HEADER::setid' [enabled by default]*
*par2fileformat.h:79:18: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash FILEVERIFICATIONENTRY::hash' [enabled by
default]*
*par2fileformat.h:84:25: warning: ignoring packed attribute because of
unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header'
[enabled by default]*
*par2fileformat.h:86:25: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash FILEVERIFICATIONPACKET::fileid' [enabled by
default]*
*par2fileformat.h:87:33: warning: ignoring packed attribute because of
unpacked non-POD field 'FILEVERIFICATIONENTRY
FILEVERIFICATIONPACKET::entries [0]' [enabled by default]*
*par2fileformat.h:99:20: warning: ignoring packed attribute because of
unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header'
[enabled by default]*
*par2fileformat.h:101:20: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid' [enabled by
default]*
*par2fileformat.h:102:20: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull' [enabled
by default]*
*par2fileformat.h:103:20: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k' [enabled by
default]*
*par2fileformat.h:127:20: warning: ignoring packed attribute because of
unpacked non-POD field 'PACKET_HEADER MAINPACKET::header' [enabled by
default]*
*par2fileformat.h:131:28: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0]' [enabled by default]
*
*par2fileformat.h:141:20: warning: ignoring packed attribute because of
unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header' [enabled by
default]*
*par2fileformat.h:151:20: warning: ignoring packed attribute because of
unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header' [enabled
by default]*
*In file included from par2cmdline.h:284:0,*
*                 from reedsolomon.cpp:20:*
*verificationhashtable.h: In member function 'bool
VerificationHashEntry::operator<(const VerificationHashEntry&) const':*
*verificationhashtable.h:69:52: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]*
*verificationhashtable.h: In member function 'bool
VerificationHashEntry::operator>(const VerificationHashEntry&) const':*
*verificationhashtable.h:73:52: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]*
*verificationhashtable.h: In static member function 'static const
VerificationHashEntry* VerificationHashEntry::Search(const
VerificationHashEntry*, const MD5Hash&)':*
*verificationhashtable.h:186:64: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]*
*verificationhashtable.h:190:69: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]*
*verificationhashtable.h: In member function 'const VerificationHashEntry*
VerificationHashTable::FindMatch(const VerificationHashEntry*, const
Par2RepairerSourceFile*, FileCheckSummer&, bool&) const':*
*verificationhashtable.h:405:126: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]*
*In file included from par2cmdline.h:284:0,*
*                 from reedsolomon.cpp:20:*
*verificationhashtable.h:412:128: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]*
*verificationhashtable.h:429:118: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]*
*In file included from par2cmdline.h:289:0,*
*                 from reedsolomon.cpp:20:*
*par1fileformat.h: At global scope:*
*par1fileformat.h:41:15: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash' [enabled by
default]*
*par1fileformat.h:42:15: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash' [enabled by
default]*
*par1fileformat.h:56:15: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull' [enabled by
default]*
*par1fileformat.h:57:15: warning: ignoring packed attribute because of
unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k' [enabled by default]
*
*reedsolomon.cpp:54:6: error: specializing member 'ReedSolomon<Galois<8u,
285u, unsigned char> >::SetInput' requires 'template<>' syntax*
**** Error code 1*
*make: Fatal error: Command failed for target `reedsolomon.o'*
*Current working directory /tempsab/par2cmdline-0.4*
**** Error code 1*
*make: Fatal error: Command failed for target `all'*

Can you help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130722/610eb686/attachment.html>


More information about the OmniOS-discuss mailing list