help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Building under OSX


From: Giuseppe Luigi Punzi
Subject: [Help-smalltalk] Building under OSX
Date: Sun, 3 Oct 2010 22:31:13 +0200

Hi,

I updated GST from git, and I can't build it. Some idea?

I get the following 'make all' output:
...
...
...
...

tfvc_la-format.o .libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-mem.o 
.libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-printf.o 
.libs/libgst.lax/libsnprintfvc.a/libsnprintfvc_la-stream.o 
ranlib: file: .libs/libgst.a(xlat.o) has no symbols
ranlib: file: .libs/libgst.a(mpz.o) has no symbols
ranlib: file: .libs/libgst.a(socketx.o) has no symbols
ranlib: file: .libs/libgst.a(darwin.o) has no symbols
ranlib: file: .libs/libgst.a(ffi.o) has no symbols
libtool: link: ranlib .libs/libgst.a
ranlib: file: .libs/libgst.a(xlat.o) has no symbols
ranlib: file: .libs/libgst.a(mpz.o) has no symbols
ranlib: file: .libs/libgst.a(socketx.o) has no symbols
ranlib: file: .libs/libgst.a(darwin.o) has no symbols
ranlib: file: .libs/libgst.a(ffi.o) has no symbols
libtool: link: rm -fr .libs/libgst.lax
libtool: link: ( cd ".libs" && rm -f "libgst.la" && ln -s "../libgst.la" 
"libgst.la" )
Making all in .
gcc -DHAVE_CONFIG_H -I.  -I./libgst -I./lib-src -DCMD_XZIP="\"/usr/bin/zip\"" 
-DCMD_INSTALL="\"/usr/bin/install -c\"" -DCMD_LN_S="\"ln -s\"" 
-DKERNEL_PATH=\""/usr/local/share/smalltalk/kernel"\" 
-DIMAGE_PATH=\""/usr/local/var/lib/smalltalk"\" 
-DMODULE_PATH=\""/usr/local/lib/smalltalk"\" 
-DLIBEXEC_PATH=\""/usr/local/libexec/smalltalk"\" -DPREFIX=\""/usr/local"\" 
-DEXEC_PREFIX=\""/usr/local"\" -DDEFAULT_EXECUTABLE=\""/usr/local/bin/gst"\"    
-g -O2 -Wall -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing 
-Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign 
-Wwrite-strings  -D_REENTRANT -I/opt/local/include/glib-2.0 
-I/opt/local/lib/glib-2.0/include -I/opt/local/include   -MT main.o -MD -MP -MF 
.deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -Wno-strict-aliasing 
-Wno-switch -fno-gcse -fstrict-aliasing -Wdeclaration-after-statement 
-Wno-format -Wpointer-arith -Wno-pointer-sign -Wwrite-strings  -D_REENTRANT 
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include 
-I/opt/local/include   -export-dynamic   -o gst main.o libgst/libgst.la 
lib-src/library.la   -lm  -L/opt/local/lib -lgobject-2.0 -lgthread-2.0 
-lglib-2.0 -lintl -liconv  
libtool: link: gcc -g -O2 -Wall -Wno-strict-aliasing -Wno-switch -fno-gcse 
-fstrict-aliasing -Wdeclaration-after-statement -Wno-format -Wpointer-arith 
-Wno-pointer-sign -Wwrite-strings -D_REENTRANT -I/opt/local/include/glib-2.0 
-I/opt/local/lib/glib-2.0/include -I/opt/local/include -o .libs/gst main.o  
libgst/.libs/libgst.dylib -L/opt/local/lib 
/Users/glpunzi/git/gst/sigsegv/src/.libs/libsigsegv.dylib 
lib-src/.libs/library.a -ldl -lm /opt/local/lib/libgobject-2.0.dylib 
/opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib -lresolv 
/opt/local/lib/libintl.dylib -lc 
/System/Library/Frameworks/System.framework/System 
/opt/local/lib/libiconv.dylib -framework Carbon
gcc -DHAVE_CONFIG_H -I.  -I./libgst -I./lib-src -DCMD_XZIP="\"/usr/bin/zip\"" 
-DCMD_INSTALL="\"/usr/bin/install -c\"" -DCMD_LN_S="\"ln -s\"" 
-DKERNEL_PATH=\""/usr/local/share/smalltalk/kernel"\" 
-DIMAGE_PATH=\""/usr/local/var/lib/smalltalk"\" 
-DMODULE_PATH=\""/usr/local/lib/smalltalk"\" 
-DLIBEXEC_PATH=\""/usr/local/libexec/smalltalk"\" -DPREFIX=\""/usr/local"\" 
-DEXEC_PREFIX=\""/usr/local"\" -DDEFAULT_EXECUTABLE=\""/usr/local/bin/gst"\"    
-g -O2 -Wall -Wno-strict-aliasing -Wno-switch -fno-gcse -fstrict-aliasing 
-Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign 
-Wwrite-strings  -D_REENTRANT -I/opt/local/include/glib-2.0 
-I/opt/local/lib/glib-2.0/include -I/opt/local/include   -MT gst-tool.o -MD -MP 
-MF .deps/gst-tool.Tpo -c -o gst-tool.o gst-tool.c
mv -f .deps/gst-tool.Tpo .deps/gst-tool.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -Wno-strict-aliasing 
-Wno-switch -fno-gcse -fstrict-aliasing -Wdeclaration-after-statement 
-Wno-format -Wpointer-arith -Wno-pointer-sign -Wwrite-strings  -D_REENTRANT 
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include 
-I/opt/local/include   -export-dynamic   -o gst-tool gst-tool.o 
libgst/libgst.la lib-src/library.la  -lm  -L/opt/local/lib -lgobject-2.0 
-lgthread-2.0 -lglib-2.0 -lintl -liconv  
libtool: link: gcc -g -O2 -Wall -Wno-strict-aliasing -Wno-switch -fno-gcse 
-fstrict-aliasing -Wdeclaration-after-statement -Wno-format -Wpointer-arith 
-Wno-pointer-sign -Wwrite-strings -D_REENTRANT -I/opt/local/include/glib-2.0 
-I/opt/local/lib/glib-2.0/include -I/opt/local/include -o .libs/gst-tool 
gst-tool.o  libgst/.libs/libgst.dylib -L/opt/local/lib 
/Users/glpunzi/git/gst/sigsegv/src/.libs/libsigsegv.dylib 
lib-src/.libs/library.a -ldl -lm /opt/local/lib/libgobject-2.0.dylib 
/opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib -lresolv 
/opt/local/lib/libintl.dylib -lc 
/System/Library/Frameworks/System.framework/System 
/opt/local/lib/libiconv.dylib -framework Carbon
/usr/bin/sed -e "s,@\(bindir\)@,/usr/local/bin," ./gst-mode.el.in \
          > gst-mode.el
/usr/bin/sed -e "s,@\(lispdir\)@,/usr/local/share/emacs/site-lisp," \
          -e "s/@\(WITH_EMACS_COMINT_TRUE\)@//" \
          ./smalltalk-mode-init.el.in > smalltalk-mode-init.el
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \
          set x; \
          list='smalltalk-mode.el gst-mode.el smalltalk-mode-init.el'; for p in 
$list; do \
            if test -f "$p"; then d=; else d="./"; fi; \
            set x "$@" "$d$p"; shift; \
          done; \
          shift; \
          EMACS="emacs" /bin/sh ./build-aux/elisp-comp "$@" || exit 1; \
        else : ; fi

In gst:
gst-mode.el:78:9:Warning: assignment to free variable `*smalltalk-process*'

In gst-filter:
gst-mode.el:151:18:Warning: assignment to free variable `mode-status'

In gst-mode:
gst-mode.el:210:9:Warning: assignment to free variable `mode-status'

In send-to-smalltalk:
gst-mode.el:367:22:Warning: assignment to free variable `mode-status'
gst-mode.el:381:12:Warning: reference to free variable `*smalltalk-process*'

In end of data:
gst-mode.el:390:1:Warning: the function `smalltalk-backward-whitespace' is not
    known to be defined.
Wrote /Users/glpunzi/git/gst/elc.10582/gst-mode.elc
Wrote /Users/glpunzi/git/gst/elc.10582/smalltalk-mode-init.elc

In end of data:
smalltalk-mode.el:1064:1:Warning: the following functions are not known to be
    defined: new-hit-point, smalltalk-update-hit-point
Wrote /Users/glpunzi/git/gst/elc.10582/smalltalk-mode.elc
./gst --no-user-files --kernel-dir "./kernel" --image gst.im -iQ /dev/null
make[2]: *** [gst.im] Bus error
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]