From help-octave-request at bevo dot che dot wisc dot edu Wed Apr 19 07:10:43 2000 Subject: mkoctfile: Problems sometimes during linking of text file From: Stephen Eglen To: help-octave at bevo dot che dot wisc dot edu Date: Wed, 19 Apr 2000 13:10:40 +0100 Hi, Sometimes when using mkoctfile, I get the followng error during the final link stage (I've put the \ continuation lines in myself): c++ -c -I/home/data6/stephen/include -I/home/data6/stephen/include \ -I/home/data6/stephen/include/octave-2.0.16 -mieee-with-inexact \ -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall \ sjevor_wrap.cc -o sjevor_wrap.o c++ -shared -Xlinker -expect_unresolved -Xlinker '*' \ -o sjevor_wrap.oct sjevor.o sjevor_wrap.o /usr/ucb/ld: Can't create output file (Text file busy) collect2: ld returned 1 exit status It looks to me that it may be a ld problem rather than anything to do with Octave. This happens about one time in four of running the compilation; normally when I get it, if I recompile then it all works okay. I was just wondering if anyone else got this, and if I can do anything about it. By the way, I don't call mkoctfile directly, but use the matwrap perl script to do the hard work. This is on DEC OSF/1. Cheers, Stephen ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------