pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43145: net/vncviewer does not compile under linux



>Number:         43145
>Category:       pkg
>Synopsis:       net/vncviewer does not compile under linux
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 09 21:30:00 +0000 2010
>Originator:     Stefan
>Release:        Linux
>Organization:
>Environment:
>Description:
net/vncviewer does not compile under linux (slackware 13.0. gcc-4.3.3)


g++ -I/usr/current/include  -I.. -DVNC_SOCKLEN_T=socklen_t -Wno-error -O2 
-march=pentium4 -I/usr/current/include -O2 -march=pentium4 -Wall -c 
TcpSocket.cxx
TcpSocket.cxx: In static member function 'static network::TcpFilter::Pattern 
network::TcpFilter::parsePattern(const char*)':
TcpSocket.cxx:421: error: 'atoi' was not declared in this scope
*** Error code 1

Stop.
bmake: stopped in 
/tmp/current/net/vncviewer/work/vnc-4_1_2-unixsrc/common/network
*** Error code 1


me:> atoi is declared in stdlib.h and needs to be included.



g++ -I/usr/current/include  -I../../common -Wno-error -O2 -march=pentium4 
-I/usr/current/include -O2 -march=pentium4 -Wall -c TXImage.cxx
TXImage.cxx: In member function 'void TXImage::createXImage()':
TXImage.cxx:247: error: 'malloc' was not declared in this scope
TXImage.cxx:250: error: 'exit' was not declared in this scope
*** Error code 1

me:> malloc (and exit?) is declared in stdlib.h and needs to be included.


g++ -I/usr/current/include  -I../../common -I.. -I../tx -I../vncconfig 
-Wno-error -O2 -march=pentium4 -I/usr/current/include -O2 -march=pentium4 -Wall 
-c Image.cxx
Image.cxx: In constructor 'Image::Image(Display*, int, int)':
Image.cxx:66: error: 'malloc' was not declared in this scope
Image.cxx:69: error: 'exit' was not declared in this scope
*** Error code 1

me:> dto

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index