Modify

Opened 3 years ago

Closed 3 years ago

#18546 closed defect (worksforme)

fail to build trunk ar71xx

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: toolchain Version: Trunk
Keywords: Cc:

Description

I did dirclean, still getting build error

(.text+0x569): undefined reference to `dlopen'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
(.text+0x5cb): undefined reference to `dlclose'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
(.text+0x603): undefined reference to `dlerror'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
(.text+0x68f): undefined reference to `dladdr'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
(.text+0x6f1): undefined reference to `dlerror'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
(.text+0x742): undefined reference to `dlclose'
collect2: error: ld returned 1 exit status
make[5]: *** [tools/dumpimage] Error 1
make[4]: *** [tools-only] Error 2
make[4]: Leaving directory `/home/openwrt/999/trunk/build_dir/host/u-boot-2014.10'
make[3]: *** [/home/openwrt/999/trunk/build_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory `/home/openwrt/999/trunk/tools/mkimage'
make[2]: *** [tools/mkimage/compile] Error 2
make[2]: Leaving directory `/home/openwrt/999/trunk'
make[1]: *** [/home/openwrt/999/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyyyyyyyyyyyyynyyyynnyyynyyynnnyyyy] Error 2
make[1]: Leaving directory `/home/openwrt/999/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by anonymous

+1 the same. My Linux is Debian 7.7

comment:2 Changed 3 years ago by zloop

This error is due to statically linking tools and by that u-boot-2014.10 (2014.07 works fine statically) - errors are distribution specific.

for possible fixes see https://forum.openwrt.org/viewtopic.php?pid=259247#p259247
feel free to use them

the cleanest way might be to built a tools/openssl static (or dynamic) package

comment:3 Changed 3 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

should be fixed in current trunk

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.