Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

   


   


   

















      :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[apache-talk] mod_accel via freebsd 5.x AMD64


  • To: apache-talk@xxxxxxxxxxxxx
  • Subject: [apache-talk] mod_accel via freebsd 5.x AMD64
  • From: dennis kolobnev <dennis@xxxxxxxxxx>
  • Date: Fri, 3 Jun 2005 00:23:59 +0400
  • Content-length: 2430
  • Organization: Alpari Ltd.

&#1047;&#1076;&#1088;&#1072;&#1074;&#1089;&#1090;&#1074;&#1091;&#1081;&#1090;&#1077;, apache-talk.

&#1045;&#1089;&#1090;&#1100; &#1091;
&#1082;&#1086;&#1075;&#1086;&#1085;&#1080;&#1090;&#1100;
&#1077;&#1089;&#1090;&#1100;
&#1087;&#1086;&#1083;&#1086;&#1078;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1099;&#1081;
&#1086;&#1087;&#1099;&#1090; &#1089;&#1073;&#1086;&#1088;&#1082;&#1080;?
 mod_accel &#1085;&#1072; opteron'e &#1087;&#1086;&#1076; freebsd 5.x
&#1080;&#1079; &#1087;&#1086;&#1088;&#1090;&#1086;&#1074; &#1085;&#1077;
&#1089;&#1090;&#1072;&#1074;&#1080;&#1090;&#1100;&#1089;&#1103;,
&#1074;&#1099;&#1083;&#1077;&#1090;&#1072;&#1077;&#1090; &#1089;
&#1086;&#1096;&#1080;&#1073;&#1082;&#1086;&#1081;:

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

Stop in
/usr/ports/www/apache13-modssl/work/apache_1.3.33/src/modules/accel.

*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.33/src/modules.

*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.33/src.

*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.33.

*** Error code 1

Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.33.

*** Error code 1

-- 

&#1057; &#1091;&#1074;&#1072;&#1078;&#1077;&#1085;&#1080;&#1077;&#1084;,

 dennis                          mailto:dennis@xxxxxxxxxx



 




Copyright © Lexa Software, 1996-2009.