Morning,
I downloaded the latest revision and tried to compile it for my board (supermicro h8qme-2+) but it fails compiling with:
/home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/mainboard/supermicro/h8qme_fam10/crt0.initobj.o: In function `console_init': romstage.c:(.rom.text+0xcd23): undefined reference to `printk_info' /home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/mainboard/supermicro/h8qme_fam10/crt0.initobj.o: In function `mctAutoInitMCT_D': romstage.c:(.rom.text+0xcf19): undefined reference to `printk_debug' /home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/mainboard/supermicro/h8qme_fam10/crt0.initobj.o: In function `raminit_amdmct': romstage.c:(.rom.text+0xd58d): undefined reference to `printk_debug' romstage.c:(.rom.text+0xd5b3): undefined reference to `printk_debug' /home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/mainboard/supermicro/h8qme_fam10/crt0.initobj.o: In function `cache_as_ram_main': romstage.c:(.rom.text+0xdae4): undefined reference to `printk_debug' romstage.c:(.rom.text+0xddd2): undefined reference to `printk_info' romstage.c:(.rom.text+0xe0e6): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe10f): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe4de): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe4f0): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe501): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe7ba): undefined reference to `printk_info' romstage.c:(.rom.text+0xe8fc): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe93e): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe966): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe9c0): undefined reference to `printk_debug' romstage.c:(.rom.text+0xe9e7): undefined reference to `printk_debug' /home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/mainboard/supermicro/h8qme_fam10/crt0.initobj.o:romstage.c:(.rom.text+0xea2b): more undefined references to `printk_debug' follow collect2: ld returned 1 exit status make: *** [/home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/coreboot.romstage] Error 1
thx, Knut Kujat.
Am 23.03.2010 09:24, schrieb Knut Kujat:
Morning,
I downloaded the latest revision and tried to compile it for my board (supermicro h8qme-2+) but it fails compiling with:
Builds fine for me - you might have to remove the "build" directory before rebuilding.
Patrick
Patrick Georgi escribio':
Am 23.03.2010 09:24, schrieb Knut Kujat:
Morning,
I downloaded the latest revision and tried to compile it for my board (supermicro h8qme-2+) but it fails compiling with:
Builds fine for me - you might have to remove the "build" directory before rebuilding.
Patrick
hmmmm, I haven't had a build directory because it was a fresh copy of coreboot.
I'll try to compile on a different machine.
thx, Knut Kujat.
Hi Stefan,
you may want to look into this.
On 23.03.2010 09:24, Knut Kujat wrote:
I downloaded the latest revision and tried to compile it for my board (supermicro h8qme-2+) but it fails compiling with:
/home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/mainboard/supermicro/h8qme_fam10/crt0.initobj.o: In function `console_init': romstage.c:(.rom.text+0xcd23): undefined reference to `printk_info'
There was a big change from printk_* to printk in r5266. It is possible that some later commits introduced printk_* in a few places again, and that may break your build.
Files with printk_*: src/southbridge/amd/rs780/rs780_gfx.c src/southbridge/intel/i82801dx/i82801dx_lpc.c src/include/console/console.h ./src/arch/i386/lib/console_printk.c
Regards, Carl-Daniel
On Tue, 23 Mar 2010 13:15:14 +0100, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
Hi Stefan,
you may want to look into this.
On 23.03.2010 09:24, Knut Kujat wrote:
I downloaded the latest revision and tried to compile it for my board (supermicro h8qme-2+) but it fails compiling with:
/home/knut/Documents/Coreboot/NewBuildSystem/5coreboot/build/mainboard/supermicro/h8qme_fam10/crt0.initobj.o:
In function `console_init': romstage.c:(.rom.text+0xcd23): undefined reference to `printk_info'
There was a big change from printk_* to printk in r5266. It is possible that some later commits introduced printk_* in a few places again, and that may break your build.
Files with printk_*: src/southbridge/amd/rs780/rs780_gfx.c src/southbridge/intel/i82801dx/i82801dx_lpc.c src/include/console/console.h ./src/arch/i386/lib/console_printk.c
Oops, thanks for pointing that out Carl-Daniel I will have to update i82801dx_lpc.c, I must have missed that.
Although I really do not like any references in coreboot to "BIOS", but I guess it is too late for that.
printk(BIOS_*, fmt, arg...)