On 18-Mar-09, at 4:41 PM, Christian Biere wrote:

>
> Could you pin-point at what part of Configure the crashes occur?

Basically what's been happening is that I've been being notified in  
the GUI that crash reports have been logged (so I can send the to  
Apple if needed).  Either the logging system or more likely the  
notification system is a lot sluggy — it doesn't use the regular  
windows manager or some such technical excuse above my comprehension  
level — so I only get as many notices as the general system load allows.

I noticed that feeding garbage into the ld command line provokes a  
response thusly:

> ld ijfijojofi fsfkop  
> sfofopko 
>                                                                               
>                                 [23 
> :57:45]
> terminate called after throwing an instance of 'char const*'
> terminate called recursively
> zsh: abort      ld ijfijojofi fsfkop sfofopko

Additionally, it will provoke an error message in the GUI, just as the  
failures in Configure did.  So, I  figure this is the sort of error  
that's causing the trouble.  Abort trap errors can be seen to occur  
several times, with $trylink edited so that it doesn't dump stderr to / 
dev/null.

I need to get to bed, so here's a cut & paste of Configure running  
with cc errors intact.  The problem areas will with luck make instant  
and total sense to you.

#    #    #   #    #

~/prj/gtk- 
gnutella 
 > 
buildgtk 
                                                                                
                                                                [0 
:55:30]
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
Operating system name? [darwin]
Operating system version? [9.6.0]
Enable remote control service [n]
Run without any GUI interface [n]
Use which GTK toolkit (1 or 2) [1]
Do you expect to run these scripts and binaries on multiple machines?  
[n]
Installation prefix to use? (~name ok) [/usr/local]
AFS does not seem to be running...
Pathname where the public executables will reside? (~name ok)
[/usr/local/bin]
System manual is in /usr/local/man.
Where do the manual pages (source) go? (~name ok)
[/usr/local/share/man/man1]
Pathname where the private library files will reside? (~name ok)
[/usr/local/share/gtk-gnutella]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/lib /usr/local/lib]
What optimizer/debugger flag should be used? [-O2 -g]
Any additional cc flags?
[-W -Wall -Wformat=2 -Wshadow -mcpu=7450 -O2 -ggdb3 -Wno-shadow -pipe]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [none]
Checking your choice of C compiler and flags for coherency...
Computing filename position in cpp output for #include directives...
<libintl.h> found.
You have NLS support.
Shall I enable NLS [n]
<unistd.h> found.
<sys/file.h> defines the *_OK access constants.
<stdlib.h> found.
Checking whether your compiler can handle __attribute__ ...
try.c: In function ‘main’:
try.c:14: warning: implicit declaration of function ‘closefrom’
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_closefrom", referenced from:
       _main in cc3gEU9T.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
Checking to see if your C compiler knows about "const"...
Checking how we can gather information about dbus...
You've don't seem to have dbus installed?
try.c:2:21: error: stropts.h: No such file or directory
try.c:3:25: error: sys/devpoll.h: No such file or directory
try.c: In function ‘main’:
try.c:7: error: storage size of ‘dvp’ isn’t known
try.c:16: error: ‘POLLREMOVE’ undeclared (first use in this function)
try.c:16: error: (Each undeclared identifier is reported only once
try.c:16: error: for each function it appears in.)
try.c:21: warning: implicit declaration of function ‘ioctl’
try.c:21: error: ‘DP_POLL’ undeclared (first use in this function)
try.c:7: warning: unused variable ‘dvp’
<dirent.h> found.
try.c:2:23: error: sys/epoll.h: No such file or directory
try.c: In function ‘main’:
try.c:5: error: storage size of ‘ev’ isn’t known
try.c:7: warning: implicit declaration of function ‘epoll_create’
try.c:8: error: ‘EPOLLOUT’ undeclared (first use in this function)
try.c:8: error: (Each undeclared identifier is reported only once
try.c:8: error: for each function it appears in.)
try.c:9: error: ‘EPOLLPRI’ undeclared (first use in this function)
try.c:10: error: ‘EPOLLERR’ undeclared (first use in this function)
try.c:11: error: ‘EPOLLHUP’ undeclared (first use in this function)
try.c:12: error: ‘EPOLLET’ undeclared (first use in this function)
try.c:17: warning: implicit declaration of function ‘epoll_ctl’
try.c:17: error: ‘EPOLL_CTL_ADD’ undeclared (first use in this function)
try.c:18: error: ‘EPOLL_CTL_MOD’ undeclared (first use in this function)
try.c:19: error: ‘EPOLL_CTL_DEL’ undeclared (first use in this function)
try.c:20: warning: implicit declaration of function ‘epoll_wait’
try.c:5: warning: unused variable ‘ev’
Shall I enable "fast assertions" [y]
<arpa/inet.h> found.
<netdb.h> found.
Checking whether getaddrinfo() can be used ...
Checking whether geteuid() is available ...
<net/if.h> found.
Checking whether getifaddrs() is available ...
try.c:1:20: error: invent.h: No such file or directory
try.c: In function ‘main’:
try.c:4: error: nested functions are disabled, use -fnested-functions  
to re-enable
try.c:4: error: syntax error before ‘*’ token
try.c:5: error: ‘ret’ undeclared (first use in this function)
try.c:5: error: (Each undeclared identifier is reported only once
try.c:5: error: for each function it appears in.)
try.c:5: warning: implicit declaration of function ‘getinvent’
What is the file extension used for shared libraries? [dylib]
Checking for optional libraries...
Which libraries to use? [-lz -lresolv -liconv -lm -lintl]
Checking for GNU C Library...
Shall I use nm to extract C symbols from the libraries? [n]
getdtablesize() found.
Checking whether getuid() is available ...
Checking how we can gather information about GNU TLS...
Enable GNU TLS support [y]
<netinet/in.h> found.
<netinet/ip.h> found.
Checking for IP TOS (Type of Service) support...
Checking whether IPv6 can be used ...
Checking whether the member "udata" of "struct kevent" is an integer ...
try.c: In function ‘main’:
try.c:7: error: invalid operands to binary |
Checking whether kqueue() is available ...
Checking how we can gather information about libxml2...
<libcharset.h> found.
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_locale_charset", referenced from:
       _main in ccDRJLA9.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
<sys/stat.h> found.
<sys/mman.h> found.
try.c: In function ‘main’:
try.c:9: warning: implicit declaration of function ‘memalign’
try.c:9: warning: assignment makes pointer from integer without a cast
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_memalign", referenced from:
       _main in ccr3S5te.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
Checking whether "struct msghdr" has a member "msg_flags"...
<sys/file.h> defines the O_* constants...
and you have the 3 argument form of open().
<poll.h> found.
<sys/poll.h> found.
Checking whether posix_fadvise() is available ...
try.c: In function ‘main’:
try.c:10: error: ‘POSIX_FADV_NORMAL’ undeclared (first use in this  
function)
try.c:10: error: (Each undeclared identifier is reported only once
try.c:10: error: for each function it appears in.)
try.c:11: error: ‘POSIX_FADV_RANDOM’ undeclared (first use in this  
function)
try.c:12: error: ‘POSIX_FADV_SEQUENTIAL’ undeclared (first use in this  
function)
try.c:13: error: ‘POSIX_FADV_WILLNEED’ undeclared (first use in this  
function)
try.c:14: error: ‘POSIX_FADV_DONTNEED’ undeclared (first use in this  
function)
try.c:14: error: ‘POSIX_FADV_NOREUSE’ undeclared (first use in this  
function)
try.c:16: warning: implicit declaration of function ‘posix_fadvise’
Checking whether posix_memalign() is available ...
try.c: In function ‘main’:
try.c:10: warning: implicit declaration of function ‘posix_memalign’
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_posix_memalign", referenced from:
       _main in ccJDACbl.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
try.c: In function ‘main’:
try.c:13: warning: implicit declaration of function ‘preadv’
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_preadv", referenced from:
       _main in ccEYHm76.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
try.c: In function ‘main’:
try.c:13: warning: implicit declaration of function ‘pwritev’
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_pwritev", referenced from:
       _main in ccoZ6KMG.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
<sys/resource.h> found.
Checking whether SA_INTERRUPT is available in <signal.h>...
try.c: In function ‘main’:
try.c:5: error: ‘SA_INTERRUPT’ undeclared (first use in this function)
try.c:5: error: (Each undeclared identifier is reported only once
try.c:5: error: for each function it appears in.)
try.c:2:26: error: sys/sendfile.h: No such file or directory
try.c: In function ‘main’:
try.c:9: warning: implicit declaration of function ‘sendfile’
try.c:2:26: error: sys/sendfile.h: No such file or directory
try.c: In function ‘main’:
try.c:9: warning: implicit declaration of function ‘sendfile’
try.c: In function ‘main’:
try.c:12: warning: implicit declaration of function ‘setproctitle’
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_setproctitle", referenced from:
       _main in ccXmJplw.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
POSIX sigsetjmp found.
Checking whether getaddrinfo() can be used ...
<sys/mount.h> found.
<sys/param.h> found.
<sys/vfs.h> NOT found.
<sys/times.h> found.
times() found.
What type is returned by times() on this system? [clock_t]
Figuring out host name...
Your host name appears to be "theimac.local". Right? [y]
uname() found.
Checking to see if your C compiler knows about "volatile"...
try.c: In function ‘func’:
try.c:10: warning: ‘ap’ is used uninitialized in this function
Checking whether we need flags for large file support...
Checking alignment constraints...
Doubles must be aligned on a how-many-byte boundary? [4]
Checking to see how your cpp does stuff like catenate tokens...
You have void (*signal())() instead of int.
Figuring out the flag used by open() for non-blocking I/O...
Let's see what value errno gets from read() on a O_NONBLOCK file...
Compiling for GTK 1: we'll use 'glade'.
Checking how we can gather information about GLib...
Checking how we can gather information about GTK+...
Figuring out my version number...
Looking for a BSD-compatible install program...
Which install program shall I use? (~name ok) [/usr/bin/install]
Ok, let's see how we can create nested directories...
Which memory models are supported? [none]
Checking if your /usr/bin/make program sets $(MAKE)...
Checking how to generate makefile dependencies on your machine...
Name of program to make makefile dependencies? (~name ok)
[/Users/mlye/prj/gtk-gnutella/mkdep]
Let's see whether your /usr/local/bin/msgmerge supports the --update  
flag...
Checking out function prototypes...
Checking how to generate random libraries on your machine...
Checking to see how well your C compiler groks the void type...
Which compiler compiler (yacc or bison -y) shall I use? [yacc]
Any additional yacc flags? [none]
<sys/file.h> found.
We'll be including <sys/file.h>.
<fcntl.h> found.
We don't need to include <fcntl.h> if we include <sys/file.h>.
<ifaddrs.h> found.
<inttypes.h> found.
<invent.h> NOT found.
<langinfo.h> found.
<math.h> found.
<pwd.h> found.
<regex.h> found.
<stdarg.h> found.
<varargs.h> found.
We'll include <stdarg.h> to get va_dcl definition.
Using <string.h> instead of <strings.h>.
<sys/sendfile.h> NOT found.
<sys/socket.h> found.
<sys/statvfs.h> found.
<sys/sysctl.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
We'll include <sys/time.h>.
<sys/types.h> found.
<sys/un.h> found.
<sys/utsname.h> found.
<iconv.h> found.
<zlib.h> found.
Checking whether -mieee should be used...
cc1: error: invalid option ‘ieee’
Checking whether -pipe should be used...

Feature Summary (Version 0.96.6u):
-------------------------------------------------
GLib version                       : glib-1.x
GUI front-end                      : GTK1
GNU TLS support                    : yes
IPv6 support                       : yes
NLS (Native Language Support)      : no
Fast assertions                    : yes
DBus support (experimental)        : no
Remote Shell Interface (deprecated): no
-------------------------------------------------
Creating config.sh...
Doing variable substitutions on .SH files...
Extracting Makefile (with variable substitutions)
Extracting config.h (with variable substitutions)
Extracting extra_files/Makefile (with variable substitutions)
Extracting extra_files/el/Makefile (with variable substitutions)
Extracting extra_files/en/Makefile (with variable substitutions)
Extracting extra_files/ja/Makefile (with variable substitutions)
Extracting gtk-gnutella.spec (with variable substitutions)
Extracting install (with variable substitutions)
Extracting pixmaps/Makefile (with variable substitutions)
Extracting po/Makefile (with variable substitutions)
Extracting src/Makefile (with variable substitutions)
Extracting src/core/Makefile (with variable substitutions)
Extracting src/dht/Makefile (with variable substitutions)
Extracting src/if/Makefile (with variable substitutions)
Extracting src/if/bridge/Makefile (with variable substitutions)
Extracting src/lib/Makefile (with variable substitutions)
Extracting src/sdbm/Makefile (with variable substitutions)
Extracting src/shell/Makefile (with variable substitutions)
Extracting src/ui/Makefile (with variable substitutions)
Extracting src/ui/gtk/Makefile (with variable substitutions)
Extracting src/ui/gtk/gtk1/Makefile (with variable substitutions)
Extracting src/ui/gtk/gtk2/Makefile (with variable substitutions)
Run /usr/bin/make depend now? [y]



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to