Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion release 1.3 compilation problem
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kwangmoon999@googlemail.c om  
View profile  
 More options Apr 22 2009, 1:05 pm
From: "kwangmoon...@googlemail.com" <kwangmoon...@googlemail.com>
Date: Wed, 22 Apr 2009 10:05:05 -0700 (PDT)
Local: Wed, Apr 22 2009 1:05 pm
Subject: release 1.3 compilation problem
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.