Solaris 10 , configure error with "crt1.o: In function `_start':"

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

 



Hello Dear GTK list

i have here the Problem to compile "glib-2.20.0"  with Solaris 10 i386 Machine, and i don't know if this mistake are from shared libs as or gcc.

Please for any helps i'am happy
thanks and best regards
mc

# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

# gmake 3.8.1

# uname -a
SunOS unknown 5.10 Generic_137138-09 i86pc i386 i86pc

# as -V
GNU assembler version 2.19 (i386-pc-solaris2.10) using BFD version (GNU Binutils) 2.19

# ld -V
GNU ld (GNU Binutils) 2.19
  Supported emulations:
   elf_i386_ldso
   elf_i386
   elf_x86_64

# echo $LD_LIBRARY_PATH
/usr/local/lib

# ./glib-2.20.0/configure --prefix=/usr --sysconfdir=/etc --with-gnu-ld --with-libiconv=gnu
run ... run ... run

/usr/lib/crt1.o: In function `_start':
fsr.s:(.text+0x7c): undefined reference to `main'
collect2: ld returned 1 exit status

[Config.log]
/var/tmp//cc46dpX6.o: In function `main':
/usr/source/glib-2.20.0/conftest.c:33: undefined reference to `libintl_ngettext'
collect2: ld returned 1 exit status
configure:9636: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.20.0"
| #define PACKAGE_STRING "glib 2.20.0"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib";
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 20
| #define GLIB_MICRO_VERSION 0
| #define GLIB_INTERFACE_AGE 0
| #define GLIB_BINARY_AGE 2000
| #define _FILE_OFFSET_BITS 64
| #define NEED_ICONV_CACHE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| /* end confdefs.h.  */
|
| #include <libintl.h>
|
| int
| main ()
| {
| return !ngettext ("","", 1)
|   ;
|   return 0;
| }

# make
run ... run 
make[4]: Entering directory `/usr/source/glib-2.20.0/glib'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS  -g -O2 -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c -o garray.lo garray.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS -g -O2 -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c  -fPIC -DPIC -o .libs/garray.o
mv -f .deps/garray.Tpo .deps/garray.Plo
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS  -g -O2 -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c -o gasyncqueue.lo gasyncqueue.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS -g -O2 -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c  -fPIC -DPIC -o .libs/gasyncqueue.o
mv -f .deps/gasyncqueue.Tpo .deps/gasyncqueue.Plo
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS  -g -O2 -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c -o gatomic.lo gatomic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS -g -O2 -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c  -fPIC -DPIC -o .libs/gatomic.o
/var/tmp//cclmf8Cy.s: Assembler messages:
/var/tmp//cclmf8Cy.s:79: Error: Incorrect register `%ecx' used with `q' suffix
make[4]: *** [gatomic.lo] Error 1
make[4]: Leaving directory `/usr/source/glib-2.20.0/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/source/glib-2.20.0/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/source/glib-2.20.0/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/source/glib-2.20.0'
make: *** [all] Error 2
-- 
-- 
Maurizio Caloro 
Freiherrenstrasse 6 
8820 Wädenswil 

+41 43 534 32 19 
+41 76 450 33 41 

Email: mauric@xxxxxx

Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux