[Live-devel] invalid conversion from `int*' to `socklen_t*'
Chad Schrock
chad at radix.net
Mon Dec 15 19:04:30 PST 2003
Hi,
First of all, let me just get this out there... I'm a C++ dolt. I
couldn't tell you the difference between a template and a cast if
they came up and smacked me on the head.
That being said, I'm trying to build live.2003.11.25 on my
Solaris 9/sparc system with g++. Unfortunately, I'm getting this
error:
HTTPSink.cpp: In member function `virtual Boolean HTTPSink::continuePlaying()':
HTTPSink.cpp:110: error: invalid conversion from `int*' to `socklen_t*'
gmake[1]: *** [HTTPSink.o] Error 1
gmake[1]: Leaving directory `/export/hobbes/scratch/build/live/liveMedia'
gmake: *** [liveMedia/libliveMedia.a] Error 2
The command that gets that error (hacked for readability):
g++ -mtune=ultrasparc -mv8 -c -Iinclude -I../UsageEnvironment/include \
-I../groupsock/include -I. -O -DSOLARIS -Wall -Wno-deprecated \
HTTPSink.cpp
I did some digging in the old list archives and saw that someone
had added "SOCKLEN_T = int" to one of the Mac config files to
port to that platform. I tried that and re-ran the genMakefiles
script but still had the same problems.
Any other suggestions or ideas?
Thanks,
chad
Other, small, details:
hobbes:/scratch/build/live.220 > g++ --version
g++ (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
hobbes:/scratch/build/live.221 > uname -a
SunOS hobbes 5.9 Generic_112233-08 sun4u sparc SUNW,Sun-Blade-100
--
chad at radix dot net
More information about the live-devel
mailing list