Jump to content

Не компилится sgauth.tgz


Recommended Posts

Короче попробовал скомпилить самый последний что был,

 

вываливается на ошибку Blowfish, проверно на free 5.1 и на ASP 9

 

вот примерный лог ошибки

 

[root@alterra sgauth]# make

make -f make.lin

make[1]: Âõîä â êàòàëîã `/root/sgauth'

g++ -c -g3 -Wall -Dlinux -o o/main.o src/main.cpp

g++ -c -g3 -Wall -Dlinux -o o/des.o src/des.cpp

g++ -c -g3 -Wall -Dlinux -o o/common.o src/common.cpp

g++ -c -g3 -Wall -Dlinux -o o/web.o src/web.cpp

src/web.cpp: In member function `int WEB::SendReply(int)':

src/web.cpp:173: warning: unused variable `char*redirStr'

g++ -c -g3 -Wall -Dlinux -o o/proto_unit.o src/proto_unit.cpp

g++ -o sgauth /lib/libpthread.so.0 o/main.o o/des.o o/common.o o/proto_unit.o o/web.o

o/proto_unit.o(.text+0x120d): In function `CLIENTPROT::EncryptBF(char*, int, char const*)':

src/proto_unit.cpp:588: undefined reference to `Blowfish_Init(BLOWFISH_CTX*, unsigned char*, int)'

o/proto_unit.o(.text+0x1253):src/proto_unit.cpp:592: undefined reference to `Blowfish_Encrypt(BLOWFISH_CTX*, unsigned*, unsigned*)'

o/proto_unit.o(.text+0x1407): In function `CLIENTPROT::DecryptBF(char*, int, char const*)':

src/proto_unit.cpp:641: undefined reference to `Blowfish_Init(BLOWFISH_CTX*, unsigned char*, int)'

o/proto_unit.o(.text+0x144d):src/proto_unit.cpp:643: undefined reference to `Blowfish_Decrypt(BLOWFISH_CTX*, unsigned*, unsigned*)'

collect2: ld returned 1 exit status

make[1]: *** [sgauth] Îøèáêà 1

make[1]: Âûõîä èç êàòàëîã `/root/sgauth'

make: *** [all] Îøèáêà 2

 

 

Вот это в linux, во free аналогично. ПОпытался поиграться с gcc ничего толкового не вышло, кто может подсказать в чем дело, огромное спасибо заранее.

 

Со старой версией естественно такого нет, но она мне не подходит.

Link to post
Share on other sites

1. Дай, плз ссылку по которй ты качал эти исходники, я посмотрю что там.

2. Для последней весрии сервера еще нет sgauth, но рабоат в этом направлении идет. :)

Link to post
Share on other sites

на АСП 9.2 тоже не компилиться,

брал по ссылки как выше.

таже самая ошибка.

----------

[root@kaisa sgauth]# g++ -v

Reading specs from /usr/lib/gcc-lib/i386-asplinux-linux/3.3.2/specs

Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-asplinux-linux

Thread model: posix

gcc version 3.3.2 20031022 (ASPLinux 3.3.2-1)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...