On Mon, Sep 09, 2002 at 02:59:56PM +0400, Sergey A. Osokin wrote: > On Mon, Sep 09, 2002 at 08:11:05PM +1100, Womchick alexeyeff wrote: > > > Сейчас оно проверенно компилится и работает (см.ниже) под соляркой. На > > > других системах не проверял. > > > > > g++ -c -g -O2 Log.cpp > > Log.cpp: In method `int Log::Write(unsigned int, const char *)': > > Log.cpp:46: implicit declaration of function `int cftime(...)' > > *** Error code 1 > > > > FreeBSD 4.6.2 gcc 2.95.3 > > From cftime(3): > The cftime() and ascftime() functions are made obsolete by strftime(3).
Собираться-то теперь собирается, но вот такая штука: gmake[1]: Вход в каталог `/super/oops-ng/Plus/Oxy' g++ -c -g -O2 -I../Common oxy.cpp -o oxy.o g++ -c -g -O2 -I../Common configurators.cpp -o configurators.o g++ -g -O2 -o oxy oxy.o configurators.o -lc_r -lfl -lcrypt ../Common/lib.a ../lib/lib.a /usr/lib/libc.so: WARNING! setkey(3) not present in the system! /usr/lib/libc.so: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended. /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp() gmake[1]: Выход из каталог `/super/oops-ng/Plus/Oxy' IMHO вместо `-lc_r' в LIBS правильнее написать `-pthread' в CXXFLAGS. -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \
msg04089/pgp00000.pgp
Description: PGP signature