On Tue, 28 May 2002, Alexey Luckyanchikov wrote:
> ������,
>
> ������� ������� ��������� oops �� cvs � ������ �������:
>
> CFLAGS='-fast -xarch=native64 -xO3'; export CFLAGS
> CXXFLAGS='-fast -xarch=native64 -xO3'; export CXXFLAGS
> ./configure \
> --enable-large-files \
> --enable-static-modules \
> --with-zlib=no
>
> � ����� �� ���������� ���������� ��������:
>
> cc -fast -xarch=native64 -xO3 -D_REENTRANT -DSOLARIS -mt -D_LARGEFILE_SOURCE
>-D_FILE_OFFSET_BITS=64 -DWITH_LARGE_FILES -DHAVE_CONFIG_H oops.o lib.o run.o
>run_client.o common.o http_utils.o ftp_utils.o storage.o garbage_c.o icp.o acl.o
>y.tab.o lex.yy.o rotate_logs.o clean_disk.o ssl.o list.o statistics.o worker.o
>dataq.o hash.o modules.o workq.o gnu_regex.o modules/accel.o
>modules/berkeley_db_api.o modules/gigabase_db_api.o modules/custom_log.o
>modules/err.o modules/fastredir.o modules/lang.o modules/log_dummy.o
>modules/oopsctl_mod.o modules/passwd_file.o modules/pam.o modules/passwd_mysql.o
>modules/passwd_pgsql.o modules/redir.o modules/transparent.o modules/vary_header.o
>modules/wccp2.o -lm -ly -ll -lpam -lsocket -lnsl -o oops
> Undefined first referenced
> symbol in file
> sys_nerr lib.o
> ld: fatal: Symbol referencing errors. No output written to oops
> *** Error code 1
>
> ���� sys_nerr ���� � libc.so.
����� ���� � ����?
$ nm /usr/lib/64/libc.so | grep sys_nerr
[208] | 698968| 4|OBJT |LOCL |0 |13 |_sys_nerr
[354] | 698968| 4|OBJT |LOCL |0 |13 |sys_nerr
$ nm /usr/lib/libc.so | grep sys_nerr
[3531] | 667296| 4|OBJT |GLOB |0 |13 |_sys_nerr
[4367] | 667296| 4|OBJT |WEAK |0 |13 |sys_nerr
> ���� �������� xarch �� native, �� ��� ���������� ��� �������.
��� ��� ��������� � ��� �������...
> ����������: Sun WorkShop 6 update 2 C 5.3 2001/05/15
> ���������� pls, ��� � ��� ����������?
���������� ������ �� ����� lib.c ������ �����
if (err < 0 || err >= sys_nerr) {
snprintf(errbuf, lerrbuf, "Unknown error: (%d)", err);
return(-1);
}
else
�� � �� environment.h ����, ���� �����������
>
> --
> Sincerely,
> Alexey Luckyanchikov
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops" in message body.
> Archive is accessible on http://lists.paco.net/oops-rus/
>
Igor Khasilev |
PACO Links, igor at paco dot net |
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/