This is the mail archive of the cygwin-xfree@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin /tmp\foo behaviour


Do you have a /tmp directory under / ?  If there is no
/tmp directory, make cannot write temporary files to
it and you will indeed get "ld: cannot open
/tmpfoo.exe: No such file or directory"

Suhaib

--- Trevor Forbes <trevorforbes@ozemail.com.au> wrote:
> When building Xfree I get the following error using
> cygwin1.1.2
> 
> rm -f libX11.a
> rm -f libX11.dll
> if [ -f /tmp/DLL_BASE_COUNTER ]; then true; \
> else echo 0x67000000 > /tmp/DLL_BASE_COUNTER; fi
> dllwrap -s --def X11.def --output-lib libX11.a -o
> libX11.dll Context.o
> Depths.o  ParseCmd.o  Quarks.o
> >
> parts removes
> >
> ..omTextPer.o  omXChar.o  junk.o  -image-base `cat
> /tmp/DLL_BASE_COUNTER`
>
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/bin/ld:
> Can't open base file /tmp\cc017659.base
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make[4]: *** [libX11.dll] Error 1
> make[4]: Target `all' not remade because of errors.
> make[4]: Leaving directory
> `/e/build2/cygwin-xfree/lib/X11'
> 
> 
> I assumed that "Can't open base file
> /tmp\cc017659.base" is the problem?
> 
> If I do a test
> $ ld /tmp\foo.exe
> ld: cannot open /tmpfoo.exe: No such file or
> directory
>                             ^^^^^^^^^^^
> Is this the expected behaviour with the latest
> Cygwin?
> 
> Does any one else see the same problem or have I
> done something wrong?
> 
> 
> Trevor
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]