[M3devel] Missing .M3EXPORTS

Rodney M. Bates rodney.bates at wichita.edu
Thu Aug 16 22:49:08 CEST 2007


No, I hadn't, but it didn't help.  Note it is in m3core that the
.M3EXPORTS is not found, while I was trying to compile in m3middle.

In any case, it should be normal to do a compile in a directory
that has a partially populated LINUXLIBC6 (or whatever), expecting
the compiler to figure out what to do.

I tried departing from the listed order and building/shipping
m3core and libm3, before m3middle, and that got the bootstrap
going.  These did not have a LINUXLIBC6 directory, I suppose
because of the realclean.

Tony Hosking wrote:
> Did you "rm -rf LINUXLIBC6" before "cm3 -build"?
> 
> On Aug 16, 2007, at 12:19 PM, Rodney M. Bates wrote:
> 
>> What does the following failure mean?  I run into it regularly.
>>
>> ---------------------------------------------------------------------- 
>> ----------------------------
>> rodney at runnymede:~/proj/m3/cm3-fresh/cm3/m3-sys/m3middle$ cm3 -build
>> --- building in LINUXLIBC6 ---
>>
>> ignoring ../src/m3overrides
>>
>> "/usr/local/cm3/pkg/libm3/LINUXLIBC6/.M3EXPORTS", line 4: quake  
>> runtime error: unable to open "/home/rodney/proj/m3/cm3-fresh/cm3/ 
>> m3-libs/m3core/LINUXLIBC6/.M3EXPORTS" for reading
>>
>> --procedure--  -line-  -file---
>> import_version      --  <builtin>
>> import              4  /usr/local/cm3/pkg/libm3/LINUXLIBC6/.M3EXPORTS
>> include_dir        11  /home/rodney/proj/m3/cm3-fresh/cm3/m3-sys/ 
>> m3middle/src/m3makefile
>>                     4  /home/rodney/proj/m3/cm3-fresh/cm3/m3-sys/ 
>> m3middle/LINUXLIBC6/m3make.args
>>
>> Fatal Error: package build failed
>>
>> ---------------------------------------------------------------------- 
>> ----------------------------
>>
>> Prior to this, I copied in cm3, cm3cg, and cm3.cfg from antony's  ftp 
>> site into
>> /usr/local/cm3/bin.  I did a couple of tweaks to cm3.cfg for my  library
>> locations and -gstabs to m3-link.  I did a cvs update for the whole  
>> cm3 head,
>> then did scripts/do-cm3-std.sh realclean.  In m3cc, I did cm3 - build 
>> and cm3 -ship.
>>
>> -- 
>> -------------------------------------------------------------
>> Rodney M. Bates, retired assistant professor
>> Dept. of Computer Science, Wichita State University
>> Wichita, KS 67260-0083
>> 316-978-3922
>> rodney.bates at wichita.edu
> 
> 
> 

-- 
-------------------------------------------------------------
Rodney M. Bates, retired assistant professor
Dept. of Computer Science, Wichita State University
Wichita, KS 67260-0083
316-978-3922
rodney.bates at wichita.edu



More information about the M3devel mailing list