查看单个帖子
旧 2009-05-06, 11:13 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem with directdwg 1.10

problem with directdwg 1.10
problem with directdwg 1.10
bonjour,
i have compiled 2 examples of directdwg 1.10 with xcode on mac os x but when i launch the program i have an error :
zerolink: unknown symbol '__zn10odrxobject8copyfromepks_'
???
what can i do ?
thanks.
eric pousse
do you get the same problem when compiling our sample programs on os/x? is this problem new to 1.10, was it a problem in 1.09 as well?

i am a new member and i don't try with 1.09.
thanks
eric
what compiler and version and you using?
which dd mac libs (carbon or mach0)?
what example program are you trying to run? are you using our makefile to build it?

i use xcode 1.10.
which dd mac libs : macosx not macosxpic
i have tried : odreadex and odcopyex
to build i use xcode, i don't have makefile with the examples.
thanks.
eric
we are still using 10.2, so we can't use xcode. i ordered 10.3 today, and will install xcode after it arrives. are you linking in the necessary dd libs (you can see which ones are required by looking in the sample unix makefile for odreadex)?

i have downloaded the unix libraries to have the example makefile of odreadex.
i have modified it for the mac, but i'm not sure and i have many alert :
ld: dd_macosx_db.a(odtoolkit.o) section's (__text,__eh_frame) type s_regular does not match previous objects type s_coalesced
???
what append ?
thanks
eric
a new version of the mac os/x libs was posted today (2-11-2004) which fixes this problem (section's (__text,__eh_frame) type s_regular does not match previous objects type s_coalesced). apparently it was caused by building the dd libs on a system running 10.2 (it went away after we installed 10.3 and the latest gcc version).

these new libs also work with xcode. by default, it seems that symbols are not resolved at link time, but only at run time. you should be able to fix the "zerolink: unknown symbol '__zn10odrxobject8copyfromepks_' "
error by linking in the appropriate dd libs.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)