From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 X-Virus-Scanned: amavisd-new at relay1.ldc.net Date: Thu, 20 Mar 2008 09:58:54 +0200 From: "Dmytro O. Redchuk" To: community@lists.altlinux.org Message-ID: <20080320075854.GY25698@volz.ua> Mail-Followup-To: community@lists.altlinux.org References: <20080319131037.GU25698@volz.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Subject: Re: [Comm] =?utf-8?b?0J/QtdGA0LXRgdCx0L7RgNC60LAgZnJlZXJhZGl1cyA/?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2008 07:59:06 -0000 Archived-At: List-Archive: List-Post: On Thu, Mar 20, 2008 at 12:18:21AM +0500, Vladimir V. Kamarzin wrote: > >>>>> On 19 Мар 2008 at 18:10 "DOR" == Dmytro O Redchuk writes: > > DOR> Добрый день. > DOR> Захотелось пересобрать freeradius на 2.0.3 (никто не пересобирал? > DOR> в сизифе ж тоже 1.1.7), пробую, получаю такие ошибки (на этом > DOR> заканчивается): > > Угу, в сизифе 1.1.7. В данный момент freeradius мне практически не нужен, так А в рассыле фрирадиуса "все сразу посылают" (слегка утрирую) ставить второй, а уже потом вопросы задавать ;-) > Если у вас получится успешно его собрать, не стесняйтесь поделиться > наработками, глядишь и в сизифе обновим тогда ;) Я вчера таки допёр --without-openssl сказать и попробовать ещё раз; заканчивается так: ---------------------------------------------------------------------- gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/RPM/BUILD/freeradius-2.0.3/src -I/usr/src/RPM/BUILD/freeradius-2.0.3/libltdl -c sql.c -fPIC -DPIC -o .libs/sql.o sql.c:48:21: error: radiusd.h: No such file or directory sql.c:49:22: error: conffile.h: No such file or directory In file included from conf.h:17, from rlm_nibs.h:18, from sql.c:50: nibs.h:23: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:24: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:26: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:27: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:28: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:29: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:30: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:31: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:39: error: expected declaration specifiers or '...' before 'REQUEST' In file included from sql.c:50: rlm_nibs.h:79: error: expected ')' before '*' token rlm_nibs.h:84: error: expected ')' before '*' token rlm_nibs.h:85: error: expected ')' before '*' token rlm_nibs.h:86: error: expected ')' before '*' token sql.c: In function 'connect_single_socket': sql.c:69: warning: implicit declaration of function 'radlog' sql.c:69: error: 'L_DBG' undeclared (first use in this function) sql.c:69: error: (Each undeclared identifier is reported only once sql.c:69: error: for each function it appears in.) sql.c:85: error: 'L_CONS' undeclared (first use in this function) sql.c:85: error: 'L_ERR' undeclared (first use in this function) sql.c: In function 'als_init_socketpool': sql.c:112: error: 'L_DBG' undeclared (first use in this function) sql.c:114: warning: implicit declaration of function 'rad_malloc' sql.c:114: warning: assignment makes pointer from integer without a cast sql.c: In function 'als_close_socket': sql.c:184: error: 'L_DBG' undeclared (first use in this function) sql.c: In function 'als_get_socket': sql.c:243: error: 'L_INFO' undeclared (first use in this function) sql.c:251: error: 'L_DBG' undeclared (first use in this function) sql.c: In function 'als_release_socket': sql.c:318: error: 'L_DBG' undeclared (first use in this function) sql.c: In function 'rlm_nibs_fetch_row': sql.c:350: error: 'L_ERR' undeclared (first use in this function) sql.c: In function 'rlm_nibs_query': sql.c:394: error: 'L_ERR' undeclared (first use in this function) sql.c: In function 'rlm_nibs_select_query': sql.c:438: error: 'L_ERR' undeclared (first use in this function) sql.c: At top level: sql.c:455: error: expected ')' before '*' token gmake[6]: *** [sql.lo] Error 1 gmake[6]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src/modules/rlm_nibs' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3' make: *** [all] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3' error: Bad exit status from /usr/src/tmp/rpm-tmp.3312 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.3312 (%build) Command exited with non-zero status 1 36.36user 7.10system 3:53.13elapsed 18%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (24major+12022466minor)pagefaults 0swaps hsh-rebuild: rebuild of `freeradius-2.0.3-dor1.src.rpm' failed. ---------------------------------------------------------------------- Во-первых, глупо как-то собирать с --without-openssl; во-вторых, что дальше задизэйблить?-) Там в sql.c есть #include "оно его не находит", я так понимаю -- но если просто make, то собирается. Даже Build-Requires: freeradius-devel пробовал добавлять... В-третьих, как это делать правильно? Если неграмотный? .) > > -- > You don't get out much, do you :-)? Lighten up a little, this > is supposed to be fun.......We could argue all day, but there was > lots of computer work done before PCI and PCs. I'm more than old > enough to know, so just leave it at that....... > > - Dan Malek on the linuxppc-embedded list -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk