** Reply to note from Gonzalo Servat <[EMAIL PROTECTED]> Wed, 06 Aug 2003 17:50:00 
+1000


> As you can see, it can't find crt1.o which is part of the glibc-devel RPM.  
> Install it and you should be good to go. 
 
Gonzalo, thanks,

I've installed every package with 'glibc-*' in the name

STILL fails with:

...
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
configure:1560: $? = 0
configure:1562: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1565: $? = 1
configure:1589: checking for C compiler default output
configure:1592: gcc    conftest.c  >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure:1595: $? = 1
configure: failed program was:
| #line 1568 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
...


on closer inspection, I found these:

/usr/lib

-rw-------    1 root     root        10344 Aug  5 22:11 crt1.o
-rw-------    1 root     root         1201 Aug  5 22:11 crti.o
-rw-------    1 root     root          835 Aug  5 22:11 crtn.o


I still got SAME error, so, I chmoded thes as:

-rw-r--r--    1 root     root        10344 Aug  5 22:11 crt1.o
-rw-r--r--    1 root     root         1201 Aug  5 22:11 crti.o
-rw-r--r--    1 root     root          835 Aug  5 22:11 crtn.o


now I go a little further:

[EMAIL PROTECTED] courier-imap-2.0.0]$ ./configure
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot cr
eate executables
See `config.log' for more details.

cat config.log

(stuff removed)
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1279: checking for gcc
configure:1295: found /usr/bin/gcc
configure:1305: result: gcc
configure:1549: checking for C compiler version
configure:1552: gcc --version </dev/null >&5
2.96
configure:1555: $? = 0
configure:1557: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
configure:1560: $? = 0
configure:1562: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1565: $? = 1
configure:1589: checking for C compiler default output
configure:1592: gcc    conftest.c  >&5
/usr/bin/ld: /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: invalid st
ring offset 100663296 >= 0 for section `'
/usr/bin/ld: /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: invalid st
ring offset 131072 >= 0 for section `'
/usr/bin/ld: /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: invalid st
ring offset 196608 >= 0 for section `'
/usr/bin/ld: /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: invalid st
ring offset 196608 >= 0 for section `'
/usr/bin/ld: /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: invalid st
ring offset 512 >= 0 for section `'
/usr/bin/ld: BFD 2.11.93.0.2 20020207 assertion fail elf.c:1568
/usr/bin/ld: /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o: invalid st
ring offset 50331648 >= 83 for section `.shstrtab'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o: could not read symbols:
 Memory exhausted
collect2: ld returned 1 exit status
configure:1595: $? = 1
configure: failed program was:
| #line 1568 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""

(stuff removed)

configure: exit 77


(is top relavant to 'memory exhausted' ? top says:)
  8:19pm  up 8 days, 20:43,  3 users,  load average: 0.00, 0.00, 0.00
90 processes: 89 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  0.3% user,  0.1% system,  0.0% nice, 99.4% idle
Mem:   247504K av,  225968K used,   21536K free,       0K shrd,   29864K buff
Swap:  522104K av,   53360K used,  468744K free                  119748K cached


Voytek Eymont

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to