Hi. I want to use haproxy in my web server via load-balancer.

so I was try to build this in my load balancing server, that is good, no
problems.

but my web server use https (ssl)

so load-balancer have to provide this.

download the haproxy-1.5-dev21

and make this.

but... error...

src/shctx.o: In function `atomic_dec':

/root/haproxy-1.5-dev21/src/shctx.c:134: undefined reference to
`__sync_sub_and_fetch_4'

src/shctx.o: In function `cmpxchg':

/root/haproxy-1.5-dev21/src/shctx.c:129: undefined reference to
`__sync_val_compare_and_swap_4'

src/shctx.o: In function `atomic_dec':

/root/haproxy-1.5-dev21/src/shctx.c:134: undefined reference to
`__sync_sub_and_fetch_4'

/root/haproxy-1.5-dev21/src/shctx.c:134: undefined reference to
`__sync_sub_and_fetch_4'

src/shctx.o: In function `cmpxchg':

/root/haproxy-1.5-dev21/src/shctx.c:129: undefined reference to
`__sync_val_compare_and_swap_4'

src/shctx.o: In function `atomic_dec':

/root/haproxy-1.5-dev21/src/shctx.c:134: undefined reference to
`__sync_sub_and_fetch_4'

src/shctx.o: In function `cmpxchg':

/root/haproxy-1.5-dev21/src/shctx.c:129: undefined reference to
`__sync_val_compare_and_swap_4'

collect2: ld returned 1 exit status

make: *** [haproxy] Error 1
...
...

I use this arguments at make

make TARGET=linux26 USE_OPENSSL=1

I was make openssl-1.0.1e

and re try  make TARGET=linux26 USE_OPENSSL=1
ADDINC=-I/tmp/libsslbuild/include ADDLIB="-L/tmp/libsslbuild/lib -ldl"

but same error....

please help me.




 *| Young Hoi, Kim |** Information Security **R&D Center* *|* *Associate
Research Engineer* *|* *PNP SECURE INC.* *| Office 82.2.6309.6500 | Mobile
82.10.6266.4915 | Fax 82.2.6309.6606 | E-mail
**[email protected]*<http://mail2.daum.net/hanmail/mail/[email protected]>

Reply via email to