Hi, I'm trying to compile release 1.3 under Solaris 10 and having problems. Wondering if I'm missing something?
Details: OS: Solaris 10 Sparc Libevent: tried with 1.4.7, 1.4.8, 1.4.10 Compiler: tried with gcc and cc When executing make (with gcc, libevent 1.4.10), I get the following error: -bash-3.00$ make make all-am make[1]: Entering directory `/export/home/kwang/beanstalkd-1.3' gcc -DHAVE_CONFIG_H -I. -g -O2 -I/opt/SP/apps/common/ libevent-1.4.10-stable/include -c -o beanstalkd.o beanstalkd.c gcc -DHAVE_CONFIG_H -I. -g -O2 -I/opt/SP/apps/common/ libevent-1.4.10-stable/include -c -o binlog.o binlog.c binlog.c: In function `add_binlog': binlog.c:224: warning: return makes pointer from integer without a cast binlog.c: In function `binlog_open': binlog.c:238: error: `PATH_MAX' undeclared (first use in this function) binlog.c:238: error: (Each undeclared identifier is reported only once binlog.c:238: error: for each function it appears in.) binlog.c: In function `binlog_read': binlog.c:350: error: `PATH_MAX' undeclared (first use in this function) binlog.c: In function `binlog_lock': binlog.c:389: error: `PATH_MAX' undeclared (first use in this function) make[1]: *** [binlog.o] Error 1 make[1]: Leaving directory `/export/home/kwang/beanstalkd-1.3' make: *** [all] Error 2 When executing make (with cc, libevent 1.4.7 and 1.4.10), I get the following error: -bash-3.0.0# make make all-am make[1]: Entering directory `/export/home/km901198/beanstalkd-1.3' cc -DHAVE_CONFIG_H -I. -g -I/opt/SP/apps/common/libevent-1.4.7- stable/include -c -o beanstalkd.o beanstalkd.c "beanstalkd.c", line 51: warning: argument mismatch "beanstalkd.c", line 111: warning: argument mismatch "beanstalkd.c", line 114: warning: argument mismatch "beanstalkd.c", line 118: warning: argument mismatch "beanstalkd.c", line 122: warning: argument mismatch "beanstalkd.c", line 142: warning: argument mismatch "beanstalkd.c", line 147: warning: argument mismatch "beanstalkd.c", line 274: warning: argument mismatch "beanstalkd.c", line 283: warning: implicit function declaration: binlog_init "beanstalkd.c", line 288: warning: argument mismatch cc -DHAVE_CONFIG_H -I. -g -I/opt/SP/apps/common/libevent-1.4.7- stable/include -c -o binlog.o binlog.c "binlog.c", line 104: void function cannot return value "binlog.c", line 131: warning: argument mismatch "binlog.c", line 131: void function cannot return value "binlog.c", line 133: void function cannot return value "binlog.c", line 138: void function cannot return value "binlog.c", line 144: warning: argument mismatch "binlog.c", line 144: void function cannot return value "binlog.c", line 147: void function cannot return value "binlog.c", line 153: warning: argument mismatch "binlog.c", line 153: void function cannot return value "binlog.c", line 155: void function cannot return value "binlog.c", line 178: warning: argument mismatch "binlog.c", line 178: void function cannot return value "binlog.c", line 184: void function cannot return value "binlog.c", line 224: warning: argument mismatch "binlog.c", line 224: warning: improper pointer/integer combination: op "=" "binlog.c", line 238: undefined symbol: PATH_MAX "binlog.c", line 258: warning: argument mismatch "binlog.c", line 313: void function cannot return value "binlog.c", line 325: warning: argument mismatch "binlog.c", line 350: undefined symbol: PATH_MAX "binlog.c", line 356: void function cannot return value "binlog.c", line 367: void function cannot return value "binlog.c", line 389: undefined symbol: PATH_MAX "binlog.c", line 395: warning: argument mismatch "binlog.c", line 402: warning: argument mismatch cc: acomp failed for binlog.c make[1]: *** [binlog.o] Error 2 make[1]: Leaving directory `/export/home/km901198/beanstalkd-1.3' make: *** [all] Error 2 Any help/pointers would be most appreciative. Cheers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en -~----------~----~----~----~------~----~------~--~---
