User login

Build problem on FreeBSD 6.2

Forums :

Build log:

======================================================
make all-recursive
Making all in wsf_c
make all-recursive
Making all in axis2c
make all-recursive
Making all in util
make all-recursive
Making all in src
Making all in platforms/unix
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT uuid_gen_unix.lo -MD -MP -MF ".deps/uuid_gen_unix.Tpo" -c -o uuid_gen_unix.lo uuid_gen_unix.c; then mv -f ".deps/uuid_gen_unix.Tpo" ".deps/uuid_gen_unix.Plo"; else rm -f ".deps/uuid_gen_unix.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../include/platforms -I../../../include/platforms/unix -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c uuid_gen_unix.c -fPIC -DPIC -o .libs/uuid_gen_unix.o
uuid_gen_unix.c: In function `axutil_uuid_get_mac_addr':
uuid_gen_unix.c:333: error: `SIOCGARP' undeclared (first use in this function)
uuid_gen_unix.c:333: error: (Each undeclared identifier is reported only once
uuid_gen_unix.c:333: error: for each function it appears in.)
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c/axis2c/util/src/platforms/unix.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c/axis2c/util/src.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c/axis2c/util.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c/axis2c/util.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c/axis2c.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c/axis2c.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0/wsf_c.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0.
*** Error code 1

Stop in /root/wso2-wsf-php-src-1.1.0.
=============================================================

Working this Web Services Framework on FreeBSD?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

patch for freebsd

Hi Vasikby,

I ran into the same problem and came up with the attached patch.

Depending on your setup you may not have to mess around with LD_LIBRARY_PATH and CPATH like I did below, but at this particular System it was the only way to make ld and cpp find all the local libraries.

Transscript:

% unzip -q wso2-wsf-php-src-1.2.1.zip

% patch -s < wso2-wsf-php-1.2.1-freebsd.diff

% cd wso2-wsf-php-src-1.2.1

% export CPATH=/usr/local/include

% export LD_LIBRARY_PATH=/usr/local/lib

% ./configure LDFLAGS="-lcompat"

% make

% sudo make install

Hope this helps,

  bkw

 

AttachmentSize
wso2-wsf-php-1.2.1-freebsd.diff_.txt2.08 KB

patch for freebsd

thx

freebsd build error

does it  work with 1.3.0 version?

 

thanks..

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.