guile-devel
[Top][All Lists]
Advanced

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

Re: What can I do to help? (conclusions)


From: Andreas Rottmann
Subject: Re: What can I do to help? (conclusions)
Date: 07 Oct 2002 11:00:39 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Marius Vollmer <address@hidden> writes:

> Andreas Rottmann <address@hidden> writes:
> 
> > No, you don't compile using C++, just use g++ for the linking
> > stage. This way the executable will be linked against libstdc++, but
> > there should be no other user-visible effects except that C++ modules
> > will work.
> 
> In my experience, you don't need to do that on GNU/Linux but you need
> to on Solaris.  Does that match your experience?
> 
No, you have to link with C++ on both platforms, otherwise things like
exceptions won't work/crash, AFAIR.

> In any case: do you have a patch?  We might even link with g++ by
> default when it is available.
> 
I'll supply one, but currently guile CVS is fucked:

make[2]: Entering directory 
`/home/andy/src/foreign/guile/guile-core/libguile-ltdl'
source='guile-ltdl.c' object='guile-ltdl.lo' libtool=yes \
depfile='.deps/guile-ltdl.Plo' tmpdepfile='.deps/guile-ltdl.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../libguile 
-I.. -I./..    -g -O2 -Wall -Wmissing-prototypes -c -o guile-ltdl.lo `test -f 
'guile-ltdl.c' || echo './'`guile-ltdl.c
gcc -DHAVE_CONFIG_H -I. -I. -I../libguile -I.. -I./.. -g -O2 -Wall 
-Wmissing-prototypes -c guile-ltdl.c -Wp,-MD,.deps/guile-ltdl.TPlo  -fPIC -DPIC 
-o guile-ltdl.lo
In file included from guile-ltdl.c:43:
raw-ltdl.c:245: warning: `strchr' redefined
/usr/include/bits/string2.h:391: warning: this is the location of the previous 
definition
In file included from guile-ltdl.c:43:
raw-ltdl.c:417: parse error before `rpl_argz_append'
raw-ltdl.c:418: warning: type defaults to `int' in declaration of 
`rpl_argz_append'
raw-ltdl.c:418: warning: data definition has no type or storage class
raw-ltdl.c:421: parse error before `rpl_argz_append'
raw-ltdl.c:422: warning: return-type defaults to `int'
raw-ltdl.c: In function `rpl_argz_append':
raw-ltdl.c:442: `ENOMEM' undeclared (first use in this function)
raw-ltdl.c:442: (Each undeclared identifier is reported only once
raw-ltdl.c:442: for each function it appears in.)
raw-ltdl.c: At top level:
raw-ltdl.c:459: parse error before `rpl_argz_create_sep'
raw-ltdl.c:460: warning: type defaults to `int' in declaration of 
`rpl_argz_create_sep'
raw-ltdl.c:460: warning: data definition has no type or storage class
raw-ltdl.c:463: parse error before `rpl_argz_create_sep'
raw-ltdl.c:464: warning: return-type defaults to `int'
raw-ltdl.c: In function `rpl_argz_create_sep':
raw-ltdl.c:486: `ENOMEM' undeclared (first use in this function)
raw-ltdl.c: At top level:
raw-ltdl.c:522: parse error before `rpl_argz_insert'
raw-ltdl.c:523: warning: type defaults to `int' in declaration of 
`rpl_argz_insert'
raw-ltdl.c:523: warning: data definition has no type or storage class
raw-ltdl.c:526: parse error before `rpl_argz_insert'
raw-ltdl.c:527: warning: return-type defaults to `int'
raw-ltdl.c: In function `rpl_argz_insert':
raw-ltdl.c:559: `ENOMEM' undeclared (first use in this function)
raw-ltdl.c: At top level:
raw-ltdl.c:719: `LTDL_OBJDIR' undeclared here (not in a function)
raw-ltdl.c:1666: parse error before `*'
raw-ltdl.c:1668: warning: type defaults to `int' in declaration of `find_file'
raw-ltdl.c:1668: warning: data definition has no type or storage class
raw-ltdl.c: In function `tryall_dlopen_module':
raw-ltdl.c:1977: warning: implicit declaration of function `sprintf'
raw-ltdl.c: In function `argzize_path':
raw-ltdl.c:2112: `error_t' undeclared (first use in this function)
raw-ltdl.c:2112: parse error before `error'
raw-ltdl.c:2118: `error' undeclared (first use in this function)
raw-ltdl.c:2122: `ENOMEM' undeclared (first use in this function)
raw-ltdl.c:2123: warning: unreachable code at beginning of switch statement
raw-ltdl.c: In function `find_file_callback':
raw-ltdl.c:2220: `FILE' undeclared (first use in this function)
raw-ltdl.c:2220: `pfile' undeclared (first use in this function)
raw-ltdl.c:2220: parse error before `)'
raw-ltdl.c:2227: warning: implicit declaration of function `fopen'
raw-ltdl.c:2229: warning: initialization discards qualifiers from pointer 
target type
raw-ltdl.c: At top level:
raw-ltdl.c:2242: parse error before `*'
raw-ltdl.c:2244: warning: return-type defaults to `int'
raw-ltdl.c: In function `find_file':
raw-ltdl.c:2248: `FILE' undeclared (first use in this function)
raw-ltdl.c:2248: `file' undeclared (first use in this function)
raw-ltdl.c:2253: warning: control reaches end of non-void function
raw-ltdl.c: In function `try_dlopen':
raw-ltdl.c:2576: warning: assignment discards qualifiers from pointer target 
type
raw-ltdl.c:2603: `FILE' undeclared (first use in this function)
raw-ltdl.c:2603: `file' undeclared (first use in this function)
raw-ltdl.c:2604: parse error before `char'
raw-ltdl.c:2626: `i' undeclared (first use in this function)
raw-ltdl.c:2628: warning: implicit declaration of function `isalnum'
raw-ltdl.c:2689: `line_len' undeclared (first use in this function)
raw-ltdl.c:2690: `line' undeclared (first use in this function)
raw-ltdl.c:2693: warning: implicit declaration of function `fclose'
raw-ltdl.c:2699: warning: implicit declaration of function `feof'
raw-ltdl.c:2701: warning: implicit declaration of function `fgets'
raw-ltdl.c:2727: `dlname' undeclared (first use in this function)
raw-ltdl.c:2735: `old_name' undeclared (first use in this function)
raw-ltdl.c:2741: `libdir' undeclared (first use in this function)
raw-ltdl.c:2749: `deplibs' undeclared (first use in this function)
raw-ltdl.c:2753: `installed' undeclared (first use in this function)
raw-ltdl.c:2769: warning: assignment discards qualifiers from pointer target 
type
raw-ltdl.c: In function `lt_dlopenext':
raw-ltdl.c:2945: warning: assignment discards qualifiers from pointer target 
type
raw-ltdl.c: In function `lt_argz_insert':
raw-ltdl.c:3021: `error_t' undeclared (first use in this function)
raw-ltdl.c:3021: parse error before `error'
raw-ltdl.c:3023: `error' undeclared (first use in this function)
raw-ltdl.c:3027: `ENOMEM' undeclared (first use in this function)
raw-ltdl.c:3028: warning: unreachable code at beginning of switch statement
make[2]: *** [guile-ltdl.lo] Error 1
make[2]: Leaving directory 
`/home/andy/src/foreign/guile/guile-core/libguile-ltdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/andy/src/foreign/guile/guile-core/libguile-ltdl'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/andy/src/foreign/guile/guile-core'

Regards, Andy
-- 
Andreas Rottmann         | address@hidden        | address@hidden | 
address@hidden
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62




reply via email to

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