Problems compiling kernel with sound support: cannot find entry symbol _start

Problems compiling kernel with sound support: cannot find entry symbol _start

Post by Mike Mille » Fri, 21 Feb 1997 04:00:00



I'm trying to compile a new kernel with sound support so I can
use the ESS1688 chip in my laptop.  The chip seems to work fine
when I use OSS/Linux demo from 4Front Technologies, but when I
"make zdisk" to compile the kernel, I get the following warnings:

ld -qmagic -Ttext 0xfffe0 arch/i386/kernel/head.o init/main.o init/version.o \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
        fs/fs.o ipc/ipc.o net/network.a \
        fs/filesystems.a \
        drivers/block/block.a drivers/char/char.a drivers/net/net.a
        drivers/scsi/scsi.a drivers/sound/sound.a drivers/pci/pci.a \
        /usr/src/kernel-source-2.0.27/arch/i386/lib/lib.a
        /usr/src/kernel-source-2.0.27/lib/lib.a
        /usr/src/kernel-source-2.0.27/arch/i386/lib/lib.a -o vmlinux
ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( a \)' | sort > System.map
make[1]: Entering directory `/usr/src/kernel-source-2.0.27/arch/i386/boot'
make[2]: Entering directory
        `/usr/src/kernel-source-2.0.27/arch/i386/boot/compressed'
./xtract /usr/src/kernel-source-2.0.27/vmlinux | gzip -9 |
        ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
ld: warning: cannot find entry symbol _start; defaulting to 00000fe0
misc.o: In function `fill_inbuf':
misc.o(.text+0x1ebc): undefined reference to `input_data'
misc.o(.text+0x1ec1): undefined reference to `input_len'
misc.o(.text+0x1ed7): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory
        `/usr/src/kernel-source-2.0.27/arch/i386/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.0.27/arch/i386/boot'
make: *** [zdisk] Error 2

Does anybody know how to get around this problem?

Mike

 
 
 

1. /usr/bin/ld: warning: cannot find entry symbol _start;

I compile and link my (fairly large 1.5M) application but the linker
complains:

/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to
08049620

Then when I type ./mate I get
./mate: Command not found

I checked that . is in my path too!

There is a 'main':

I tried adding /usr/lib/crt1.o to the start of ld line, then it links OK
but still gets
./mate: Command not found
When I run it.

Any help out there?

--

Osicom Technologies     !
9020 Junction Dr        ! Any opinions expressed aren't mine...

2. And now.... What???

3. ld: warning: cannot find entry symbol _start; defaulting to ....

4. unqualified hostname sleeping for retry (during boot)

5. ld cannot find entry symbol _start with 1.2.13 & GCC 2.7.0

6. need INFO for C + MOTIF Programming

7. cannot find entry symbol _start

8. Problems with serial I/O

9. kernel compilation:gcc2.7.0 fails:ld `can't find entry symbol _start'

10. entry symbol _start?

11. "cannot find entry symbol_start" on kernel compile

12. HELP! _start not found in kernel compile

13. kernel compiling problems--kernel symbols not found