Jump to content

Старые грабли ....


Recommended Posts

g++ -c -O2 -Wall -gstabs+ -DFREEBSD -DTARIFF2 -o traffcounter.o traffcounter.cpp

traffcounter.cpp: In method `int TRAFFCOUNTER::ParseAddress(const char *, RULE &)':

traffcounter.cpp:655: warning: `char n' might be used uninitialized in this function

traffcounter.cpp: In method `int TRAFFCOUNTER::CheckIPPacket(IPPACKET &, long unsigned int &, int &, int &, int &, int, LINK **)':

traffcounter.cpp:797: warning: `int b_addr' might be used uninitialized in this function

traffcounter.cpp:797: warning: `int b_port' might be used uninitialized in this function

g++ -c -O2 -Wall -gstabs+ -DFREEBSD -DTARIFF2 -o freebsd/cap.o freebsd/cap.cpp

 

 

и соответственно

 

g++ -O2 -Wall -gstabs+ -o stargazer main.o tariff.o conffiles.o common.o settings.o user.o users.o recivecl.o -pthread /usr/lib/libc_r.so sendcl.o admin.o admins.o rsconf.o list.o configproto.o bsp.o traffcounter.o freebsd/cap.o /usr/lib/libexpat.so parser.o parser_admin.o parser_tariff.o blowfish.o des.o

/usr/lib/libc.so.4: WARNING! setkey(3) not present in the system!

/usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe.

/usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp()

/usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system!

/usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system!

/usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp()

/usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is not recommended.

/usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system!

/usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider using mkstemp()

 

 

кто какие комментарии сделает ??? :00:

Link to post
Share on other sites

и где хотя бы указание ОСи, версии сервера ?

если вы пишите об ошибке, то будьте добры писать ОСь, версию сервера и т. п. вещи ...

 

впредь буду темы без указания ОСи и версии сервера просто закрывать

Link to post
Share on other sites
Guest Guest_max
/usr/lib/libc.so.4: WARNING! setkey(3) not present in the system!

/usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe.

/usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp()

/usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system!

/usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system!

/usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp()

/usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is not recommended.

/usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system!

/usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider using mkstemp()

 

Такая же хрень лезет и у меня после комманды make при сборке сервера, OC FreeBSD 4.9, версии сервера любые

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...