Re: problem w/ configure gtk+-1.2.10 Solaris 9



My config.log says:
...
configure:2284: checking whether make is GNU Make
configure:2302: checking how to run the C preprocessor
configure:2323: gcc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 2317 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
configure:2340: gcc -E -traditional-cpp -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2382: checking for ANSI C header files
...
configure:3215: checking for setenv
configure:3243: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/var/tmp//ccOi7vDb.o: In function `main':
/home/wins/builds/src/gnu/gtk+-1.2.8/configure:3237: undefined reference to `setenv'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char setenv(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char setenv();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_setenv) || defined (__stub___setenv)
choke me
#else
setenv();
#endif

; return 0; }
configure:3215: checking for setlocale
configure:3243: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
...
configure:3215: checking for __argz_count
configure:3243: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/var/tmp//ccEQyQyb.o: In function `main':
/home/wins/builds/src/gnu/gtk+-1.2.8/configure:3237: undefined reference to `__argz_count'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_count();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:3215: checking for __argz_stringify
configure:3243: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
...
configure:3243: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/var/tmp//cc6B8Fad.o: In function `main':
/home/wins/builds/src/gnu/gtk+-1.2.8/configure:3237: undefined reference to `__argz_stringify'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_stringify();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:3215: checking for __argz_next
configure:3243: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/var/tmp//ccumGfsa.o: In function `main':
/home/wins/builds/src/gnu/gtk+-1.2.8/configure:3237: undefined reference to `__argz_next'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3220 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_next();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:3272: checking for stpcpy
configure:3300: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
...
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/var/tmp//ccICyEXa.o: In function `main':
/home/wins/builds/src/gnu/gtk+-1.2.8/configure:3294: undefined reference to `stpcpy'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3277 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); below.  */
#include <assert.h>

/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stpcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:3334: checking for LC_MESSAGES
configure:3346: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c  1>&5
...
/home/wins/builds/src/gnu/gtk+-1.2.8/configure:3717: undefined reference to `_nl_msg_cat_cntr'
/home/wins/builds/src/gnu/gtk+-1.2.8/configure:3717: undefined reference to `_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3713 "configure"
#include "confdefs.h"

int main() {
extern int _nl_msg_cat_cntr;
                               return _nl_msg_cat_cntr
; return 0; }
configure:3997: checking for catalogs to be installed
configure:4107: checking for extra flags to get ANSI library prototypes
configure:4121: gcc -o conftest -g -O2 -Wall -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c   -lm 1>&5
...
configure:4397: gcc -o conftest -g -O2 -Wall -I/usr/local/lib/glib/include -I/usr/local/include -D_REENTRANT -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c -L/usr/local/lib -lgmodule -lgthread -lglib -lthread   1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
configure: failed program was:
#line 4321 "configure"
#include "confdefs.h"

#include <glib.h>
#include <stdio.h>
#include <stdlib.h>

int
main ()
{
  int major, minor, micro;
  char *tmp_version;

 (the whole program code)

}

configure:4441: gcc -o conftest -g -O2 -Wall -I/usr/local/lib/glib/include -I/usr/local/include -D_REENTRANT -I/usr/local/include -L/usr/local/lib -R/usr/local/lib conftest.c   -L/usr/local/lib -lgmodule -lgthread -lglib -lthread 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory


  _______________
 / Pieter Donche \____________________________________________
 | ITC Manager                  e-mail Pieter Donche ua ac be \
 | Dept. Mathem. & Computer Science     tel +32(0)3/820.24.29 |
 | University of Antwerp, room A2.23    fax +32(0)3/820.24.21 |
 | (UIA) Universiteitsplein 1,  B 2610 Wilrijk,  BELGIUM (EU) |
 |____________________________________________________________|

On Tue, 10 Sep 2002 Valdis Kletnieks vt edu wrote:

> On Tue, 10 Sep 2002 11:05:18 +0200, Pieter Donche <Pieter Donche ua ac be>  said:
>
> > checking for GLIB - version >= 1.2.8... no
> > *** Could not run GLIB test program, checking why...
> > *** The test program compiled, but did not run. This usually means
>
> > /usr/local/lib is in my LD_LIBRARY_PATH env. var.
> > # echo $LD_LIBRARY_PATH
> > /opt/qt/lib:/usr/openwin/lib:/usr/local/lib:/usr/local/lib/hpnp/lib:/usr/dt/lib:/usr/lib
>
> And the corresponding config.log entry says what?  The actual compiler/linker
> error message should be there - that's what config.log is *for*.
> --
> 				Valdis Kletnieks
> 				Computer Systems Senior Engineer
> 				Virginia Tech
>
>




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