Ticket #71 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

OS X + libgc build problems

Reported by: mooneer Owned by: mooneer
Priority: major Milestone:
Component: interpreter Version: 1.0b8
Keywords: Cc:

Description

gcc -Wall -W -fno-omit-frame-pointer -fPIC -Ivm/ -Iobjs/ -DLIBRARY_SEARCH_PATH=\"/Users/mooneer/Desktop/build//lib/kite:/Users/mooneer/Desktop/build//lib/kite/local-pkgs:.\" -DCINVOKE_BUILD -g -I/opt/local/include -fPIC -o kite kite.o  -L/opt/local/lib ./.libs/libkite.a -ldl -lm /opt/local/lib/libgc.dylib -lpthread  
Undefined symbols:
  "_GC_pthread_sigmask", referenced from:
      _kite_start_bytecode in libkite.a(kite_thread.o)
  "_GC_dlopen", referenced from:
      _kite_load_dylib in libkite.a(kite_obj_locate.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

and

gcc -DHAVE_CONFIG_H -I.   -I/opt/local/include -Wall -W -fno-omit-frame-pointer -fPIC -Ivm/ -Iobjs/ -DLIBRARY_SEARCH_PATH=\"/Users/mooneer/Desktop/build//lib/kite:/Users/mooneer/Desktop/build//lib/kite/local-pkgs:.\" -DCINVOKE_BUILD -g -I/opt/local/include -MT ikt.o -MD -MP -MF .deps/ikt.Tpo -c -o ikt.o `test -f 'apps/ikt.c' || echo './'`apps/ikt.c
apps/ikt.c: In function ‘fetch_line’:
apps/ikt.c:103: warning: implicit declaration of function ‘add_history’
apps/ikt.c: In function ‘main’:
apps/ikt.c:172: error: ‘GC_PTR’ undeclared (first use in this function)
apps/ikt.c:172: error: (Each undeclared identifier is reported only once
apps/ikt.c:172: error: for each function it appears in.)
apps/ikt.c:172: error: syntax error before ‘GC_malloc’
apps/ikt.c:129: warning: unused variable ‘file’
make[2]: *** [ikt.o] Error 1

Change History

comment:1 Changed 3 years ago by mooneer

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r473.

Note: See TracTickets for help on using tickets.