linux-2.6.30.1 with gcc-3.4.6 compile error

Teck Choon Giam
2009-07-13T16:44:39Z

Hi,

Anyone encounter the below error while compiling linux-2.6.30.1 with gcc-3.4.6?

drivers/net/igb/igb_main.c: In function `igb_up':
drivers/net/igb/igb_main.c:130: sorry, unimplemented: inlining failed
in call to 'igb_set_rah_pool': function body not available
drivers/net/igb/igb_main.c:938: sorry, unimplemented: called from here
drivers/net/igb/igb_main.c:133: sorry, unimplemented: inlining failed
in call to 'igb_set_vmolr': function body not available
drivers/net/igb/igb_main.c:939: sorry, unimplemented: called from here
make[3]: *** [drivers/net/igb/igb_main.o] Error 1
make[2]: *** [drivers/net/igb] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

This is CentOS 4.x system. While using same configuration to compile
in CentOS 5.x systems with gcc-4.1.2 do not encounter such error and
my guess is gcc version issue? Any idea?

Thanks.

Kindest regards,
Giam Teck Choon