ld behaving strangely?

Charles S. Wilson cwilson@ece.gatech.edu
Wed Dec 1 07:27:00 GMT 1999


Mumit Khan wrote:
> 
> "Charles S. Wilson" <cwilson@ece.gatech.edu> writes:
> > I'm trying to compile sxpm from the xpm-3.4k distribution. (I already
> > compiled the library). However, it seems that there is an undefined
> > symbol somewhere, because build fails. I'm only guessing about that
> > because ld is not providing as much information as I'm used to, and I
> > don't know what's going on.
> >
> > Here's the command:
> > gcc -O -I.. -I/usr/X11R6/include sxpm.o -L../lib -L/usr/X11R6/lib -lXpm
> > -lXext -lXt -lX11 -o sxpm
> >
> > The result:
> > collect2: ld returned 1 exit status
> > make: *** [sxpm] Error 1
> 
> Hard to tell what's what going unfortunately. See if the following
> provides more info:
> 
>   $ gcc -Wl,-debug -Wl,--verbose [... rest ...]

Did that, and got the output pasted at the very bottom of this email.
There *were* unsatisfied symbols -- it seems that libXt depends on libSM
and libICE. I didn't know that (and neither did the guy who wrote the
sxpm makefile).

gcc -O -I.. -I/usr/X11R6/include sxpm.o -L../lib -L/usr/X11R6/lib -lXpm
-lXext -lXt -lICE -lSM -lX11 -o sxpm

works without error and creates an executable -- both with collect2.exe
and without it (e.g. after renaming collect2.exe to collect2.exe.sav)

However, that doesn't answer the question about why ld was not giving me
useful error output initially...

> 
> You're obviously tripping over a bug in either collect2 or ld (called
> by collect2), but the trick is to figure out where ...
> 
> To narrow it down, rename collect2.exe to collect2.exe.sav and rerun
> and if it still crashes. If so, it's a bug collect2; otherwise it's
> in ld. We'll take it from there.
> 
>   $ collect2=`gcc -print-prog-name=collect2`
>   $ mv $collect2 ${collect2}.sav
> 

So, to repeat, here's the command and output with collect2.exe:
gcc -O -I.. -I/usr/X11R6/include sxpm.o -L../lib -L/usr/X11R6/lib -lXpm
-lXext -lXt -lX11 -o sxpm
collect2: ld returned 1 exit status

Here's the command and output with collect2.exe renamed to
collect2.exe.sav
gcc -O -I.. -I/usr/X11R6/include sxpm.o -L../lib -L/usr/X11R6/lib -lXpm
-lXext -lXt -lX11 -o sxpm

/usr/X11R6/lib/libXt.a(Shell.o): In function `StopManagingSession':
/d/xc-4/xc/lib/Xt/Shell.c:2766: undefined reference to
`SmcCloseConnection'
/usr/X11R6/lib/libXt.a(Shell.o): In function `JoinSession':
/d/xc-4/xc/lib/Xt/Shell.c:2796: undefined reference to
`SmcModifyCallbacks'
/d/xc-4/xc/lib/Xt/Shell.c:2797: undefined reference to `SmcClientID'
/d/xc-4/xc/lib/Xt/Shell.c:2801: undefined reference to
`SmcOpenConnection'
/d/xc-4/xc/lib/Xt/Shell.c:2824: undefined reference to
`SmcGetIceConnection'
/d/xc-4/xc/lib/Xt/Shell.c:2825: undefined reference to
`IceConnectionNumber'
/usr/X11R6/lib/libXt.a(Shell.o): In function `SetSessionProperties':
/d/xc-4/xc/lib/Xt/Shell.c:3017: undefined reference to
`SmcSetProperties'
/d/xc-4/xc/lib/Xt/Shell.c:3030: undefined reference to
`SmcSetProperties'
/d/xc-4/xc/lib/Xt/Shell.c:3040: undefined reference to
`SmcDeleteProperties'
/usr/X11R6/lib/libXt.a(Shell.o): In function `GetIceEvent':
/d/xc-4/xc/lib/Xt/Shell.c:3057: undefined reference to
`SmcGetIceConnection'
/d/xc-4/xc/lib/Xt/Shell.c:3057: undefined reference to
`IceProcessMessages'
/usr/X11R6/lib/libXt.a(Shell.o): In function `CallSaveCallbacks':
/d/xc-4/xc/lib/Xt/Shell.c:3084: undefined reference to
`SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtInteractPermission':
/d/xc-4/xc/lib/Xt/Shell.c:3150: undefined reference to `SmcInteractDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtCallCancelCallbacks':
/d/xc-4/xc/lib/Xt/Shell.c:3213: undefined reference to
`SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtSessionReturnToken':
/d/xc-4/xc/lib/Xt/Shell.c:3316: undefined reference to
`SmcInteractRequest'
/d/xc-4/xc/lib/Xt/Shell.c:3336: undefined reference to `SmcInteractDone'
/d/xc-4/xc/lib/Xt/Shell.c:3349: undefined reference to
`SmcRequestSaveYourselfPhase2'
/d/xc-4/xc/lib/Xt/Shell.c:3354: undefined reference to
`SmcSaveYourselfDone'

So that means there's a bug in collect2, right?

--Chuck

************************************************
Appendix: output of gcc -Wl,-debug -Wl,--verbose {other stuff}
with collect.exe NOT renamed

Convert string
'/usr/lib/gcc-lib/i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/:/usr/lib/gcc/i586-cygwin32/2.95.2/:/usr/lib/gcc/i586-cygwin32/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/i586-cygwin32/2.95.2/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/'
into prefixes, separator = ':'
  - add prefix: /usr/lib/gcc-lib/i586-cygwin32/2.95.2/
  - add prefix: /usr/lib/gcc-lib/
  - add prefix:
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/
  - add prefix:
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/
  - add prefix: /usr/lib/gcc/i586-cygwin32/2.95.2/
  - add prefix: /usr/lib/gcc/i586-cygwin32/
  - add prefix:
/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/i586-cygwin32/2.95.2/
  - add prefix:
/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/
  - add prefix:
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/i586-cygwin32/2.95.2/
  - add prefix:
/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/
Convert string
'~/bin:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/e/winnt:/e/winnt/system32:/e/freeware:.'
into prefixes, separator = ':'
  - add prefix: ~/bin/
  - add prefix: /usr/local/bin/
  - add prefix: /usr/X11R6/bin/
  - add prefix: /usr/bin/
  - add prefix: /e/winnt/
  - add prefix: /e/winnt/system32/
  - add prefix: /e/freeware/
  - add prefix: ./
Looking for 'real-ld'
Looking for 'collect-ld'
Looking for 'ld'
Looking for 'ld'
Looking for 'gnm'
Looking for 'gnm'
Looking for 'nm'
Looking for 'nm'
Looking for 'gstrip'
Looking for 'gstrip'
Looking for 'strip'
Looking for 'strip'
Looking for 'gcc'
Looking for 'gcc'
collect2 version 2.95.2 19991024 (release) (80386, BSD syntax)
ld_file_name        = /usr/bin/ld
c_file_name         = /usr/bin/gcc
nm_file_name        = /usr/bin/nm
strip_file_name     = /usr/bin/strip
c_file              = E:\TEMP/ccF2YYIG.c
o_file              = E:\TEMP/cc8bjRFd.o
COLLECT_GCC_OPTIONS = '-O' '-I..' '-I/usr/X11R6/include' '-L../lib'
'-L/usr/X11R6/lib' '-o' 'sxpm.exe'
COLLECT_GCC         = gcc
COMPILER_PATH       =
/usr/lib/gcc-lib/i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/:/usr/lib/gcc/i586-cygwin32/2.95.2/:/usr/lib/gcc/i586-cygwin32/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/i586-cygwin32/2.95.2/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/bin/
LIBRARY_PATH        =
/usr/lib/gcc-lib/i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/:/usr/i586-pc-cygwin32/lib/i586-cygwin32/2.95.2/:/usr/i586-pc-cygwin32/lib/:/usr/lib/i586-cygwin32/2.95.2/:/usr/lib/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/:/usr/lib/gcc/i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/lib/i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/lib/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/lib/i586-cygwin32/2.95.2/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../../i586-cygwin32/lib/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../i586-cygwin32/2.95.2/:/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../../:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../i586-cygwin32/2.95.2/:/Cygnus/cygwin-b20/H-i586-cygwin32/lib/gcc-lib/i586-cygwin32/2.95.2/../../../:/lib/i586-cygwin32/2.95.2/:/lib/:/usr/lib/i586-cygwin32/2.95.2/:/usr/lib/

/usr/bin/ld -o sxpm.exe /usr/i586-pc-cygwin32/lib/crt0.o -L../lib
-L/usr/X11R6/lib -L/usr/lib/gcc-lib/i586-cygwin32/2.95.2
-L/usr/lib/gcc-lib -L/usr/i586-pc-cygwin32/lib
-L/usr/lib/gcc-lib/i586-cygwin32/2.95.2/../../.. --verbose sxpm.o -lXpm
-lXext -lXt -lX11 -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32
-lshell32 -lgcc
GNU ld version 2.9.4 (with BFD 2.9.4)
  Supported emulations:
   i386pe
using internal linker script:
==================================================
OUTPUT_FORMAT(pei-i386)
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib);
SEARCH_DIR(/Cygnus/cygwin-b20/H-i586-cygwin32/lib);
SEARCH_DIR(/usr/local/lib);
SEARCH_DIR(/Cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib);
ENTRY(_mainCRTStartup)
SECTIONS
{
  .text  __image_base__ + __section_alignment__  : 
  {
     *(.init)
    *(.text)
    *(SORT(.text$*))
    *(.glue_7t)
    *(.glue_7)
     ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
			LONG (-1); *(.ctors); *(.ctor); LONG (0); 
     ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
			LONG (-1); *(.dtors); *(.dtor);  LONG (0); 
     *(.fini)
    /* ??? Why is .gcc_exc here?  */
     *(.gcc_exc)
     etext = .;
    *(.gcc_except_table)
  }
  /* The Cygwin32 library uses a section to avoid copying certain data
     on fork.  This used to be named ".data".  The linker used
     to include this between __data_start__ and __data_end__, but that
     breaks building the cygwin32 dll.  Instead, we name the section
     ".data_cygwin_nocopy" and explictly include it after __data_end__.
*/
  .data BLOCK(__section_alignment__) : 
  {
    __data_start__ = . ;
    *(.data)
    *(.data2)
    *(SORT(.data$*))
    __data_end__ = . ;
    *(.data_cygwin_nocopy)
  }
  .bss BLOCK(__section_alignment__) :
  {
    __bss_start__ = . ;
    *(.bss)
    *(COMMON)
    __bss_end__ = . ;
  }
  .rdata BLOCK(__section_alignment__) :
  {
    *(.rdata)
    *(SORT(.rdata$*))
    *(.eh_frame)
  }
  .edata BLOCK(__section_alignment__) :
  {
    *(.edata)
  }
  /DISCARD/ :
  {
    *(.debug$S)
    *(.debug$T)
    *(.debug$F)
    *(.drectve)
  }
  .idata BLOCK(__section_alignment__) :
  {
    /* This cannot currently be handled with grouped sections.
	See pe.em:sort_sections.  */
    SORT(*)(.idata$2)
    SORT(*)(.idata$3)
    /* These zeroes mark the end of the import list.  */
    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
    SORT(*)(.idata$4)
    SORT(*)(.idata$5)
    SORT(*)(.idata$6)
    SORT(*)(.idata$7)
  }
  .CRT BLOCK(__section_alignment__) :
  { 					
    *(SORT(.CRT$*))
  }
  .endjunk BLOCK(__section_alignment__) :
  {
    /* end is deprecated, don't use it */
     end = .;
     __end__ = .;
  }
  .reloc BLOCK(__section_alignment__) :
  { 					
    *(.reloc)
  }
  .rsrc BLOCK(__section_alignment__) :
  { 					
    *(.rsrc)
    *(SORT(.rsrc$*))
  }
  .stab BLOCK(__section_alignment__) (NOLOAD) :
  {
    [ .stab ]
  }
  .stabstr BLOCK(__section_alignment__) (NOLOAD) :
  {
    [ .stabstr ]
  }
}


==================================================
attempt to open /usr/i586-pc-cygwin32/lib/crt0.o succeeded
/usr/i586-pc-cygwin32/lib/crt0.o
attempt to open sxpm.o succeeded
sxpm.o
attempt to open ../lib/libXpm.a succeeded
(../lib/libXpm.a)misc.o
(../lib/libXpm.a)Attrib.o
(../lib/libXpm.a)WrFFrP.o
(../lib/libXpm.a)CrPFrDat.o
(../lib/libXpm.a)RdFToP.o
(../lib/libXpm.a)WrFFrI.o
(../lib/libXpm.a)CrIFrP.o
(../lib/libXpm.a)CrPFrI.o
(../lib/libXpm.a)CrIFrDat.o
(../lib/libXpm.a)RdFToI.o
(../lib/libXpm.a)parse.o
(../lib/libXpm.a)Image.o
(../lib/libXpm.a)Info.o
(../lib/libXpm.a)scan.o
(../lib/libXpm.a)create.o
(../lib/libXpm.a)hashtab.o
(../lib/libXpm.a)data.o
(../lib/libXpm.a)rgb.o
attempt to open ../lib/libXext.a failed
attempt to open /usr/X11R6/lib/libXext.a succeeded
(/usr/X11R6/lib/libXext.a)ds28.o
(/usr/X11R6/lib/libXext.a)dh.o
(/usr/X11R6/lib/libXext.a)dt.o
attempt to open ../lib/libXt.a failed
attempt to open /usr/X11R6/lib/libXt.a succeeded
(/usr/X11R6/lib/libXt.a)StringDefs.o
(/usr/X11R6/lib/libXt.a)Event.o
(/usr/X11R6/lib/libXt.a)Alloc.o
(/usr/X11R6/lib/libXt.a)Geometry.o
(/usr/X11R6/lib/libXt.a)Intrinsic.o
(/usr/X11R6/lib/libXt.a)SetValues.o
(/usr/X11R6/lib/libXt.a)Display.o
(/usr/X11R6/lib/libXt.a)Initialize.o
(/usr/X11R6/lib/libXt.a)Error.o
(/usr/X11R6/lib/libXt.a)NextEvent.o
(/usr/X11R6/lib/libXt.a)Callback.o
(/usr/X11R6/lib/libXt.a)TMaction.o
(/usr/X11R6/lib/libXt.a)Destroy.o
(/usr/X11R6/lib/libXt.a)EventUtil.o
(/usr/X11R6/lib/libXt.a)TMstate.o
(/usr/X11R6/lib/libXt.a)Shell.o
(/usr/X11R6/lib/libXt.a)Hooks.o
(/usr/X11R6/lib/libXt.a)HookObj.o
(/usr/X11R6/lib/libXt.a)Converters.o
(/usr/X11R6/lib/libXt.a)Manage.o
(/usr/X11R6/lib/libXt.a)PassivGrab.o
(/usr/X11R6/lib/libXt.a)TMgrab.o
(/usr/X11R6/lib/libXt.a)Constraint.o
(/usr/X11R6/lib/libXt.a)Resources.o
(/usr/X11R6/lib/libXt.a)GCManager.o
(/usr/X11R6/lib/libXt.a)Convert.o
(/usr/X11R6/lib/libXt.a)Selection.o
(/usr/X11R6/lib/libXt.a)TMkey.o
(/usr/X11R6/lib/libXt.a)Core.o
(/usr/X11R6/lib/libXt.a)Create.o
(/usr/X11R6/lib/libXt.a)ArgList.o
(/usr/X11R6/lib/libXt.a)TMparse.o
(/usr/X11R6/lib/libXt.a)TMprint.o
(/usr/X11R6/lib/libXt.a)Popup.o
(/usr/X11R6/lib/libXt.a)Pointer.o
(/usr/X11R6/lib/libXt.a)Keyboard.o
(/usr/X11R6/lib/libXt.a)Composite.o
(/usr/X11R6/lib/libXt.a)Vendor.o
(/usr/X11R6/lib/libXt.a)Object.o
(/usr/X11R6/lib/libXt.a)RectObj.o
(/usr/X11R6/lib/libXt.a)ResConfig.o
(/usr/X11R6/lib/libXt.a)SetSens.o
(/usr/X11R6/lib/libXt.a)VarCreate.o
(/usr/X11R6/lib/libXt.a)GetResList.o
(/usr/X11R6/lib/libXt.a)Varargs.o
attempt to open ../lib/libX11.a failed
attempt to open /usr/X11R6/lib/libX11.a succeeded
(/usr/X11R6/lib/libX11.a)ds271.o
(/usr/X11R6/lib/libX11.a)ds169.o
(/usr/X11R6/lib/libX11.a)ds179.o
(/usr/X11R6/lib/libX11.a)ds275.o
(/usr/X11R6/lib/libX11.a)ds46.o
(/usr/X11R6/lib/libX11.a)ds374.o
(/usr/X11R6/lib/libX11.a)ds420.o
(/usr/X11R6/lib/libX11.a)ds404.o
(/usr/X11R6/lib/libX11.a)ds413.o
(/usr/X11R6/lib/libX11.a)ds62.o
(/usr/X11R6/lib/libX11.a)ds409.o
(/usr/X11R6/lib/libX11.a)ds339.o
(/usr/X11R6/lib/libX11.a)ds74.o
(/usr/X11R6/lib/libX11.a)ds27.o
(/usr/X11R6/lib/libX11.a)ds14.o
(/usr/X11R6/lib/libX11.a)ds293.o
(/usr/X11R6/lib/libX11.a)ds733.o
(/usr/X11R6/lib/libX11.a)ds77.o
(/usr/X11R6/lib/libX11.a)ds198.o
(/usr/X11R6/lib/libX11.a)ds193.o
(/usr/X11R6/lib/libX11.a)ds177.o
(/usr/X11R6/lib/libX11.a)ds304.o
(/usr/X11R6/lib/libX11.a)ds65.o
(/usr/X11R6/lib/libX11.a)ds70.o
(/usr/X11R6/lib/libX11.a)ds312.o
(/usr/X11R6/lib/libX11.a)ds83.o
(/usr/X11R6/lib/libX11.a)ds76.o
(/usr/X11R6/lib/libX11.a)ds68.o
(/usr/X11R6/lib/libX11.a)ds78.o
(/usr/X11R6/lib/libX11.a)ds86.o
(/usr/X11R6/lib/libX11.a)ds234.o
(/usr/X11R6/lib/libX11.a)ds440.o
(/usr/X11R6/lib/libX11.a)ds10.o
(/usr/X11R6/lib/libX11.a)ds292.o
(/usr/X11R6/lib/libX11.a)ds160.o
(/usr/X11R6/lib/libX11.a)ds284.o
(/usr/X11R6/lib/libX11.a)ds294.o
(/usr/X11R6/lib/libX11.a)ds296.o
(/usr/X11R6/lib/libX11.a)ds249.o
(/usr/X11R6/lib/libX11.a)ds73.o
(/usr/X11R6/lib/libX11.a)ds47.o
(/usr/X11R6/lib/libX11.a)ds145.o
(/usr/X11R6/lib/libX11.a)ds442.o
(/usr/X11R6/lib/libX11.a)ds239.o
(/usr/X11R6/lib/libX11.a)ds37.o
(/usr/X11R6/lib/libX11.a)ds149.o
(/usr/X11R6/lib/libX11.a)ds347.o
(/usr/X11R6/lib/libX11.a)ds51.o
(/usr/X11R6/lib/libX11.a)ds45.o
(/usr/X11R6/lib/libX11.a)ds731.o
(/usr/X11R6/lib/libX11.a)ds744.o
(/usr/X11R6/lib/libX11.a)ds739.o
(/usr/X11R6/lib/libX11.a)ds749.o
(/usr/X11R6/lib/libX11.a)ds751.o
(/usr/X11R6/lib/libX11.a)ds75.o
(/usr/X11R6/lib/libX11.a)ds97.o
(/usr/X11R6/lib/libX11.a)ds274.o
(/usr/X11R6/lib/libX11.a)ds246.o
(/usr/X11R6/lib/libX11.a)ds34.o
(/usr/X11R6/lib/libX11.a)ds752.o
(/usr/X11R6/lib/libX11.a)ds48.o
(/usr/X11R6/lib/libX11.a)ds750.o
(/usr/X11R6/lib/libX11.a)ds95.o
(/usr/X11R6/lib/libX11.a)ds167.o
(/usr/X11R6/lib/libX11.a)ds729.o
(/usr/X11R6/lib/libX11.a)ds105.o
(/usr/X11R6/lib/libX11.a)ds289.o
(/usr/X11R6/lib/libX11.a)ds103.o
(/usr/X11R6/lib/libX11.a)ds1.o
(/usr/X11R6/lib/libX11.a)ds428.o
(/usr/X11R6/lib/libX11.a)ds745.o
(/usr/X11R6/lib/libX11.a)ds300.o
(/usr/X11R6/lib/libX11.a)ds738.o
(/usr/X11R6/lib/libX11.a)ds746.o
(/usr/X11R6/lib/libX11.a)ds741.o
(/usr/X11R6/lib/libX11.a)ds346.o
(/usr/X11R6/lib/libX11.a)ds344.o
(/usr/X11R6/lib/libX11.a)ds378.o
(/usr/X11R6/lib/libX11.a)ds426.o
(/usr/X11R6/lib/libX11.a)ds803.o
(/usr/X11R6/lib/libX11.a)ds730.o
(/usr/X11R6/lib/libX11.a)ds747.o
(/usr/X11R6/lib/libX11.a)ds734.o
(/usr/X11R6/lib/libX11.a)ds727.o
(/usr/X11R6/lib/libX11.a)ds336.o
(/usr/X11R6/lib/libX11.a)ds728.o
(/usr/X11R6/lib/libX11.a)ds735.o
(/usr/X11R6/lib/libX11.a)ds737.o
(/usr/X11R6/lib/libX11.a)ds732.o
(/usr/X11R6/lib/libX11.a)ds327.o
(/usr/X11R6/lib/libX11.a)ds342.o
(/usr/X11R6/lib/libX11.a)ds161.o
(/usr/X11R6/lib/libX11.a)ds754.o
(/usr/X11R6/lib/libX11.a)ds89.o
(/usr/X11R6/lib/libX11.a)ds434.o
(/usr/X11R6/lib/libX11.a)ds360.o
(/usr/X11R6/lib/libX11.a)ds402.o
(/usr/X11R6/lib/libX11.a)ds238.o
(/usr/X11R6/lib/libX11.a)ds401.o
(/usr/X11R6/lib/libX11.a)ds403.o
(/usr/X11R6/lib/libX11.a)ds36.o
(/usr/X11R6/lib/libX11.a)ds303.o
(/usr/X11R6/lib/libX11.a)ds163.o
(/usr/X11R6/lib/libX11.a)ds453.o
(/usr/X11R6/lib/libX11.a)ds405.o
(/usr/X11R6/lib/libX11.a)ds723.o
(/usr/X11R6/lib/libX11.a)ds398.o
(/usr/X11R6/lib/libX11.a)ds91.o
(/usr/X11R6/lib/libX11.a)ds15.o
(/usr/X11R6/lib/libX11.a)ds108.o
(/usr/X11R6/lib/libX11.a)ds277.o
(/usr/X11R6/lib/libX11.a)ds172.o
(/usr/X11R6/lib/libX11.a)ds314.o
(/usr/X11R6/lib/libX11.a)ds264.o
(/usr/X11R6/lib/libX11.a)ds176.o
(/usr/X11R6/lib/libX11.a)ds180.o
(/usr/X11R6/lib/libX11.a)ds64.o
(/usr/X11R6/lib/libX11.a)ds444.o
(/usr/X11R6/lib/libX11.a)ds263.o
(/usr/X11R6/lib/libX11.a)ds170.o
(/usr/X11R6/lib/libX11.a)ds63.o
(/usr/X11R6/lib/libX11.a)ds269.o
(/usr/X11R6/lib/libX11.a)ds311.o
(/usr/X11R6/lib/libX11.a)ds447.o
(/usr/X11R6/lib/libX11.a)ds439.o
(/usr/X11R6/lib/libX11.a)ds438.o
(/usr/X11R6/lib/libX11.a)ds232.o
(/usr/X11R6/lib/libX11.a)ds233.o
(/usr/X11R6/lib/libX11.a)ds436.o
(/usr/X11R6/lib/libX11.a)ds437.o
(/usr/X11R6/lib/libX11.a)ds230.o
(/usr/X11R6/lib/libX11.a)ds231.o
(/usr/X11R6/lib/libX11.a)ds255.o
(/usr/X11R6/lib/libX11.a)ds30.o
(/usr/X11R6/lib/libX11.a)ds192.o
(/usr/X11R6/lib/libX11.a)ds212.o
(/usr/X11R6/lib/libX11.a)ds388.o
(/usr/X11R6/lib/libX11.a)ds285.o
(/usr/X11R6/lib/libX11.a)ds348.o
(/usr/X11R6/lib/libX11.a)ds228.o
(/usr/X11R6/lib/libX11.a)ds279.o
(/usr/X11R6/lib/libX11.a)ds427.o
(/usr/X11R6/lib/libX11.a)ds362.o
(/usr/X11R6/lib/libX11.a)ds56.o
(/usr/X11R6/lib/libX11.a)ds247.o
(/usr/X11R6/lib/libX11.a)ds671.o
(/usr/X11R6/lib/libX11.a)ds178.o
(/usr/X11R6/lib/libX11.a)ds202.o
(/usr/X11R6/lib/libX11.a)ds201.o
(/usr/X11R6/lib/libX11.a)ds55.o
(/usr/X11R6/lib/libX11.a)ds423.o
(/usr/X11R6/lib/libX11.a)ds183.o
(/usr/X11R6/lib/libX11.a)ds252.o
(/usr/X11R6/lib/libX11.a)ds460.o
(/usr/X11R6/lib/libX11.a)ds320.o
(/usr/X11R6/lib/libX11.a)ds273.o
(/usr/X11R6/lib/libX11.a)ds316.o
(/usr/X11R6/lib/libX11.a)ds743.o
(/usr/X11R6/lib/libX11.a)dh.o
(/usr/X11R6/lib/libX11.a)dt.o
attempt to open ../lib/libgcc.a failed
attempt to open /usr/X11R6/lib/libgcc.a failed
attempt to open /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libgcc.a succeeded
(/usr/lib/gcc-lib/i586-cygwin32/2.95.2/libgcc.a)_chkstk.o
attempt to open ../lib/libcygwin.a failed
attempt to open /usr/X11R6/lib/libcygwin.a failed
attempt to open /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libcygwin.a failed
attempt to open /usr/lib/gcc-lib/libcygwin.a failed
attempt to open /usr/i586-pc-cygwin32/lib/libcygwin.a succeeded
(/usr/i586-pc-cygwin32/lib/libcygwin.a)libccrt0.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00007.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00896.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00918.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00474.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00577.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00609.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00613.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00745.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00780.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00585.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00606.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00783.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00919.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00909.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00686.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00818.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00066.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00802.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00907.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00479.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00905.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00009.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00482.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00911.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00904.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00793.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00969.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00901.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00597.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00638.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00906.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00902.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00452.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00754.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00921.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00662.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00671.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00663.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00647.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00755.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00639.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00005.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00831.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00670.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00753.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00656.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00634.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00786.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00931.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00908.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00553.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00551.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)ds00550.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)dh.o
(/usr/i586-pc-cygwin32/lib/libcygwin.a)dt.o
attempt to open ../lib/libuser32.a failed
attempt to open /usr/X11R6/lib/libuser32.a failed
attempt to open /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libuser32.a failed
attempt to open /usr/lib/gcc-lib/libuser32.a failed
attempt to open /usr/i586-pc-cygwin32/lib/libuser32.a succeeded
attempt to open ../lib/libkernel32.a failed
attempt to open /usr/X11R6/lib/libkernel32.a failed
attempt to open /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libkernel32.a
failed
attempt to open /usr/lib/gcc-lib/libkernel32.a failed
attempt to open /usr/i586-pc-cygwin32/lib/libkernel32.a succeeded
(/usr/i586-pc-cygwin32/lib/libkernel32.a)ds00290.o
(/usr/i586-pc-cygwin32/lib/libkernel32.a)dh.o
(/usr/i586-pc-cygwin32/lib/libkernel32.a)dt.o
attempt to open ../lib/libadvapi32.a failed
attempt to open /usr/X11R6/lib/libadvapi32.a failed
attempt to open /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libadvapi32.a
failed
attempt to open /usr/lib/gcc-lib/libadvapi32.a failed
attempt to open /usr/i586-pc-cygwin32/lib/libadvapi32.a succeeded
attempt to open ../lib/libshell32.a failed
attempt to open /usr/X11R6/lib/libshell32.a failed
attempt to open /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libshell32.a
failed
attempt to open /usr/lib/gcc-lib/libshell32.a failed
attempt to open /usr/i586-pc-cygwin32/lib/libshell32.a succeeded
attempt to open ../lib/libgcc.a failed
attempt to open /usr/X11R6/lib/libgcc.a failed
attempt to open /usr/lib/gcc-lib/i586-cygwin32/2.95.2/libgcc.a succeeded
(/usr/lib/gcc-lib/i586-cygwin32/2.95.2/libgcc.a)_ctors.o
/usr/X11R6/lib/libXt.a(Shell.o): In function `StopManagingSession':
/d/xc-4/xc/lib/Xt/Shell.c:2766: undefined reference to
`SmcCloseConnection'
/usr/X11R6/lib/libXt.a(Shell.o): In function `JoinSession':
/d/xc-4/xc/lib/Xt/Shell.c:2796: undefined reference to
`SmcModifyCallbacks'
/d/xc-4/xc/lib/Xt/Shell.c:2797: undefined reference to `SmcClientID'
/d/xc-4/xc/lib/Xt/Shell.c:2801: undefined reference to
`SmcOpenConnection'
/d/xc-4/xc/lib/Xt/Shell.c:2824: undefined reference to
`SmcGetIceConnection'
/d/xc-4/xc/lib/Xt/Shell.c:2825: undefined reference to
`IceConnectionNumber'
/usr/X11R6/lib/libXt.a(Shell.o): In function `SetSessionProperties':
/d/xc-4/xc/lib/Xt/Shell.c:3017: undefined reference to
`SmcSetProperties'
/d/xc-4/xc/lib/Xt/Shell.c:3030: undefined reference to
`SmcSetProperties'
/d/xc-4/xc/lib/Xt/Shell.c:3040: undefined reference to
`SmcDeleteProperties'
/usr/X11R6/lib/libXt.a(Shell.o): In function `GetIceEvent':
/d/xc-4/xc/lib/Xt/Shell.c:3057: undefined reference to
`SmcGetIceConnection'
/d/xc-4/xc/lib/Xt/Shell.c:3057: undefined reference to
`IceProcessMessages'
/usr/X11R6/lib/libXt.a(Shell.o): In function `CallSaveCallbacks':
/d/xc-4/xc/lib/Xt/Shell.c:3084: undefined reference to
`SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtInteractPermission':
/d/xc-4/xc/lib/Xt/Shell.c:3150: undefined reference to `SmcInteractDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtCallCancelCallbacks':
/d/xc-4/xc/lib/Xt/Shell.c:3213: undefined reference to
`SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.a(Shell.o): In function `XtSessionReturnToken':
/d/xc-4/xc/lib/Xt/Shell.c:3316: undefined reference to
`SmcInteractRequest'
/d/xc-4/xc/lib/Xt/Shell.c:3336: undefined reference to `SmcInteractDone'
/d/xc-4/xc/lib/Xt/Shell.c:3349: undefined reference to
`SmcRequestSaveYourselfPhase2'
/d/xc-4/xc/lib/Xt/Shell.c:3354: undefined reference to
`SmcSaveYourselfDone'
collect2: ld returned 1 exit status
[Leaving E:\TEMP/ccF2YYIG.c]
[Leaving E:\TEMP/cc8bjRFd.o]
[Leaving E:\TEMP/ccB9Cw4M.ld]
[Leaving sxpm.exe]

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list