<i>Link error due to hidden symbols (CentOS 4.2)</i> status still Open with 4 other changes
by
.
D 2010-12-13T04:49:04
J icomment Question:\sAre\sTcl_Init\sand\sTk_MainEx\sthe\sonly\shidden\ssymbols,\sor\sare\ssimply\sALL\ssymbols\shidden?\n\nI\ssuspect\sthat\sthe\sgcc\s3.4.4\scompiler\swith\sCentOS,\sis\smodified\sto\ssupport\s--fvisitiliby=hidden,\swhich\nnormally\sis\sonly\sincluded\swith\sgcc\s4.x.\s\sTcl's\sconfigure\sscript\spicks\sthis\sup,\sbut\stcl.h\sdoes\snot\stake\nthat\sinto\saccount,\sand\ssimply\sassumes\sthat\sgcc\s<\s4.0\sdoes\snot\shave\svisibility\ssupport.\sThis\scould\nexplain\swhy\sall\ssymbols\sin\sthe\sDSO's\sare\shidden.\n\nThe\ssolution\scould\sbe\sthe\ssame\sas\sused\sin\szlib:\sUse\sthe\sdefine\sNO_VIZ\swhen\sthe\scompiler\nhas\sno\svisibility\ssupport,\sin\sstead\sof\srelying\son\sthe\sgcc\sversion.\sHere\sis\sa\spatch\sdoing\sthat.\n\nPlease\stry\sif\sthis\spatch\sworks\sas\sexpected.\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3135271fffffffffffffffffffffffffffffffff
U nijtmans
Z efe69e0da82339e2dea7f8ab32a17be3