July 18, 2003 Link error - Undefined symbol garbage | ||||
---|---|---|---|---|
| ||||
Can someone tell me why the linker spews out lots of rubbish when it encounters an undefined symbol. Such as that below: I know it can't resolve the call to the function get_alpha_words(), but why all the odd looking characters ?? > dmc prog2 get_alpha_words2 && prog2 < text prog2.cpp: get_alpha_words2.cpp: link prog2+get_alpha_words2,,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved prog2.obj(prog2) Error 42: Symbol Undefined ??$get_alpha_words2@V?$back_insert±tÚator@stdÇä£vecÇïÄbasic_stringÇàöDÇâòcha r_traitsÇåö@1Çä¼ allocÇë?ÇäòÇöÿÇ?iÝÇàÆÚ@YAXAAÇëÎiÇâÏeamÇØÏÇå?è?ë2ÐZ --- errorlevel 1 |
July 18, 2003 Re: Link error - Undefined symbol garbage | ||||
---|---|---|---|---|
| ||||
Posted in reply to jim p | That's the "mangled" name needed for typesafe linking. "jim p" <x@y.com> wrote in message news:bf8ons$1ovq$1@digitaldaemon.com... > Can someone tell me why the linker spews out lots of rubbish when it > encounters an undefined symbol. > Such as that below: > I know it can't resolve the call to the function get_alpha_words(), but why > all the odd looking characters ?? > > > dmc prog2 get_alpha_words2 && prog2 < text > prog2.cpp: > get_alpha_words2.cpp: > link prog2+get_alpha_words2,,,user32+kernel32/noi; > OPTLINK (R) for Win32 Release 7.50B1 > Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved > > prog2.obj(prog2) > Error 42: Symbol Undefined > ??$get_alpha_words2@V?$back_insert±tÚator@stdÇä£vecÇïÄbasic_stringÇàöDÇâòcha > r_traitsÇåö@1Çä¼ allocÇë?ÇäòÇöÿÇ?iÝÇàÆÚ@YAXAAÇëÎiÇâÏeamÇØÏÇå?è?ë2ÐZ > > --- errorlevel 1 > > |
Copyright © 1999-2021 by the D Language Foundation