Hi,
I want some help regarding running nsis implementation, attached are the
errors which I got when I try make.
root@jawad-laptop:~/nsis-0.6.0# make
make all-recursive
make[1]: Entering directory `/home/jawad/nsis-0.6.0'
Making all in library
make[2]: Entering directory `/home/jawad/nsis-0.6.0/library'
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT Socket.o -MD -MP -MF
.deps/Socket.Tpo -c -o Socket.o `test -f 'socket/Socket.cpp' || echo
'./'`socket/Socket.cpp
socket/Socket.cpp: In member function 'virtual void
Socket::createSocket(int, int, int)':
socket/Socket.cpp:39: warning: deprecated conversion from string constant to
'char*'
socket/Socket.cpp: In member function 'virtual void Socket::sendMsg(char*,
int)':
socket/Socket.cpp:47: warning: deprecated conversion from string constant to
'char*'
socket/Socket.cpp: In member function 'virtual int
Socket::connectv4(unsigned int, short unsigned int)':
socket/Socket.cpp:100: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'virtual int
Socket::connectv6(unsigned char*, short unsigned int)':
socket/Socket.cpp:116: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'virtual int Socket::bindv4(unsigned
int, short unsigned int*, short unsigned int, bool)':
socket/Socket.cpp:139: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp:150: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp:159: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'virtual int Socket::bindv6(unsigned
char*, short unsigned int*, short unsigned int, bool)':
socket/Socket.cpp:183: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp:194: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp:203: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'virtual Socket*
Socket::acceptv4(sockaddr_in*)':
socket/Socket.cpp:219: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'virtual Socket*
Socket::acceptv6(sockaddr_in6*)':
socket/Socket.cpp:239: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'void
Socket::activateIPv4RouterAlertOption()':
socket/Socket.cpp:254: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'void
Socket::activateIPv6RouterAlertOption()':
socket/Socket.cpp:266: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'void
Socket::activateIPv6PktInfoOption()':
socket/Socket.cpp:278: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'void
Socket::activateIPv6DeliverHopOption()':
socket/Socket.cpp:287: warning: deprecated conversion from string constant
to 'char*'
socket/Socket.cpp: In member function 'void Socket::setIpTtlOption(int)':
socket/Socket.cpp:294: warning: deprecated conversion from string constant
to 'char*'
mv -f .deps/Socket.Tpo .deps/Socket.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT SCTPSocket.o -MD -MP -MF
.deps/SCTPSocket.Tpo -c -o SCTPSocket.o `test -f 'socket/SCTPSocket.cpp' ||
echo './'`socket/SCTPSocket.cpp
socket/SCTPSocket.cpp: In member function 'void
SCTPSocket::setPathOptionsv4(unsigned int, int, int)':
socket/SCTPSocket.cpp:123: warning: deprecated conversion from string
constant to 'char*'
socket/SCTPSocket.cpp: In member function 'void
SCTPSocket::setRTOOptions(int, int, int)':
socket/SCTPSocket.cpp:150: warning: deprecated conversion from string
constant to 'char*'
socket/SCTPSocket.cpp: In member function 'int
SCTPSocket::getPeerAddresses(IPaddr**)':
socket/SCTPSocket.cpp:201: warning: deprecated conversion from string
constant to 'char*'
mv -f .deps/SCTPSocket.Tpo .deps/SCTPSocket.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT TCPSocket.o -MD -MP -MF
.deps/TCPSocket.Tpo -c -o TCPSocket.o `test -f 'socket/TCPSocket.cpp' ||
echo './'`socket/TCPSocket.cpp
mv -f .deps/TCPSocket.Tpo .deps/TCPSocket.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT TCPTLSSocket.o -MD -MP -MF
.deps/TCPTLSSocket.Tpo -c -o TCPTLSSocket.o `test -f
'socket/TCPTLSSocket.cpp' || echo './'`socket/TCPTLSSocket.cpp
mv -f .deps/TCPTLSSocket.Tpo .deps/TCPTLSSocket.Po
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT UDPSocket.o -MD -MP -MF
.deps/UDPSocket.Tpo -c -o UDPSocket.o `test -f 'socket/UDPSocket.cpp' ||
echo './'`socket/UDPSocket.cpp
socket/UDPSocket.cpp: In member function 'virtual void
UDPSocket::sendMsg(IPaddr, short unsigned int, char*, int, bool)':
socket/UDPSocket.cpp:72: warning: deprecated conversion from string constant
to 'char*'
socket/UDPSocket.cpp:77: warning: deprecated conversion from string constant
to 'char*'
socket/UDPSocket.cpp:87: warning: deprecated conversion from string constant
to 'char*'
socket/UDPSocket.cpp:110: warning: 'int inet6_option_space(int)' is
deprecated (declared at /usr/include/netinet/in.h:483)
socket/UDPSocket.cpp:110: warning: 'int inet6_option_space(int)' is
deprecated (declared at /usr/include/netinet/in.h:483)
socket/UDPSocket.cpp:110: error: 'malloc' was not declared in this scope
socket/UDPSocket.cpp:111: warning: 'int inet6_option_init(void*, cmsghdr**,
int)' is deprecated (declared at /usr/include/netinet/in.h:485)
socket/UDPSocket.cpp:111: warning: 'int inet6_option_init(void*, cmsghdr**,
int)' is deprecated (declared at /usr/include/netinet/in.h:485)
socket/UDPSocket.cpp:112: warning: 'int inet6_option_append(cmsghdr*, const
uint8_t*, int, int)' is deprecated (declared at
/usr/include/netinet/in.h:488)
socket/UDPSocket.cpp:112: warning: 'int inet6_option_append(cmsghdr*, const
uint8_t*, int, int)' is deprecated (declared at
/usr/include/netinet/in.h:488)
socket/UDPSocket.cpp:127: warning: deprecated conversion from string
constant to 'char*'
make[2]: *** [UDPSocket.o] Error 1
make[2]: Leaving directory `/home/jawad/nsis-0.6.0/library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jawad/nsis-0.6.0'
make: *** [all] Error 2
Can u help in this regard.
--
Regards
Jawad Hussain