求助?openwrt编译求助

qq1005896486 2016-03-04 08:18:34
在openwrt编译的时候,
Makefile在openwrt/package/pop3client/目录下面,

include $(TOPDIR)/rules.mk

PKG_NAME:=pop3client
PKG_RELEASE:=1

PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

define Package/pop3client
SECTION:=utils
CATEGORY:=Utilities
TITLE:=pop3client -- prints a snarky message
DEPENDS:=+libstdcpp
endef

define Package/pop3client/description
If you can't figure out what this program does, you're probably
brain-dead and need immediate medical attention.
endef


define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef

define Package/pop3client/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pop3client $(1)/bin/
endef

$(eval $(call BuildPackage,pop3client))

工程在openwrt/package/tools/src/目录下,
其中,工程的源代码.cpp放在openwrt/package/pop3client/src/src/目录下,
工程编译的结果放在.cpp的上层目录,也就是openwrt/package/pop3client/src/。
在执行编译的时候 出错。
src/pop3session.o:(.rodata._ZTIN11Pop3Session11ServerErrorE[typeinfo for Pop3Session::ServerError]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
collect2: ld returned 1 exit status

...全文
180 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

684

社区成员

发帖
与我相关
我的任务
社区描述
智能路由器通常具有独立的操作系统,包括OpenWRT、eCos、VxWorks等,可以由用户自行安装各种应用,实现网络和设备的智能化管理。
linuxpython 技术论坛(原bbs)
社区管理员
  • 智能路由器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧