Skip to contentSkip to conversation

AMD64 configure error

DISCUSSION James Lockie 3 participants 4 messages Dec 11, 2006 – Dec 13, 2006

lore
Share & tools
lore
#0 lore raw

checking if start is defined by the compiler... no checking if _start is defined by the compiler... no
configure: error: neither start nor _start is defined

# gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)
#1 lore raw
Quoted 3 lines · James Lockie

checking if start is defined by the compiler... no checking if _start is defined by the compiler... no
configure: error: neither start nor _start is defined

The reason this happens is that the 64 bits compiler is used to test these things, while we do not need this 64 bits compiler. This is *VERY* annoying.

Does someone know how we can fix this properly? And please don't come with the add libraries bullshit, I won't do this. GRUB 2 used to compile fine to me, after which it was broken about 6 months ago. This makes it very hard/annoying to me to work on GRUB 2 because my primary systems are x86_64.

--
Marco

#2 lore raw

Hello!

Quoted 10 lines · Marco Gerards
Quoted 3 lines · James Lockie

checking if start is defined by the compiler... no checking if _start is defined by the compiler... no
configure: error: neither start nor _start is defined

The reason this happens is that the 64 bits compiler is used to test these things, while we do not need this 64 bits compiler. This is *VERY* annoying.

Does someone know how we can fix this properly?

If I could get (shell) access to such a 64-bit system, I could have a look.

Regards,
Thomas

#3 lore raw

Thomas Schwinge <[email protected]> writes:

Hi Thomas,

Quoted 6 lines · Marco Gerards
Quoted 5 lines
Quoted 3 lines · James Lockie

checking if start is defined by the compiler... no checking if _start is defined by the compiler... no
configure: error: neither start nor _start is defined

Quoted 8 lines
Quoted 5 lines

The reason this happens is that the 64 bits compiler is used to test these things, while we do not need this 64 bits compiler. This is *VERY* annoying.

Does someone know how we can fix this properly?

If I could get (shell) access to such a 64-bit system, I could have a look.

Thanks a lot for this offer! At the moment I am working on something for work and have to reboot quite often. But after this is done I will give you an account on this box (I guess this will be after the weekend).

--
Marco