Skip to contentSkip to conversation

Can't compile with exynos4_defconfig

DISCUSSION Sangbeom Kim 2 participants 2 messages Jun 3, 2011 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

Hi,

By default exynos4_defconfig, 3.0-rc1 can't compile the code. It seem to have dependency on usb configuration.

Error message:
arch/arm/plat-s5p/built-in.o: In function `s5p_ehci_set_platdata':
/home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:54: undefined reference to s5p_usb_phy_init' /home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:54: undefined reference to s5p_usb_phy_init' /home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:56: undefined reference to s5p_usb_phy_exit' /home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:56: undefined reference to s5p_usb_phy_exit'
make: *** [.tmp_vmlinux1] Error 1

Regards,
SB Kim

#1 lore raw
Quoted 2 lines · Sangbeom Kim

Hi,

Hi Sangbeom Kim,

Quoted 14 lines

By default exynos4_defconfig, 3.0-rc1 can't compile the code. It seem to have dependency on usb configuration.

Error message:
arch/arm/plat-s5p/built-in.o: In function `s5p_ehci_set_platdata':
/home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:54: undefined reference to s5p_usb_phy_init' /home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:54: undefined reference to s5p_usb_phy_init' /home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:56: undefined reference to s5p_usb_phy_exit' /home/cornus/tmp/linux-3.0-rc1/arch/arm/plat-s5p/dev-ehci.c:56: undefined reference to s5p_usb_phy_exit'
make: *** [.tmp_vmlinux1] Error 1

Thanks for your pointing out.

As a note, submitted Thushar's patch(ARM: S5P: Fix compilation error for exynos4_defconfig) can solve this build error.

Could you please test kernel 'Linux 3.0-rc1' on SMDKV310 or SMDKC210 with exynos4_defconfig? If any problems, please let me know.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.