[FreeNX-kNX] 'nxcomp compile on HPUX 11.11
Alexander, Mark
mark.alexander at eds.com
Thu Nov 10 03:52:40 UTC 2005
Hello
I'm trying to compile nxcomp (and the other components of NX) on HPUX
11.11. If someone has already done this, and is happy to share their
binaries - that would be great.
My current issue is the below: rindex in not being define - I think.
Can someone please help.
Regards
Mark.
HLZ1HXO7 (hxo7)> gmake distclean
rm -f *~ *.o *.bak st?????? core core.* *.out.* \
libXcomp.so.1.5.0 libXcomp.so.1 libXcomp.so libXcomp.a
rm -f config.status config.log config.cache depend.status Makefile tags
HLZ1HXO7 (hxo7)> gcc -v
Using built-in specs.
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure
Thread model: single
gcc version 4.0.2
HLZ1HXO7 (hxo7)> ./configure
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether compiler needs -Wno-deprecated... no
checking whether compiler accepts -Wmissing-declarations and
-Wnested-externs... yes
checking for a BSD-compatible install... /opt/imake/bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/lib/X11R4, headers
/usr/local/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... no
checking for remove in -lposix... no
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for Cygwin32 environment... no
checking for Darwin environment... no
checking for Solaris environment... no
checking for FreeBSD environment... no
checking for in_addr_t... yes
-e compiling version 1.5.0
-e enabling dynamic linking of PNG library
-e enabling dynamic linking of JPEG library
-e enabling dynamic linking of Z library
-e disabling production of debug symbols
-e disabling info output in the log file
-e disabling valgrind memory checker workarounds
configure: creating ./config.status
config.status: creating Makefile
HLZ1HXO7 (hxo7)>
HLZ1HXO7 (hxo7)> gmake
if [ -x makedepend ] ; then \
makedepend \
-I/usr/include/g++ -I/usr/include/g++-3 -f
Makefile MD5.c Pack.c Loop.cpp Children.cpp Control.cpp Misc.cpp
Socket.cpp Pipe.cpp Transport.cpp Statistics.cpp Auth.cpp Agent.cpp
Proxy.cpp Channel.cpp ClientProxy.cpp ServerProxy.cpp OpcodeStore.cpp
ClientStore.cpp ServerStore.cpp ChannelCache.cpp ClientCache.cpp
ServerCache.cpp ClientChannel.cpp ServerChannel.cpp GenericChannel.cpp
ReadBuffer.cpp ProxyReadBuffer.cpp ClientReadBuffer.cpp
ServerReadBuffer.cpp GenericReadBuffer.cpp EncodeBuffer.cpp
DecodeBuffer.cpp WriteBuffer.cpp SequenceQueue.cpp IntCache.cpp
CharCache.cpp XidCache.cpp PositionCache.cpp TextCompressor.cpp
BlockCache.cpp BlockCacheSet.cpp Compressor.cpp Decompressor.cpp
Unpack.cpp Tight.cpp Jpeg.cpp Png.cpp Message.cpp Split.cpp Keeper.cpp
ChangeProperty.cpp SendEvent.cpp ChangeGC.cpp CreateGC.cpp
CreatePixmap.cpp SetClipRectangles.cpp CopyArea.cpp PolyLine.cpp
PolySegment.cpp PolyFillRectangle.cpp PutImage.cpp TranslateCoords.cpp
GetImage.cpp ClearArea.cpp ConfigureWindow.cpp PolyText8.cpp
PolyText16.cpp ImageText8.cpp ImageText16.cpp PolyPoint.cpp
PolyFillArc.cpp PolyArc.cpp FillPoly.cpp InternAtom.cpp GetProperty.cpp
SetUnpackGeometry.cpp SetUnpackColormap.cpp SetUnpackAlpha.cpp
PutPackedImage.cpp ShapeExtension.cpp RenderExtension.cpp
GenericRequest.cpp QueryFontReply.cpp ListFontsReply.cpp
GetImageReply.cpp GetPropertyReply.cpp GenericReply.cpp
RenderGenericRequest.cpp RenderCreatePicture.cpp RenderChangePicture.cpp
RenderFreePicture.cpp RenderSetPictureClipRectangles.cpp
RenderCreateGlyphSet.cpp RenderAddGlyphs.cpp RenderComposite.cpp
RenderCompositeGlyphs.cpp RenderFillRectangles.cpp 2>/dev/null; \
fi
touch depend.status
g++ -c -O3 -Wmissing-declarations -Wnested-externs -DIN_ADDR_T=in_addr_t
-DVERSION=\"1.5.0\" -I/usr/local/X11R6/include -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -Wall -Wpointer-arith Loop.cpp
cc1plus: warning: command line option "-Wmissing-declarations" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for
C/ObjC but not for C++
In file included from
/usr/local/include/c++/4.0.2/backward/fstream.h:31,
from Loop.cpp:32:
/usr/local/include/c++/4.0.2/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <iostream> instead of
the deprecated header <iostream.h>. To disable this warning use
-Wno-deprecated.
Message.h:1098: warning: 'class MinorMessageStore' has virtual functions
but non-virtual destructor
Loop.cpp: In function 'int SetupDisplaySocket(int&, sockaddr*&, unsigned
int&)':
Loop.cpp:4055: error: 'rindex' was not declared in this scope
Loop.cpp: In function 'int WaitForRemote(int)':
Loop.cpp:6198: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:6198: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
Loop.cpp: In function 'int ParseEnvironmentOptions(const char*, int)':
Loop.cpp:7631: error: 'rindex' was not declared in this scope
Loop.cpp: In function 'int ParsePackOption(const char*)':
Loop.cpp:10142: error: 'rindex' was not declared in this scope
Loop.cpp:10171: error: 'rindex' was not declared in this scope
Loop.cpp:10200: error: 'rindex' was not declared in this scope
Loop.cpp: In function 'int ParseHostOption(const char*, char*, int&)':
Loop.cpp:12859: error: 'rindex' was not declared in this scope
Loop.cpp: In function 'void handleAcceptTcpConnectionInLoop(int&)':
Loop.cpp:16096: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:16096: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
Loop.cpp: In function 'void handleAcceptUnixConnectionInLoop(int&)':
Loop.cpp:16138: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:16138: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
Loop.cpp: In function 'void handleAcceptCupsConnectionInLoop(int&)':
Loop.cpp:16185: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:16185: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
Loop.cpp: In function 'void handleAcceptKeybdConnectionInLoop(int&)':
Loop.cpp:16226: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:16226: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
Loop.cpp: In function 'void handleAcceptSambaConnectionInLoop(int&)':
Loop.cpp:16275: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:16275: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
Loop.cpp: In function 'void handleAcceptMediaConnectionInLoop(int&)':
Loop.cpp:16316: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:16316: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
Loop.cpp: In function 'void handleAcceptHttpConnectionInLoop(int&)':
Loop.cpp:16357: error: invalid conversion from 'int*' to 'socklen_t*'
Loop.cpp:16357: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
gmake: *** [Loop.o] Error 1
HLZ1HXO7 (hxo7)> pwd
/tmp/nx/nxcomp
HLZ1HXO7 (hxo7)>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20051110/4556e2ea/attachment.html>
More information about the FreeNX-kNX
mailing list