New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection error (xfreerdp on solaris 11) #571
Comments
The problem is also reproducable on Solaris 10 i386 with Sun Studio 12 compiler. |
I dont have a Solaris machine available. Can you try manually adding '-mt' to CMAKE_C_FLAGS and do a clean build? Thanks. |
atong, I added the line : And it WORKS now! Thanks! Will you submit this patch? |
Ok, sounds like we need the cmake statements to detect solaris & whether gcc ('-threads') or SUNWspro ('-mt') is needed for CMAKE_C_FLAGS. |
Hi. I have been trying to add the line: set(CMAKE_C_FLAGS "-threads" ) or "-threads" as the above-mentioned suggestion in few places in CMakelist.txt, but I still have the same connection problem "recv: Resource temporarily unavailable" . I complied on Solaris 11 and Solaris Sparc 10 with gcc 4.6.3 Compiler-specific flagsif(CMAKE_COMPILER_IS_GNUCC)
endif() Could you please specify where did you add the gcc flag to make it work. Thanks in advance. |
Please re-open or create a new issue if this problem still exists on the current mater branch. |
I just checked out the latest version and compiled it on solaris11
with
-DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_FFMPEG=OFF -DWITH_ALSA=OFF
but when i try to connect to any of our RDP servers i always get:
xfreerdp citrixserver
connected to citrixserver:3389
recv: Resource temporarily unavailable
[1] 18382 exit 131 xfreerdp
With "truss" i see this:
/2: write(1, " c o n n e c t e d t o".., 31) = 31
/2: getsockname(9, 0xFE68EB88, 0xFE68EB98, SOV_DEFAULT) = 0
/2: setsockopt(9, tcp, TCP_NODELAY, 0xFE68EBFC, 4, SOV_DEFAULT) = 0
/2: getsockopt(9, SOL_SOCKET, SO_RCVBUF, 0xFE68EBFC, 0xFE68EBF8, SOV_DEFAULT) = 0
/2: setsockopt(9, SOL_SOCKET, SO_KEEPALIVE, 0xFE68EBA8, 4, SOV_DEFAULT) = 0
/2: send(9, "03\0\0130EE0\0\0\0\0\001".., 19, 0) = 19
/2: recv(9, "03\0\0\v06D0\0\012 4\0", 16384, 0) = 11
/2: fcntl(9, F_GETFL) = 2
/2: fcntl(9, F_SETFL, FWRITE|FNONBLOCK) = 0
/2: brk(0x0813AF48) = 0
/2: brk(0x0813CF48) = 0
/2: brk(0x0813CF48) = 0
/2: brk(0x08140F48) = 0
/2: send(9, "03\001 x02F0807F e8201 l".., 376, 0) = 376
/2: pollsys(0xFE68EA90, 1, 0xFE68EB28, 0x00000000) = 0
/2: recv(9, 0x080BAFD8, 16384, 0) Err#11 EAGAIN
recv/2: write(2, " r e c v", 4) = 4
: /2: write(2, " : ", 2) = 2
Resource temporarily unavailable/2: write(2, " R e s o u r c e t e m".., 32) = 32
So, xfreerdp seem to open the connection , send some data to the RDP server and then the
recv() fails.
Can someone give me a hint?
Is xfreerdp supposed to work on solaris11?
thomas
The text was updated successfully, but these errors were encountered: