On Tue, Aug 26, 2003 at 11:39:16PM +0200, Paul R wrote: > Hi > a few days ago I wrote about a problem while compiling 2.4.21 > on unstable... > One of You adviced me to use one of 2.4.22X releases > I tried to compile 2.4.22 and I got again: > init/main.o(.text+0x8): In function `check_bugs': > : undefined reference to `_mcount' > init/main.o(.text+0x28): In function `rest_init': > : undefined reference to `_mcount' > init/main.o(.text+0x68): In function `init': > : undefined reference to `_mcount' > init/main.o(.text.init+0x10): In function `profile_setup': > : undefined reference to `_mcount' > init/main.o(.text.init+0x6c): In function `checksetup': > : undefined reference to `_mcount' > init/main.o(.text.init+0x10c): more undefined references to > `_mcount' follow
Maybe I am mis-remembering, but isn't _mcount something that is enabled with profiling, or the -p option to gcc? Did you try to enable profiling? -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/