Hi,
anyone knows why I get this error during build of libXaw4 inside X build?
Looks like it cannot find a function (and gcc knows also where it is by 
implicit dependency),
but an "nm" on that .so shows the function is present.
If I completely omit -lXmu I correctly receive much more errors of unresolved 
functions.
Why this one?
/usr/gcc/4.4/bin/gcc -shared -o libXaw.so.4 -h libXaw.so.4 -O3  
-fno-omit-frame-pointer -Wall -Wno-unknown-pragmas -march=pentium4 -m32  -I. 
-L/sources/X/open-src/lib/libXaw4/../../../proto/root_i386/usr/lib  
-L/sources/X/open-src/lib/libXaw4/../../../proto/root_i386/usr/lib -O3  
-fno-omit-frame-pointer -Wall -Wno-unknown-pragmas -march=pentium4 -m32  -z 
lazyload -Wl,-B,direct -z guidance -Wl,-M,/usr/lib/ld/map.pagealign 
-Wl,-M,/usr/lib/ld/map.noexdata -z text -z defs -lc -I. Xaw3_1AsciiSink.o 
Xaw3_1AsciiSrc.o Xaw3_1AsciiText.o Xaw3_1Box.o Xaw3_1Clock.o Xaw3_1Command.o 
Xaw3_1Dialog.o Xaw3_1Form.o  Xaw3_1Grip.o Xaw3_1Label.o Xaw3_1List.o 
Xaw3_1Logo.o  Xaw3_1Mailbox.o Xaw3_1MenuButton.o Xaw3_1Paned.o 
Xaw3_1Scrollbar.o  Xaw3_1Simple.o Xaw3_1SimpleMenu.o Xaw3_1Sme.o Xaw3_1SmeBSB.o 
 Xaw3_1SmeLine.o Xaw3_1StripChart.o Xaw3_1Template.o Xaw3_1Text.o  
Xaw3_1TextAction.o Xaw3_1TextPop.o Xaw3_1TextSink.o Xaw3_1TextSrc.o  
Xaw3_1TextTr.o Xaw3_1Toggle.o Xaw3_1Vendor.o Xaw3_1Viewport.o  Xaw3_1XawInit.o 
-lX11 -lXmu -lXt -lm -lc
Undefined                       first referenced
symbol                             in file
XmuCopyISOLatin1Lowered             Xaw3_1AsciiSrc.o  (symbol belongs to 
implicit dependency 
/sources/X/open-src/lib/libXaw4/../../../proto/root_i386/usr/lib/libXmuu.so.1)
ld: fatal: symbol referencing errors. No output written to libXaw.so.4
collect2: ld returned 1 exit status
sonicle@vbxstreamdev:/sources/X/open-src/lib/libXaw4/build-i386/libXaw4-src$ nm 
/sources/X/open-src/lib/libXaw4/../../../proto/root_i386/usr/lib/libXmuu.so.1
/sources/X/open-src/lib/libXaw4/../../../proto/root_i386/usr/lib/libXmuu.so.1:
[Index]   Value      Size      Type  Bind  Other Shndx   Name
[2]     |       180|         0|SECT |LOCL |0    |1      |
[31]    |         0|         0|SECT |LOCL |0    |30     |
[3]     |       572|         0|SECT |LOCL |0    |2      |
[4]     |       584|         0|SECT |LOCL |0    |3      |
[5]     |       732|         0|SECT |LOCL |0    |4      |
[6]     |      1036|         0|SECT |LOCL |0    |5      |
[7]     |      1292|         0|SECT |LOCL |0    |6      |
[8]     |      1884|         0|SECT |LOCL |0    |7      |
[9]     |      3224|         0|SECT |LOCL |0    |8      |
[10]    |      3320|         0|SECT |LOCL |0    |9      |
[11]    |      3396|         0|SECT |LOCL |0    |10     |
[12]    |      3472|         0|SECT |LOCL |0    |11     |
[13]    |      4120|         0|SECT |LOCL |0    |12     |
[14]    |      4256|         0|SECT |LOCL |0    |13     |
[15]    |      4544|         0|SECT |LOCL |0    |14     |
[16]    |      8480|         0|SECT |LOCL |0    |15     |
[17]    |      8512|         0|SECT |LOCL |0    |16     |
[18]    |      8536|         0|SECT |LOCL |0    |17     |
[19]    |      8540|         0|SECT |LOCL |0    |18     |
[20]    |     77824|         0|SECT |LOCL |0    |19     |
[21]    |     77920|         0|SECT |LOCL |0    |20     |
[22]    |     77924|         0|SECT |LOCL |0    |21     |
[23]    |     77924|         0|SECT |LOCL |0    |22     |
[24]    |     77932|         0|SECT |LOCL |0    |23     |
[25]    |     77940|         0|SECT |LOCL |0    |24     |
[26]    |     77952|         0|SECT |LOCL |0    |25     |
[27]    |     78568|         0|SECT |LOCL |0    |26     |
[28]    |         0|         0|SECT |LOCL |0    |27     |
[29]    |         0|         0|SECT |LOCL |0    |28     |
[30]    |         0|         0|SECT |LOCL |0    |29     |
[82]    |     77928|         0|OBJT |LOCL |0    |22     |__CTOR_END__
[38]    |     77924|         0|OBJT |LOCL |0    |22     |__CTOR_LIST__
[104]   |         0|         0|FUNC |WEAK |0    |UNDEF  
|__deregister_frame_info_bases
[85]    |      8416|         0|FUNC |LOCL |0    |14     |__do_global_ctors_aux
[42]    |      4544|         0|FUNC |LOCL |0    |14     |__do_global_dtors_aux
[33]    |     77936|         0|OBJT |LOCL |2    |23     |__DTOR_END__
[39]    |     77932|         0|OBJT |LOCL |0    |23     |__DTOR_LIST__
[40]    |     77920|         0|OBJT |LOCL |0    |20     |__EH_FRAME_BEGIN__
[83]    |     77920|         0|OBJT |LOCL |0    |20     |__FRAME_END__
[87]    |         0|         0|OBJT |GLOB |0    |UNDEF  |__iob
[84]    |     77940|         0|OBJT |LOCL |0    |24     |__JCR_END__
[41]    |     77940|         0|OBJT |LOCL |0    |24     |__JCR_LIST__
[92]    |         0|         0|FUNC |WEAK |0    |UNDEF  
|__register_frame_info_bases
[93]    |       180|         0|OBJT |GLOB |0    |1      |_DYNAMIC
[102]   |     78568|         0|OBJT |GLOB |0    |25     |_edata
[114]   |     78600|         0|OBJT |GLOB |0    |26     |_end
[32]    |     78600|         0|OBJT |LOCL |0    |26     |_END_
[107]   |      9531|         0|OBJT |GLOB |0    |18     |_etext
[109]   |      8512|        24|FUNC |GLOB |0    |16     |_fini
[120]   |     77824|         0|OBJT |GLOB |3    |19     |_GLOBAL_OFFSET_TABLE_
[103]   |      8480|        29|FUNC |GLOB |0    |15     |_init
[88]    |         0|         0|NOTY |WEAK |0    |UNDEF  |_Jv_RegisterClasses
[106]   |      8536|         4|OBJT |GLOB |0    |17     |_lib_version
[122]   |      4256|         0|OBJT |GLOB |0    |13     
|_PROCEDURE_LINKAGE_TABLE_
[34]    |         0|         0|OBJT |LOCL |0    |1      |_START_
[49]    |      9271|         0|NOTY |LOCL |0    |18     |.LC0
[53]    |      9280|         0|NOTY |LOCL |0    |18     |.LC0
[54]    |      9288|         0|NOTY |LOCL |0    |18     |.LC1
[63]    |      9314|         0|NOTY |LOCL |0    |18     |.LC10
[75]    |      9482|         0|NOTY |LOCL |0    |18     |.LC11
[76]    |      9504|         0|NOTY |LOCL |0    |18     |.LC12
[73]    |      9350|         0|NOTY |LOCL |0    |18     |.LC13
[74]    |      9315|         0|NOTY |LOCL |0    |18     |.LC14
[77]    |      9514|         0|NOTY |LOCL |0    |18     |.LC15
[78]    |      9525|         0|NOTY |LOCL |0    |18     |.LC16
[64]    |      9371|         0|NOTY |LOCL |0    |18     |.LC17
[65]    |      9383|         0|NOTY |LOCL |0    |18     |.LC18
[66]    |      9390|         0|NOTY |LOCL |0    |18     |.LC19
[55]    |      9295|         0|NOTY |LOCL |0    |18     |.LC2
[67]    |      9406|         0|NOTY |LOCL |0    |18     |.LC20
[68]    |      9417|         0|NOTY |LOCL |0    |18     |.LC21
[69]    |      9434|         0|NOTY |LOCL |0    |18     |.LC22
[70]    |      9446|         0|NOTY |LOCL |0    |18     |.LC23
[71]    |      9465|         0|NOTY |LOCL |0    |18     |.LC24
[72]    |      9479|         0|NOTY |LOCL |0    |18     |.LC25
[56]    |      9307|         0|NOTY |LOCL |0    |18     |.LC3
[57]    |      9318|         0|NOTY |LOCL |0    |18     |.LC4
[58]    |      9340|         0|NOTY |LOCL |0    |18     |.LC5
[59]    |      9353|         0|NOTY |LOCL |0    |18     |.LC6
[60]    |      8540|         0|NOTY |LOCL |0    |18     |.LC7
[61]    |      9356|         0|NOTY |LOCL |0    |18     |.LC8
[62]    |      9365|         0|NOTY |LOCL |0    |18     |.LC9
[47]    |         0|         0|FILE |LOCL |0    |ABS    |ClientWin.c
[43]    |     78568|         1|OBJT |LOCL |0    |26     |completed.4590
[35]    |         0|         0|FILE |LOCL |0    |ABS    |crti.s
[86]    |         0|         0|FILE |LOCL |0    |ABS    |crtn.s
[81]    |         0|         0|FILE |LOCL |0    |ABS    |crtstuff.c
[37]    |         0|         0|FILE |LOCL |0    |ABS    |crtstuff.c
[51]    |     77952|       616|OBJT |LOCL |0    |25     |cursor_names.1749
[50]    |         0|         0|FILE |LOCL |0    |ABS    |CursorName.c
[52]    |         0|         0|FILE |LOCL |0    |ABS    |DefErrMsg.c
[44]    |     78572|         4|OBJT |LOCL |0    |26     |dtor_idx.4592
[119]   |         0|         0|FUNC |GLOB |0    |UNDEF  |fprintf
[116]   |         0|         0|FUNC |GLOB |0    |UNDEF  |fputc
[45]    |      4668|         0|FUNC |LOCL |0    |14     |frame_dummy
[99]    |         0|         0|FUNC |GLOB |0    |UNDEF  |fwrite
[79]    |         0|         0|FILE |LOCL |0    |ABS    |GetHost.c
[90]    |         0|         0|FUNC |GLOB |0    |UNDEF  |gethostname
[1]     |         0|         0|FILE |LOCL |0    |ABS    |libXmuu.so.1
[80]    |         0|         0|FILE |LOCL |0    |ABS    |Lower.c
[46]    |     78576|        24|OBJT |LOCL |0    |26     |object.4616
[89]    |         0|         0|FUNC |GLOB |0    |UNDEF  |strcmp
[48]    |      4764|       390|FUNC |LOCL |0    |14     |TryChildren
[36]    |         0|         0|FILE |LOCL |0    |ABS    |values-Xa.c
[98]    |         0|         0|FUNC |GLOB |0    |UNDEF  |vsnprintf
[112]   |         0|         0|FUNC |GLOB |0    |UNDEF  |XFree
[97]    |         0|         0|FUNC |GLOB |0    |UNDEF  |XGetErrorDatabaseText
[108]   |         0|         0|FUNC |GLOB |0    |UNDEF  |XGetErrorText
[117]   |         0|         0|FUNC |GLOB |0    |UNDEF  |XGetWindowProperty
[105]   |         0|         0|FUNC |GLOB |0    |UNDEF  |XInternAtom
[100]   |      5154|       223|FUNC |GLOB |0    |14     |XmuClientWindow
[121]   |      7796|       319|FUNC |GLOB |0    |14     |XmuCompareISOLatin1
[91]    |      7584|       106|FUNC |GLOB |0    |14     |XmuCopyISOLatin1Lowered
[115]   |      7690|       106|FUNC |GLOB |0    |14     |XmuCopyISOLatin1Uppered
[111]   |      5384|       120|FUNC |GLOB |0    |14     |XmuCursorNameToIndex
[101]   |      7504|        68|FUNC |GLOB |0    |14     |XmuGetHostname
[110]   |      8115|       119|FUNC |GLOB |0    |14     
|XmuNCopyISOLatin1Lowered
[118]   |      8234|       117|FUNC |GLOB |0    |14     
|XmuNCopyISOLatin1Uppered
[113]   |      5520|      1880|FUNC |GLOB |0    |14     
|XmuPrintDefaultErrorMessage
[95]    |      7400|        98|FUNC |GLOB |0    |14     |XmuSimpleErrorHandler
[94]    |      8351|        60|FUNC |GLOB |0    |14     |XmuSnprintf
[96]    |         0|         0|FUNC |GLOB |0    |UNDEF  |XQueryTree



-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to