Stas Bekman <[EMAIL PROTECTED]>
05/05/2004 19:56
|
Pour : [EMAIL PROTECTED] cc : mod_perl Mailing List <[EMAIL PROTECTED]> Objet : Re: mp2 Apache2.0.49 on HPUX11i : mod_perl does not load in Apache |
>>>% nm modperl_bucket.o | grep modperl_bucket_sv_create
>>>000001e2 T modperl_bucket_sv_create
>>
>> Here is the result :
>> [37] | 0| 92|FUNC |GLOB |0| .text|modperl_bucket_sv_create
>Sorry, I'm not familiar with nm's output on your platform. What does 0 mean?
>That it's unresolved? What do you get for other symbols (just to compare), e.g.
> nm mod_perl.a | grep modperl_callback
[EMAIL PROTECTED]:/var/tmp/apache_perl/modperl-2.0/src/modules/perl> nm mod_perl.a | grep modperl_callback
[197] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_per_dir
[117] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_process
[59] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_per_dir
[94] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback
Symbols from mod_perl.a[modperl_callback.o]:
[11] | 0| 8|OBJT |LOCAL|0| .rodata|S$158$modperl_callback
[32] | 0| 1852|FUNC |GLOB |0| .text|modperl_callback
[84] | 0| 68|FUNC |GLOB |0| .text|modperl_callback_connection
[87] | 0| 64|FUNC |GLOB |0| .text|modperl_callback_files
[82] | 0| 68|FUNC |GLOB |0| .text|modperl_callback_per_dir
[83] | 0| 68|FUNC |GLOB |0| .text|modperl_callback_per_srv
[85] | 0| 68|FUNC |GLOB |0| .text|modperl_callback_pre_connection
[86] | 0| 68|FUNC |GLOB |0| .text|modperl_callback_process
[64] | 0| 1316|FUNC |GLOB |0| .text|modperl_callback_run_handlers
[66] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback
[38] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_connection
[56] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_files
[44] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_per_dir
[52] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_per_srv
[42] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_pre_connection
[40] | 0| 0|FUNC |GLOB |0| UNDEF|modperl_callback_process
Here is a part of man nm
Default Output Format - 64 bit
If the default (neither the -p nor the -P option) output format is
specified, each symbol has the following columns, separated by
vertical bars (|). The default for numbers is decimal (-d or -t d).
If decimal:
"[%u]%s|%22llu|%8u|%s|%s|%1d|%s|%s",
index, value, size, type, bind, O, shndx, name
If octal:
"[%u]%s|%022llo|%010o|%s|%s|%1o|%s|%s",
index, value, size, type, bind, O, shndx, name
If hexadecimal:
"[%u]%s|0x%016llx|0x%08x|%s|%s|%1x|%s|%s",
index, value, size, type, bind, O, shndx, name
The descriptions are explained below:
name The name of the symbol.
value Its value expressed as an offset or an address
depending on its storage class.
scope The scope of the symbol (external, sdef, static,
or undefined). The sdef scope indicates an
external symbol that is flagged as a secondary
definition.
type The type of the symbol (absolute, arg_ext, code,
data, entry, milli_ext, millicode, module, null,
oct_dis, plabel, pri_prog, sec_prog, storage,
stub, sym_ext, tstor).
subspace The subspace to which the symbol belongs.
bind Specifies the symbol binding type (local, weak,
global).
O This field is used for files that have large
section tables (>65K sections). For smaller
files, the value of this field is 0.
Shndx Identifies the index of the section that the
symbol belongs to.
Identifies the index of the symbol in the symbol table.
Olivier