rufuscoder / Shakespeer

A Direct Connect Client for Multiple Platforms
GNU General Public License v2.0
28 stars 14 forks source link

sphubd cannot be build on SunOS #180

Open rufuscoder opened 11 years ago

rufuscoder commented 11 years ago

Original author: schneide...@gmail.com (January 30, 2009 00:19:52)

Hey,

as mentioned p.ex. under http://www.mail-archive.com/bug-gnulib@gnu.org/msg01690.html there is a problem when trying to build sphubd on SunOS.

I use Nexenta, which is OpenSolaris-kernel with debian userland. (SunOS 5.11 NexentaOS_20081207 i86pc i386 i86pc Solaris)

What steps will reproduce the problem?

  1. Download shakespeer source
  2. Execute "make"
  3. you get the error-messages in the screenshot

Hope this will be fixed ;) Cheers

Peter

For the search engines: making all in splib make[1]: Entering directory /root/shakespeer-0.9.11/splib' compiling args.c compiling mkpath.c compiling util.c cc1: warnings being treated as errors util.c: In function 'print_command': util.c:142: warning: implicit declaration of function 'vasprintf' util.c: In function 'tilde_expand_path': util.c:181: warning: implicit declaration of function 'asprintf' util.c: In function 'sp_get_pid': util.c:362: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'pid_t *' util.c: In function 'sp_write_pid': util.c:398: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'pid_t' util.c: In function 'split_host_port': util.c:598: error: 'ULONG_MAX' undeclared (first use in this function) util.c:598: error: (Each undeclared identifier is reported only once util.c:598: error: for each function it appears in.) command was: cc -Wp,-MD,.deps/util.d -c -o util.o util.c -I../bzip2-install/include - I../libevent-install/include -I../expat-install/include -g -O3 -Wall -Werror -Wno-strict-aliasing -DVERSION="0.9.11" -DPACKAGE="shakespeer" -I../splib -I../spclient -DMISSING_FGETLN - DCOREDUMPS_ENABLED=1 -DICONV_CONST= make[1]: *** [util.o] Error 1 make[1]: Leaving directory/root/shakespeer-0.9.11/splib' make: *\ [all] Error 1

Original issue: http://code.google.com/p/shakespeer/issues/detail?id=109