这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » windml问题求助

共3条 1/1 1 跳转至

windml问题求助

菜鸟
2006-02-28 01:38:09     打赏

请教各位,我使用windml开发VGA驱动,我在但我在编译vxworks镜像时,在EXTRA_MODULES中添加$(WIND_BASE)\target\lib\arm\ARMARCH4\common\wndml.o $(WIND_BASE)\target\h\ugl\config\configTool\sld13506_at91rm9200_windml.a后编译出现如下错误:不知道是何原因?还请问是否要添加上述模块呢?.a的库文件是否也添加在这里呢(我在vxworks build下的default的属性中没找到LIB_EXTRA这个选项)?

ldarm -X -EL -N -e sysInit -Ttext 20001000 \
dataSegPad.o partialImage.o ctdt.o \
-T D:\Tornado2.2\target\h\tool\gnu\ldscripts\link.RAM -o vxWorks
partialImage. In function `uglGraphicsDevAccessCheck':
partialImage.o(.text+0x28a48): undefined reference to `pciFindDevice'
partialImage.o(.text+0x28a48): relocation truncated to fit: R_ARM_PC24 pciFindDevice
partialImage. In function `uglPCIAddressGet':
partialImage.o(.text+0x28b6c): undefined reference to `pciConfigInLong'
partialImage.o(.text+0x28b6c): relocation truncated to fit: R_ARM_PC24 pciConfigInLong
partialImage.o(.text+0x28b90): undefined reference to `pciConfigOutLong'
partialImage.o(.text+0x28b90): relocation truncated to fit: R_ARM_PC24 pciConfigOutLong
partialImage.o(.text+0x28bb4): undefined reference to `pciConfigInLong'
partialImage.o(.text+0x28bb4): relocation truncated to fit: R_ARM_PC24 pciConfigInLong
partialImage.o(.text+0x28c04): undefined reference to `pciConfigOutLong'
partialImage.o(.text+0x28c04): relocation truncated to fit: R_ARM_PC24 pciConfigOutLong
partialImage. In function `igsSndDevCreate':
partialImage.o(.text+0x2a8a4): undefined reference to `sysOutByte'
partialImage.o(.text+0x2a8a4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2a8b4): undefined reference to `sysInByte'
partialImage.o(.text+0x2a8b4): relocation truncated to fit: R_ARM_PC24 sysInByte
partialImage.o(.text+0x2a8c8): undefined reference to `sysInByte'
partialImage.o(.text+0x2a8c8): relocation truncated to fit: R_ARM_PC24 sysInByte
partialImage.o(.text+0x2a8e4): undefined reference to `sysOutByte'
partialImage.o(.text+0x2a8e4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage. In function `audioInterrupt':
partialImage.o(.text+0x2ab94): undefined reference to `sysInByte'
partialImage.o(.text+0x2ab94): relocation truncated to fit: R_ARM_PC24 sysInByte
partialImage.o(.text+0x2aba8): undefined reference to `sysOutByte'
partialImage.o(.text+0x2aba8): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2abb8): undefined reference to `sysInByte'
partialImage.o(.text+0x2abb8): relocation truncated to fit: R_ARM_PC24 sysInByte
partialImage.o(.text+0x2abd0): undefined reference to `sysOutByte'
partialImage.o(.text+0x2abd0): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage. In function `sndIgsUnlockAudio':
partialImage.o(.text+0x2ad1c): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad1c): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ad30): undefined reference to `sysInByte'
partialImage.o(.text+0x2ad30): relocation truncated to fit: R_ARM_PC24 sysInByte
partialImage.o(.text+0x2ad40): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad40): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ad50): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad50): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ad60): undefined reference to `sysInByte'
partialImage.o(.text+0x2ad60): relocation truncated to fit: R_ARM_PC24 sysInByte
partialImage.o(.text+0x2ad74): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ad74): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage. In function `sndIgsAudioEnable':
partialImage.o(.text+0x2ae40): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae40): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ae54): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae54): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ae64): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae64): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ae74): undefined reference to `sysOutByte'
partialImage.o(.text+0x2ae74): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ae84): more undefined references to `sysOutByte' follow
partialImage. In function `sndIgsAudioEnable':
partialImage.o(.text+0x2ae84): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2ae94): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2aea4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2aeb4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2aec4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2aed4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2aee4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2aef4): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage. In function `sndIgsIntEnable':
partialImage.o(.text+0x2b0b0): relocation truncated to fit: R_ARM_PC24 sysOutByte
partialImage.o(.text+0x2b0c8): relocation truncated to fit: R_ARM_PC24 sysOutByte
make: *** [vxWorks] Error 1




关键词: windml     问题     求助     partialImage    

菜鸟
2006-03-02 17:07:00     打赏
2楼

sysOutByte这样的函数在你的代码和.a库文件中都没有。这应该是x86下面提供了的函数。

你需要写这些函数实现对i/o端口的操作。


菜鸟
2006-03-03 04:44:00     打赏
3楼

谢谢!那前面ldarm -X -EL -N -e sysInit -Ttext 20001000 \
dataSegPad.o partialImage.o ctdt.o \
-T D:\Tornado2.2\target\h\tool\gnu\ldscripts\link.RAM -o vxWorks
partialImage. In function `uglGraphicsDevAccessCheck':
partialImage.o(.text+0x28a48): undefined reference to `pciFindDevice'
partialImage.o(.text+0x28a48): relocation truncated to fit: R_ARM_PC24 pciFindDevice
partialImage. In function `uglPCIAddressGet':
partialImage.o(.text+0x28b6c): undefined reference to `pciConfigInLong'
partialImage.o(.text+0x28b6c): relocation truncated to fit: R_ARM_PC24 pciConfigInLong
partialImage.o(.text+0x28b90): undefined reference to `pciConfigOutLong'
partialImage.o(.text+0x28b90): relocation truncated to fit: R_ARM_PC24 pciConfigOutLong
partialImage.o(.text+0x28bb4): undefined reference to `pciConfigInLong'
partialImage.o(.text+0x28bb4): relocation truncated to fit: R_ARM_PC24 pciConfigInLong
partialImage.o(.text+0x28c04): undefined reference to `pciConfigOutLong'
partialImage.o(.text+0x28c04): relocation truncated to fit: R_ARM_PC24 pciConfigOutLong

的错误是什么原因呢?


共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]