nanogui: [Nano-X] src/nanox/Makefile


Previous by date: 2 Nov 2000 03:40:46 -0000 Re: MicroWindows and Personal Java, Greg Haerr
Next by date: 2 Nov 2000 03:40:46 -0000 run at boot time; test through serial for SA1110, liu cheng
Previous in thread:
Next in thread:

Subject: [Nano-X] src/nanox/Makefile
From: ####@####.####
Date: 2 Nov 2000 03:40:46 -0000
Message-Id: <Pine.LNX.4.21.0011021135470.25361-100000@pc120105.ccl.itri.org.tw>

Dear Greg,

	When cross-compiling for arm and link with t1lib.a,
	if -lm is not added to LDFLAGS in nanox/Makefile,
	compiler will complain that it can not find some
	mathematics functions. It looks like this:

/usr/local/arm/lib/libt1.a(t1set.o): In function `T1_SetString':
t1set.o(.text+0x1300): undefined reference to `floor'
t1set.o(.text+0x1300): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x144c): undefined reference to `floor'
t1set.o(.text+0x144c): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x1b64): undefined reference to `floor'
t1set.o(.text+0x1b64): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x1cdc): undefined reference to `floor'
t1set.o(.text+0x1cdc): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x1e5c): undefined reference to `floor'
t1set.o(.text+0x1e5c): relocation truncated to fit: R_ARM_PC24 floor
/usr/local/arm/lib/libt1.a(t1set.o)(.text+0x2a7c): more undefined references to
/usr/local/arm/lib/libt1.a(t1set.o): In function `T1_ComputeLineParameters':
t1set.o(.text+0x2a7c): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x2ab8): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x2ad4): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x2b0c): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x2b4c): relocation truncated to fit: R_ARM_PC24 floor
t1set.o(.text+0x2b80): relocation truncated to fit: R_ARM_PC24 floor

...

type1.o(.text+0x3a74): undefined reference to `ceil'
type1.o(.text+0x3a74): relocation truncated to fit: R_ARM_PC24 ceil
type1.o(.text+0x3a84): undefined reference to `floor'
type1.o(.text+0x3a84): relocation truncated to fit: R_ARM_PC24 floor
collect2: ld returned 1 exit status


With regards,
Murphy



Previous by date: 2 Nov 2000 03:40:46 -0000 Re: MicroWindows and Personal Java, Greg Haerr
Next by date: 2 Nov 2000 03:40:46 -0000 run at boot time; test through serial for SA1110, liu cheng
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.