Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [apache-talk] mod_accel via freebsd 5.x AMD64
On Fri, 3 Jun 2005, dennis kolobnev wrote:
> ? ???? ? ???????? ???? ????????????? ???? ??????? ?mod_accel ?? opteron'e ???
> freebsd 5.x ?? ?????? ?? ?????????, ???????? ? ???????:
>
> cc -c -I/usr/local/include -I../../os/unix -I../../include
> ?-DHARD_SERVER_LIMIT=512 ?-DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
> ?-DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\"
> ?-DACCEPT_FILTER_NAME=\"httpready\" -DFD_SETSIZE=1024 -funsigned-char
> -DMOD_SSL=208122 -DMOD_ACCEL -DMOD_ACCEL_API -DMOD_ACCEL_CACHEMGR -DEAPI
> -DEAPI_MM -DUSE_EXPAT -I../../lib/expat-lite -O -pipe -march=opteron -DNO_IDEA
> `../../apaci` -fPIC -DSHARED_MODULE ap_ext_accel.c && mv ap_ext_accel.o
> ap_ext_accel.lo
> ap_ext_accel.c: In function `ap_set_integer_slot':
> ap_ext_accel.c:11: warning: cast to pointer from integer of different size
> ap_ext_accel.c: In function `ap_set_kilobytes_slot':
> ap_ext_accel.c:25: warning: cast to pointer from integer of different size
> rm -f libaccel.so
> gcc -shared -o libaccel.so mod_accel.lo accel_cachemgr.lo ?accel_backend.o
> accel_cache.lo accel_gc.lo ?accel_lock.lo accel_http.lo accel_connect.lo
> accel_util.lo ?ap_other_child.lo ap_ext_accel.lo
> /usr/bin/ld: accel_backend.o: relocation R_X86_64_32 can not be used when
> making a shared object; recompile with -fPIC
> accel_backend.o: could not read symbols: Bad value
> *** Error code 1
Ÿ?? ????.
????? ??????
http://sysoev.ru
--- src/mod_accel/Makefile.tmpl 28 Mar 2002 21:29:30 -0000 1.3
+++ src/mod_accel/Makefile.tmpl 3 Jun 2005 06:20:48 -0000
@@ -9,7 +9,7 @@
OBJS_PIC= mod_accel.lo accel_cachemgr.lo - accel_backend.o accel_cache.lo accel_gc.lo + accel_backend.lo accel_cache.lo accel_gc.lo accel_lock.lo accel_http.lo accel_connect.lo accel_util.lo ap_other_child.lo ap_ext_accel.lo
|