Wireshark-users: Re: [Wireshark-users] Compilation problems with CVS libpcap
From: "Stephen RP O'Connell" <srpoc103@xxxxxxxxxxxxxxx>
Date: Mon, 11 Feb 2008 10:39:02 +0000
nm -po /usr/local/lib/libpcap.a | egrep grammar.o prints:

/usr/local/lib/libpcap.a:grammar.o:00000000 t yydestruct
/usr/local/lib/libpcap.a:grammar.o:00000010 t yyerror
/usr/local/lib/libpcap.a:grammar.o:00000040 t str2tok
/usr/local/lib/libpcap.a:grammar.o:00000340 r yypact
/usr/local/lib/libpcap.a:grammar.o:00000580 r yytranslate
/usr/local/lib/libpcap.a:grammar.o:00000700 r yycheck
/usr/local/lib/libpcap.a:grammar.o:00001180 r yydefact
/usr/local/lib/libpcap.a:grammar.o:000012a0 r yyr2
/usr/local/lib/libpcap.a:grammar.o:00001380 r yyr1
/usr/local/lib/libpcap.a:grammar.o:00001460 r yypgoto
/usr/local/lib/libpcap.a:grammar.o:000014c0 r yydefgoto
/usr/local/lib/libpcap.a:grammar.o:00000c40 r yytable
/usr/local/lib/libpcap.a:grammar.o:00000000 d ieee80211_types
/usr/local/lib/libpcap.a:grammar.o:00000060 d ieee80211_mgt_subtypes
/usr/local/lib/libpcap.a:grammar.o:00000040 d ieee80211_type_subtypes
/usr/local/lib/libpcap.a:grammar.o:0000136b r qerr
/usr/local/lib/libpcap.a:grammar.o:00000120 d ieee80211_ctl_subtypes
/usr/local/lib/libpcap.a:grammar.o:00000160 d ieee80211_data_subtypes
/usr/local/lib/libpcap.a:grammar.o:00000000 r .LC0
/usr/local/lib/libpcap.a:grammar.o:0000007d r .LC16
/usr/local/lib/libpcap.a:grammar.o:00000104 r .LC15
/usr/local/lib/libpcap.a:grammar.o:00000003 r .LC7
/usr/local/lib/libpcap.a:grammar.o:00000030 r .LC9
/usr/local/lib/libpcap.a:grammar.o:0000004c r .LC10
/usr/local/lib/libpcap.a:grammar.o:0000009c r .LC5
/usr/local/lib/libpcap.a:grammar.o:000000d4 r .LC6
/usr/local/lib/libpcap.a:grammar.o:0000008a r .LC17
/usr/local/lib/libpcap.a:grammar.o:0000001c r .LC8
/usr/local/lib/libpcap.a:grammar.o:00000051 r .LC11
/usr/local/lib/libpcap.a:grammar.o:00000070 r .LC4
/usr/local/lib/libpcap.a:grammar.o:00000024 r .LC2
/usr/local/lib/libpcap.a:grammar.o:00000000 r .LC1
/usr/local/lib/libpcap.a:grammar.o:0000004c r .LC3
/usr/local/lib/libpcap.a:grammar.o:00000056 r .LC12
/usr/local/lib/libpcap.a:grammar.o:0000005d r .LC13
/usr/local/lib/libpcap.a:grammar.o:00000064 r .LC14
/usr/local/lib/libpcap.a:grammar.o:000003af t .L52
/usr/local/lib/libpcap.a:grammar.o:00000649 t .L53
/usr/local/lib/libpcap.a:grammar.o:000013fe t .L54
/usr/local/lib/libpcap.a:grammar.o:00000e95 t .L55
/usr/local/lib/libpcap.a:grammar.o:00000ec9 t .L56
/usr/local/lib/libpcap.a:grammar.o:00000f03 t .L57
/usr/local/lib/libpcap.a:grammar.o:00000f37 t .L58
/usr/local/lib/libpcap.a:grammar.o:00000f71 t .L59
/usr/local/lib/libpcap.a:grammar.o:00000f94 t .L60
/usr/local/lib/libpcap.a:grammar.o:00000fb7 t .L61
/usr/local/lib/libpcap.a:grammar.o:00001009 t .L62
/usr/local/lib/libpcap.a:grammar.o:0000102c t .L63
/usr/local/lib/libpcap.a:grammar.o:00001076 t .L64
/usr/local/lib/libpcap.a:grammar.o:000010cf t .L65
/usr/local/lib/libpcap.a:grammar.o:00000337 t .L66
/usr/local/lib/libpcap.a:grammar.o:00001128 t .L67
/usr/local/lib/libpcap.a:grammar.o:00001136 t .L68
/usr/local/lib/libpcap.a:grammar.o:00001144 t .L69
/usr/local/lib/libpcap.a:grammar.o:0000119e t .L70
/usr/local/lib/libpcap.a:grammar.o:000011f8 t .L71
/usr/local/lib/libpcap.a:grammar.o:0000122b t .L72
/usr/local/lib/libpcap.a:grammar.o:0000124e t .L73
/usr/local/lib/libpcap.a:grammar.o:00001271 t .L74
/usr/local/lib/libpcap.a:grammar.o:000012ab t .L75
/usr/local/lib/libpcap.a:grammar.o:000012e5 t .L76
/usr/local/lib/libpcap.a:grammar.o:00001337 t .L77
/usr/local/lib/libpcap.a:grammar.o:00001364 t .L78
/usr/local/lib/libpcap.a:grammar.o:00001380 t .L79
/usr/local/lib/libpcap.a:grammar.o:00000c25 t .L80
/usr/local/lib/libpcap.a:grammar.o:00000c3f t .L81
/usr/local/lib/libpcap.a:grammar.o:00000c58 t .L82
/usr/local/lib/libpcap.a:grammar.o:00000c71 t .L83
/usr/local/lib/libpcap.a:grammar.o:00000c8b t .L84
/usr/local/lib/libpcap.a:grammar.o:00000cad t .L85
/usr/local/lib/libpcap.a:grammar.o:00000ce5 t .L86
/usr/local/lib/libpcap.a:grammar.o:00000d06 t .L87
/usr/local/lib/libpcap.a:grammar.o:00000d3d t .L88
/usr/local/lib/libpcap.a:grammar.o:00000d74 t .L89
/usr/local/lib/libpcap.a:grammar.o:00000d8d t .L90
/usr/local/lib/libpcap.a:grammar.o:00000dae t .L91
/usr/local/lib/libpcap.a:grammar.o:00000dcf t .L92
/usr/local/lib/libpcap.a:grammar.o:00000de9 t .L93
/usr/local/lib/libpcap.a:grammar.o:00000e0a t .L94
/usr/local/lib/libpcap.a:grammar.o:00000e24 t .L95
/usr/local/lib/libpcap.a:grammar.o:00000ba5 t .L96
/usr/local/lib/libpcap.a:grammar.o:00000bb5 t .L97
/usr/local/lib/libpcap.a:grammar.o:00000bc5 t .L98
/usr/local/lib/libpcap.a:grammar.o:00000bd5 t .L99
/usr/local/lib/libpcap.a:grammar.o:00000be5 t .L100
/usr/local/lib/libpcap.a:grammar.o:00000bf5 t .L101
/usr/local/lib/libpcap.a:grammar.o:00000c05 t .L102
/usr/local/lib/libpcap.a:grammar.o:00000c15 t .L103
/usr/local/lib/libpcap.a:grammar.o:00000b65 t .L104
/usr/local/lib/libpcap.a:grammar.o:00000b75 t .L105
/usr/local/lib/libpcap.a:grammar.o:00000b85 t .L106
/usr/local/lib/libpcap.a:grammar.o:00000b95 t .L107
/usr/local/lib/libpcap.a:grammar.o:00000b45 t .L108
/usr/local/lib/libpcap.a:grammar.o:00000b55 t .L109
/usr/local/lib/libpcap.a:grammar.o:00000b35 t .L110
/usr/local/lib/libpcap.a:grammar.o:00000e30 t .L111
/usr/local/lib/libpcap.a:grammar.o:00000e3c t .L112
/usr/local/lib/libpcap.a:grammar.o:00000e48 t .L113
/usr/local/lib/libpcap.a:grammar.o:00000e55 t .L114
/usr/local/lib/libpcap.a:grammar.o:00000e65 t .L115
/usr/local/lib/libpcap.a:grammar.o:00000e75 t .L116
/usr/local/lib/libpcap.a:grammar.o:00000e85 t .L117
/usr/local/lib/libpcap.a:grammar.o:000009ad t .L118
/usr/local/lib/libpcap.a:grammar.o:000009b9 t .L119
/usr/local/lib/libpcap.a:grammar.o:000009c5 t .L120
/usr/local/lib/libpcap.a:grammar.o:000009d5 t .L121
/usr/local/lib/libpcap.a:grammar.o:000009e5 t .L122
/usr/local/lib/libpcap.a:grammar.o:000009f5 t .L123
/usr/local/lib/libpcap.a:grammar.o:00000a05 t .L124
/usr/local/lib/libpcap.a:grammar.o:00000a15 t .L125
/usr/local/lib/libpcap.a:grammar.o:00000a25 t .L126
/usr/local/lib/libpcap.a:grammar.o:00000a35 t .L127
/usr/local/lib/libpcap.a:grammar.o:00000a45 t .L128
/usr/local/lib/libpcap.a:grammar.o:00000a55 t .L129
/usr/local/lib/libpcap.a:grammar.o:00000a65 t .L130
/usr/local/lib/libpcap.a:grammar.o:00000a75 t .L131
/usr/local/lib/libpcap.a:grammar.o:00000a85 t .L132
/usr/local/lib/libpcap.a:grammar.o:00000a95 t .L133
/usr/local/lib/libpcap.a:grammar.o:00000aa5 t .L134
/usr/local/lib/libpcap.a:grammar.o:00000ab5 t .L135
/usr/local/lib/libpcap.a:grammar.o:00000ac5 t .L136
/usr/local/lib/libpcap.a:grammar.o:00000ad5 t .L137
/usr/local/lib/libpcap.a:grammar.o:00000ae5 t .L138
/usr/local/lib/libpcap.a:grammar.o:00000af5 t .L139
/usr/local/lib/libpcap.a:grammar.o:00000b05 t .L140
/usr/local/lib/libpcap.a:grammar.o:00000b15 t .L141
/usr/local/lib/libpcap.a:grammar.o:00000b25 t .L142
/usr/local/lib/libpcap.a:grammar.o:0000139a t .L143
/usr/local/lib/libpcap.a:grammar.o:000013a6 t .L144
/usr/local/lib/libpcap.a:grammar.o:000013b2 t .L145
/usr/local/lib/libpcap.a:grammar.o:000013be t .L146
/usr/local/lib/libpcap.a:grammar.o:000013ca t .L147
/usr/local/lib/libpcap.a:grammar.o:000013d6 t .L148
/usr/local/lib/libpcap.a:grammar.o:000013e5 t .L149
/usr/local/lib/libpcap.a:grammar.o:0000084c t .L150
/usr/local/lib/libpcap.a:grammar.o:00000865 t .L151
/usr/local/lib/libpcap.a:grammar.o:0000087d t .L152
/usr/local/lib/libpcap.a:grammar.o:00000895 t .L153
/usr/local/lib/libpcap.a:grammar.o:000008bb t .L154
/usr/local/lib/libpcap.a:grammar.o:000008cf t .L155
/usr/local/lib/libpcap.a:grammar.o:000008e5 t .L156
/usr/local/lib/libpcap.a:grammar.o:000008fd t .L157
/usr/local/lib/libpcap.a:grammar.o:00000911 t .L158
/usr/local/lib/libpcap.a:grammar.o:00000929 t .L159
/usr/local/lib/libpcap.a:grammar.o:0000093d t .L160
/usr/local/lib/libpcap.a:grammar.o:0000094a t .L161
/usr/local/lib/libpcap.a:grammar.o:0000095d t .L162
/usr/local/lib/libpcap.a:grammar.o:0000096d t .L163
/usr/local/lib/libpcap.a:grammar.o:0000097d t .L164
/usr/local/lib/libpcap.a:grammar.o:00000995 t .L165
/usr/local/lib/libpcap.a:grammar.o:00000771 t .L166
/usr/local/lib/libpcap.a:grammar.o:00000789 t .L167
/usr/local/lib/libpcap.a:grammar.o:000007a1 t .L168
/usr/local/lib/libpcap.a:grammar.o:000007b9 t .L169
/usr/local/lib/libpcap.a:grammar.o:000007d1 t .L170
/usr/local/lib/libpcap.a:grammar.o:000007f4 t .L171
/usr/local/lib/libpcap.a:grammar.o:00000814 t .L172
/usr/local/lib/libpcap.a:grammar.o:00000834 t .L173
/usr/local/lib/libpcap.a:grammar.o:0000065f t .L174
/usr/local/lib/libpcap.a:grammar.o:00000690 t .L175
/usr/local/lib/libpcap.a:grammar.o:000006e5 t .L176
/usr/local/lib/libpcap.a:grammar.o:00000743 t .L177
/usr/local/lib/libpcap.a:grammar.o:00000639 t .L178
/usr/local/lib/libpcap.a:grammar.o:0000061f t .L180
/usr/local/lib/libpcap.a:grammar.o:0000062d t .L181
/usr/local/lib/libpcap.a:grammar.o:0000140c t .L182
/usr/local/lib/libpcap.a:grammar.o:00001418 t .L183
/usr/local/lib/libpcap.a:grammar.o:00001424 t .L184
/usr/local/lib/libpcap.a:grammar.o:00001435 t .L185
/usr/local/lib/libpcap.a:grammar.o:00001445 t .L186
/usr/local/lib/libpcap.a:grammar.o:00001455 t .L187
/usr/local/lib/libpcap.a:grammar.o:0000146d t .L188
/usr/local/lib/libpcap.a:grammar.o:00001495 t .L189
/usr/local/lib/libpcap.a:grammar.o:000014bc t .L190
/usr/local/lib/libpcap.a:grammar.o:000014e3 t .L191
/usr/local/lib/libpcap.a:grammar.o:0000150a t .L192
/usr/local/lib/libpcap.a:grammar.o:00001531 t .L193
/usr/local/lib/libpcap.a:grammar.o:00001558 t .L194
/usr/local/lib/libpcap.a:grammar.o:0000157f t .L195
/usr/local/lib/libpcap.a:grammar.o:000015a6 t .L196
/usr/local/lib/libpcap.a:grammar.o:000015cd t .L197
/usr/local/lib/libpcap.a:grammar.o:000015f4 t .L198
/usr/local/lib/libpcap.a:grammar.o:0000160c t .L199
/usr/local/lib/libpcap.a:grammar.o:0000161d t .L200
/usr/local/lib/libpcap.a:grammar.o:0000162a t .L201
/usr/local/lib/libpcap.a:grammar.o:00001636 t .L202
/usr/local/lib/libpcap.a:grammar.o:00001645 t .L203
/usr/local/lib/libpcap.a:grammar.o:00001655 t .L204
/usr/local/lib/libpcap.a:grammar.o:00001665 t .L205
/usr/local/lib/libpcap.a:grammar.o:00001675 t .L206
/usr/local/lib/libpcap.a:grammar.o:00001686 t .L207
/usr/local/lib/libpcap.a:grammar.o:00001692 t .L208
/usr/local/lib/libpcap.a:grammar.o:0000169e t .L209
/usr/local/lib/libpcap.a:grammar.o:000016aa t .L210
/usr/local/lib/libpcap.a:grammar.o:000016b6 t .L211
/usr/local/lib/libpcap.a:grammar.o:000016c5 t .L212
/usr/local/lib/libpcap.a:grammar.o:000016d5 t .L213
/usr/local/lib/libpcap.a:grammar.o:000016e5 t .L214
/usr/local/lib/libpcap.a:grammar.o:000016f5 t .L215
/usr/local/lib/libpcap.a:grammar.o:00001705 t .L216
/usr/local/lib/libpcap.a:grammar.o:00001715 t .L217
/usr/local/lib/libpcap.a:grammar.o:00001725 t .L218
/usr/local/lib/libpcap.a:grammar.o:00001735 t .L219
/usr/local/lib/libpcap.a:grammar.o:00001745 t .L220
/usr/local/lib/libpcap.a:grammar.o:00001755 t .L221
/usr/local/lib/libpcap.a:grammar.o:00001783 t .L222
/usr/local/lib/libpcap.a:grammar.o:000017b1 t .L223
/usr/local/lib/libpcap.a:grammar.o:000017cb t .L224
/usr/local/lib/libpcap.a:grammar.o:00001810 t .L225
/usr/local/lib/libpcap.a:grammar.o:00001844 t .L226
/usr/local/lib/libpcap.a:grammar.o:00001850 t .L227
/usr/local/lib/libpcap.a:grammar.o:0000185c t .L228
/usr/local/lib/libpcap.a:grammar.o:00001868 t .L229
/usr/local/lib/libpcap.a:grammar.o:00001875 t .L230
/usr/local/lib/libpcap.a:grammar.o:00001885 t .L231
/usr/local/lib/libpcap.a:grammar.o:00001895 t .L232
/usr/local/lib/libpcap.a:grammar.o:000018a5 t .L233
/usr/local/lib/libpcap.a:grammar.o:000018d3 t .L234
/usr/local/lib/libpcap.a:grammar.o:00001901 t .L235
/usr/local/lib/libpcap.a:grammar.o:0000191b t .L236
/usr/local/lib/libpcap.a:grammar.o:00001960 t .L237
/usr/local/lib/libpcap.a:grammar.o:00000000 T __i686.get_pc_thunk.bx
/usr/local/lib/libpcap.a:grammar.o:         U _GLOBAL_OFFSET_TABLE_
/usr/local/lib/libpcap.a:grammar.o:00000000 B n_errors
/usr/local/lib/libpcap.a:grammar.o:         U bpf_error
/usr/local/lib/libpcap.a:grammar.o:         U pcap_strcasecmp
/usr/local/lib/libpcap.a:grammar.o:000000a0 T yyparse
/usr/local/lib/libpcap.a:grammar.o:00000004 C yynerrs
/usr/local/lib/libpcap.a:grammar.o:00000004 C yychar
/usr/local/lib/libpcap.a:grammar.o:         U malloc
/usr/local/lib/libpcap.a:grammar.o:         U memcpy
/usr/local/lib/libpcap.a:grammar.o:         U free
/usr/local/lib/libpcap.a:grammar.o:         U gen_ncode
/usr/local/lib/libpcap.a:grammar.o:00000010 C pcap_lval
/usr/local/lib/libpcap.a:grammar.o:         U yylex
/usr/local/lib/libpcap.a:grammar.o:         U finish_parse
/usr/local/lib/libpcap.a:grammar.o:         U gen_pf_rnr
/usr/local/lib/libpcap.a:grammar.o:         U gen_pf_srnr
/usr/local/lib/libpcap.a:grammar.o:         U gen_pf_reason
/usr/local/lib/libpcap.a:grammar.o:         U gen_pf_action
/usr/local/lib/libpcap.a:grammar.o:         U gen_p80211_type
/usr/local/lib/libpcap.a:grammar.o:         U gen_p80211_fcdir
/usr/local/lib/libpcap.a:grammar.o:         U gen_multicast
/usr/local/lib/libpcap.a:grammar.o:         U gen_less
/usr/local/lib/libpcap.a:grammar.o:         U gen_greater
/usr/local/lib/libpcap.a:grammar.o:         U gen_byteop
/usr/local/lib/libpcap.a:grammar.o:         U gen_inbound
/usr/local/lib/libpcap.a:grammar.o:         U gen_vlan
/usr/local/lib/libpcap.a:grammar.o:         U gen_mpls
/usr/local/lib/libpcap.a:grammar.o:         U gen_pppoed
/usr/local/lib/libpcap.a:grammar.o:         U gen_pppoes
/usr/local/lib/libpcap.a:grammar.o:         U gen_pf_ifname
/usr/local/lib/libpcap.a:grammar.o:         U gen_pf_ruleset
/usr/local/lib/libpcap.a:grammar.o:         U gen_proto_abbrev
/usr/local/lib/libpcap.a:grammar.o:         U gen_relation
/usr/local/lib/libpcap.a:grammar.o:         U gen_atmtype_abbrev
/usr/local/lib/libpcap.a:grammar.o:         U gen_atmmulti_abbrev
/usr/local/lib/libpcap.a:grammar.o:         U gen_mtp2type_abbrev
/usr/local/lib/libpcap.a:grammar.o:         U gen_and
/usr/local/lib/libpcap.a:grammar.o:         U gen_or
/usr/local/lib/libpcap.a:grammar.o:         U gen_scode
/usr/local/lib/libpcap.a:grammar.o:         U gen_mcode
/usr/local/lib/libpcap.a:grammar.o:         U gen_ecode
/usr/local/lib/libpcap.a:grammar.o:         U gen_acode
/usr/local/lib/libpcap.a:grammar.o:         U gen_not
/usr/local/lib/libpcap.a:grammar.o:         U gen_broadcast
/usr/local/lib/libpcap.a:grammar.o:         U gen_loadi
/usr/local/lib/libpcap.a:grammar.o:         U gen_load
/usr/local/lib/libpcap.a:grammar.o:         U gen_arth
/usr/local/lib/libpcap.a:grammar.o:         U gen_neg
/usr/local/lib/libpcap.a:grammar.o:         U gen_loadlen
/usr/local/lib/libpcap.a:grammar.o:         U gen_atmfield_code
/usr/local/lib/libpcap.a:grammar.o:         U gen_mtp3field_code

Quoting Guy Harris <guy@xxxxxxxxxxxx>:

> Stephen RP O'Connell wrote:
> 
> > nm prints:
> > 
> > /usr/local/lib/libpcap.a:gencode.o:         U pcap_parse
> 
> What does
> 
> 	nm -po /usr/local/lib/libpcap.a | egrep grammar.o
> 
> print?
> 
> > This is the first time I've used nm - the man page says that U means the
> > symbol is undefined, but I'm not 100% sure exactly what that means?
> 
> It means that the symbol is undefined, and there's a reference to it 
> from the file "grammar.o" in the library.
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users
>