www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Tangobos: Symbol undefined when compiling with -g

reply "Simen Haugen" <simen norstat.no> writes:
I just tried tangobos in an effort to use both enki and minid. In release 
mode, everything works, but when I try to compile in debug info I get symbol 
undefined errors:

..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math3tanFeZe
..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math4tanhFeZe
..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math4coshFeZe
..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math4sinhFeZe
..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math3powFeeZe
..\obj\nsconv\debug\conv.obj(conv)
 Error 42: Symbol Undefined _D3std4math5isnanFeZi
--- errorlevel 6


Any idea how this can be fixed? 
Aug 23 2007
parent "Simen Haugen" <simen norstat.no> writes:
I've managed to get tangobos to compile, but not every program compiles..

.\tango-stdc-stdlib.obj(tango-stdc-stdlib)  Offset 001F0H Record Type 0091
 Error 1: Previous Definition Different : _EXIT_SUCCESS
.\tango-stdc-stdlib.obj(tango-stdc-stdlib)  Offset 00275H Record Type 0091
 Error 1: Previous Definition Different : _EXIT_FAILURE
.\tango-stdc-stddef.obj(tango-stdc-stddef)  Offset 00108H Record Type 0091
 Error 1: Previous Definition Different : _WEOF
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 000BAH Record Type 0091
 Error 1: Previous Definition Different : _BUFSIZ
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 000C4H Record Type 0091
 Error 1: Previous Definition Different : _EOF
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 000D4H Record Type 0091
 Error 1: Previous Definition Different : _FOPEN_MAX
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 000E7H Record Type 0091
 Error 1: Previous Definition Different : _FILENAME_MAX
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 000F5H Record Type 0091
 Error 1: Previous Definition Different : _TMP_MAX
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 00105H Record Type 0091
 Error 1: Previous Definition Different : __SYS_OPEN
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 00114H Record Type 0091
 Error 1: Previous Definition Different : _SYS_OPEN
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 0019FH Record Type 0091
 Error 1: Previous Definition Different : __NFILE
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 001AFH Record Type 0091
 Error 1: Previous Definition Different : __P_tmpdir
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 001C0H Record Type 0091
 Error 1: Previous Definition Different : __wP_tmpdir
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 001CFH Record Type 0091
 Error 1: Previous Definition Different : _L_tmpnam
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 004ECH Record Type 0091
 Error 1: Previous Definition Different : _stdin
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 004F9H Record Type 0091
 Error 1: Previous Definition Different : _stdout
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 00506H Record Type 0091
 Error 1: Previous Definition Different : _stderr
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 00513H Record Type 0091
 Error 1: Previous Definition Different : _stdaux
.\tango-stdc-stdio.obj(tango-stdc-stdio)  Offset 00520H Record Type 0091
 Error 1: Previous Definition Different : _stdprn
--- errorlevel 19


"Simen Haugen" <simen norstat.no> wrote in message 
news:fak41q$1sna$1 digitalmars.com...
I just tried tangobos in an effort to use both enki and minid. In release 
mode, everything works, but when I try to compile in debug info I get 
symbol undefined errors:

 ..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math3tanFeZe
 ..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math4tanhFeZe
 ..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math4coshFeZe
 ..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math4sinhFeZe
 ..\obj\nsconv\debug\math2.obj(math2)
 Error 42: Symbol Undefined _D3std4math3powFeeZe
 ..\obj\nsconv\debug\conv.obj(conv)
 Error 42: Symbol Undefined _D3std4math5isnanFeZi
 --- errorlevel 6


 Any idea how this can be fixed?
 

Aug 24 2007