Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion libinterp.a has no table of contents
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sam  
View profile  
 More options Apr 10 2009, 3:26 pm
From: sam <s.a.hopk...@gmail.com>
Date: Fri, 10 Apr 2009 12:26:14 -0700 (PDT)
Local: Fri, Apr 10 2009 3:26 pm
Subject: Re: libinterp.a has no table of contents
Problem solved - had to add -s to arflags in /sys/MacOSX/386/profile.
It was a good exercise in figuring out how the compilation profiles
work.  Neat stuff.

Sam

On Apr 10, 12:52 pm, sam <s.a.hopk...@gmail.com> wrote:

> 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.