After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 608122 - build vinagre-vnc-tunnel.c fail under Solaris
build vinagre-vnc-tunnel.c fail under Solaris
Status: RESOLVED FIXED
Product: vinagre
Classification: Applications
Component: VNC
git master
Other Solaris
: Normal major
: ---
Assigned To: vinagre-maint
vinagre-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-26 03:50 UTC by Halton Huo
Modified: 2010-01-27 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add <sys/socket.h> (569 bytes, patch)
2010-01-26 04:06 UTC, Halton Huo
committed Details | Review

Description Halton Huo 2010-01-26 03:50:21 UTC
I'm building vinagre master and 2.29.6 code with sun cc, both get following error:

$ make
[...]
 /opt/SunStudioExpress/bin/cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/gtk-vnc-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -g -c vinagre-vnc-tunnel.c  -KPIC -DPIC -o .libs/vinagre-vnc-tunnel.o
"vinagre-vnc-tunnel.c", line 39: undefined symbol: AF_INET6
"vinagre-vnc-tunnel.c", line 42: warning: implicit function declaration: socket
"vinagre-vnc-tunnel.c", line 42: undefined symbol: SOCK_STREAM
"vinagre-vnc-tunnel.c", line 49: warning: implicit function declaration: bind
cc: acomp failed for vinagre-vnc-tunnel.c
Comment 1 Halton Huo 2010-01-26 04:06:18 UTC
Created attachment 152285 [details] [review]
Add <sys/socket.h>
Comment 2 Jonh Wendell 2010-01-26 11:55:03 UTC
Review of attachment 152285 [details] [review]:

Go ahead. Thanks!
Comment 3 Halton Huo 2010-01-27 02:13:17 UTC
Committed into master 75f148788e1cc3bd29fa86e66bc51fd83d5a5b36