[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] re: compiling gst 2.1.8 on darwin
From: |
jerry mead |
Subject: |
[Help-smalltalk] re: compiling gst 2.1.8 on darwin |
Date: |
Tue, 2 Nov 2004 10:26:44 +0100 |
I reported earlier a problem which occurred while doing a make on
gst-2.1.8 on darwin.
My original problem revolved around the sigsegv implementation supplied
with the 2.1.8
distribution. I seem to have resolved that problem. I downloaded a
fresh version of the
libsigsegv-2.1 from
ftp.gnu.org/gnu/libsigsegv
and applied patches described in
http://www.macosxguru.net/article.php?
story=20040809122107698&mode=print.
The patches seem to fix the sigsegv problem. Having resolved that, I
replaced the sigsegv
directory in the 2.1.8 distribution with the 2.1 version I had patched.
[N.B.: you must change
the name of that installation directory from libsigsegv-2.1 to sigsegv
in order to match the
expectations of the gst makefile.]
But now I get a new error. It looks like there is a problem in the
inclusion of "poll.h". I played
around with this but was unable to resolve the problem. I continued to
get the make output
listed below.
Thanks for any help.
JM
===============================================
make all-recursive
Making all in lib-src
make[2]: Nothing to be done for `all'.
Making all in lightning
make[2]: Nothing to be done for `all'.
Making all in snprintfv
make all-recursive
Making all in snprintfv
make all-am
make[5]: Nothing to be done for `all-am'.
Making all in sigsegv
make TARGETSTACK=" all" all-recursive
Making all in src
make[4]: Nothing to be done for `all'.
Making all in m4
make[4]: Nothing to be done for `all'.
Making all in tests
make[4]: Nothing to be done for `all'.
Now please type 'make check' to run a quick test suite. Hope it works.
Making all in libgst
make all-am
if /bin/sh ../libtool --tag disable-shared --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I.. -I../lib-src -I../lightning -I../lightning
-I../snprintfv -I../snprintfv -I../sigsegv/src -I../sigsegv/src
-DKERNEL_PATH=\"/usr/local/share/smalltalk/kernel\" -Wall
-DIMAGE_PATH=\"/usr/local/share/smalltalk\"
-DMODULE_PATH=\"/usr/local/lib/smalltalk\" -g -O2 -Wall
-fstrict-aliasing -fno-gcse -Wno-strict-aliasing -Wno-switch
-Wno-format -Wno-parentheses -Wpointer-arith -MT events.lo -MD -MP -MF
".deps/events.Tpo" -c -o events.lo events.c; \
then mv -f ".deps/events.Tpo" ".deps/events.Plo"; else rm -f
".deps/events.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib-src -I../lightning
-I../lightning -I../snprintfv -I../snprintfv -I../sigsegv/src
-I../sigsegv/src -DKERNEL_PATH=\"/usr/local/share/smalltalk/kernel\"
-Wall -DIMAGE_PATH=\"/usr/local/share/smalltalk\"
-DMODULE_PATH=\"/usr/local/lib/smalltalk\" -g -O2 -Wall
-fstrict-aliasing -fno-gcse -Wno-strict-aliasing -Wno-switch
-Wno-format -Wno-parentheses -Wpointer-arith -MT events.lo -MD -MP -MF
.deps/events.Tpo -c events.c -o events.o
In file included from gstpriv.h:536,
from events.c:31:
../lib-src/mathl.h:34: warning: use of `long double' type; its size may
change in a future release
../lib-src/mathl.h:34: warning: (Long double usage is reported only
once for each file.
../lib-src/mathl.h:34: warning: To disable this warning, use
-Wno-long-double.)
events.c: In function `_gst_sync_file_polling':
events.c:137: error: storage size of `pfd' isn't known
events.c:143: error: `POLLIN' undeclared (first use in this function)
events.c:143: error: (Each undeclared identifier is reported only once
events.c:143: error: for each function it appears in.)
events.c:146: error: `POLLOUT' undeclared (first use in this function)
events.c:149: error: `POLLPRI' undeclared (first use in this function)
events.c:158: warning: implicit declaration of function `poll'
events.c:165: error: `POLLERR' undeclared (first use in this function)
events.c:165: error: `POLLHUP' undeclared (first use in this function)
events.c:165: error: `POLLNVAL' undeclared (first use in this function)
events.c:137: warning: unused variable `pfd'
events.c: In function `file_polling_handler':
events.c:198: error: invalid use of undefined type `struct pollfd'
events.c:198: error: dereferencing pointer to incomplete type
events.c:200: error: dereferencing pointer to incomplete type
events.c:201: error: dereferencing pointer to incomplete type
events.c:201: error: `POLLERR' undeclared (first use in this function)
events.c:201: error: `POLLHUP' undeclared (first use in this function)
events.c:201: error: `POLLNVAL' undeclared (first use in this function)
events.c:203: error: dereferencing pointer to incomplete type
events.c:216: error: dereferencing pointer to incomplete type
events.c:218: error: invalid use of undefined type `struct pollfd'
events.c:218: error: dereferencing pointer to incomplete type
events.c:218: error: dereferencing pointer to incomplete type
events.c: In function `_gst_async_file_polling':
events.c:251: error: invalid application of `sizeof' to an incomplete
type
events.c:254: error: invalid use of undefined type `struct pollfd'
events.c:254: error: dereferencing pointer to incomplete type
events.c:258: error: invalid use of undefined type `struct pollfd'
events.c:258: error: dereferencing pointer to incomplete type
events.c:258: error: `POLLIN' undeclared (first use in this function)
events.c:261: error: invalid use of undefined type `struct pollfd'
events.c:261: error: dereferencing pointer to incomplete type
events.c:261: error: `POLLOUT' undeclared (first use in this function)
events.c:264: error: invalid use of undefined type `struct pollfd'
events.c:264: error: dereferencing pointer to incomplete type
events.c:264: error: `POLLPRI' undeclared (first use in this function)
events.c:269: error: invalid use of undefined type `struct pollfd'
events.c:269: error: dereferencing pointer to incomplete type
make[3]: *** [events.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
- [Help-smalltalk] re: compiling gst 2.1.8 on darwin,
jerry mead <=