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 171304 - Build fails on Solaris 9
Build fails on Solaris 9
Status: RESOLVED FIXED
Product: esound
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Esound Maintainers
Esound Maintainers
: 303804 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-23 01:09 UTC by William Jon McCann
Modified: 2005-05-25 23:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.61 KB, patch)
2005-03-23 01:29 UTC, William Jon McCann
none Details | Review

Description William Jon McCann 2005-03-23 01:09:38 UTC
Build fails using jhbuild from HEAD on Solaris 9:

/bin/bash ./libtool --tag=CC --mode=link gcc  -g -O2    -o esdcat  esdcat.o
libesd.la -L/home/mccannwj/local/gnome/sun4u/lib -laudiofile -lm -lrt -lresolv
-lsocket
gcc -g -O2 -o .libs/esdcat esdcat.o  ./.libs/libesd.so
-L/home/mccannwj/local/gnome/sun4u/lib
/home/mccannwj/local/gnome/sun4u/lib/libaudiofile.so -lm -lrt -lresolv -lsocket
-Wl,--rpath -Wl,/home/mccannwj/local/gnome/sun4u/lib
./.libs/libesd.so: undefined reference to `SUN_LEN'
collect2: ld returned 1 exit status
Comment 1 William Jon McCann 2005-03-23 01:29:21 UTC
Created attachment 39107 [details] [review]
patch

Look ok to commit?
Comment 2 David Schleef 2005-03-23 01:37:21 UTC
That line has been around for a *long* time.  Are you sure something isn't
messed up on your system, or broken in the build?
Comment 3 William Jon McCann 2005-03-23 01:46:22 UTC
What line are you referring to?
Comment 4 David Schleef 2005-03-23 02:38:38 UTC
Oops, sorry.  Line 250:

1.42         (raster   08-Apr-99):   socket_unix.sun_family = AF_UNIX;
1.54         (utx      28-Nov-00):   strncpy(socket_unix.sun_path,
ESD_UNIX_SOCKET_NAME, sizeof(socket_unix.sun_path));
1.42         (raster   08-Apr-99):   if ( connect( socket_out,
--> 1.45         (timur    28-Jun-99):             (struct sockaddr *)
&socket_unix, SUN_LEN(&socket_unix) ) < 0 )
1.54         (utx      28-Nov-00):     return -1;
1.42         (raster   08-Apr-99):   return socket_out;
1.42         (raster   08-Apr-99): }
Comment 5 David Schleef 2005-03-23 02:38:54 UTC
Of esd.c
Comment 6 David Schleef 2005-05-11 18:49:41 UTC
*** Bug 303804 has been marked as a duplicate of this bug. ***
Comment 7 Kjartan Maraas 2005-05-23 21:18:35 UTC
William, please respond to David's question?
Comment 8 William Jon McCann 2005-05-23 21:27:32 UTC
I don't have much to add.  I don't normally make builds on Solaris and I can't
be sure my setup isn't wrong.
Comment 9 Damien Carbery 2005-05-24 09:49:05 UTC
I have the same issue on Solaris 10 (I build on it nightly). I don't believe
there is something wrong with my setup. My patch, in bug 303804, only put
references to SUN_LEN inside #ifdef/#endif (which should happen too) rather than
#define the function.
Comment 10 David Schleef 2005-05-25 23:29:38 UTC
Applied.