sam
unread,Apr 10, 2009, 12:52:06 PM4/10/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to acme-sac
Hello,
I'm going through acme-sac to understand how the inferno sac was
created. To that end I started by doing something simple to check my
understanding - changing the title bar name on the window - and
recompiling. I can't recompile emu for 386 MacOSX, though, due to a
loader error for libinterp.a:
% cd /sys/macosx
% sh build-macosx-386.sh
...
In file included from ./sys/emu/port/srv.c:7:
./sys/emu/MacOSX/srv.h:2: warning: missing '(' after '#pragma pack' -
ignored
./sys/emu/MacOSX/srv.h:40: warning: missing '(' after '#pragma pack' -
ignored
9c '-DROOT="."' -DEMU -I. -I../port -I../../MacOSX/386/include -I../../
include -I../../libinterp '-DKERNDATE='1239380450 emu.c
9l -o o.emu asm-386.o os.o win.o emu.root.o lock.o devroot.o
devcons.o devenv.o devmnt.o devpipe.o devprog.o devprof.o devsrv.o
devdup.o devssl.o devcap.o devfs.o devcmd.o cmd.o devindir.o devdraw.o
devpointer.o devsnarf.o devwmsz.o devip.o ipif.o ipaux.o deveia.o
devmem.o srv.o alloc.o cache.o chan.o dev.o dial.o dis.o discall.o
env.o error.o errstr.o exception.o exportfs.o inferno.o latin1.o
main.o parse.o pgrp.o print.o proc.o qio.o random.o sysfile.o uqid.o
emu.o ../../MacOSX/386/lib/libinterp.a ../../MacOSX/386/lib/
libmath.a ../../MacOSX/386/lib/libdraw.a ../../MacOSX/386/lib/
libmemlayer.a ../../MacOSX/386/lib/libmemdraw.a ../../MacOSX/386/lib/
libkeyring.a ../../MacOSX/386/lib/libsec.a ../../MacOSX/386/lib/
libmp.a ../../MacOSX/386/lib/lib9.a -lm -framework Carbon -framework
QuickTime -lpthread -framework CoreFoundation -framework IOKit
ld: in ./sys/MacOSX/386/lib/libinterp.a, archive has no table of
contents
collect2: ld returned 1 exit status
mk: 9c '-DROOT="."' -DEMU ... IOKit : exit status=14621
"Sh":fail:host: exit: 1
cd lib9 ; mk clean
...
% ls -l /sys/macosx/386/lib/libinterp.a
--rw-r--r-- U 0 sah staff 283756 Apr 10 12:20 /sys/macosx/386/lib/
libinterp.a
% ar t /sys/macosx/386/lib/libinterp.a
alt.o
comp-386.o
conv.o
dec.o
draw.o
gc.o
geom.o
heap.o
heapaudit.o
ipint.o
link.o
load.o
math.o
raise.o
readmod.o
runt.o
sign.o
stack.o
validstk.o
xec.o
das-386.o
keyring.o
string.o
Is there something else I need to do to get libinterp.a in order?
Cheers,
Sam