problem adding complex to newlib/cygwin

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Oct 3 18:41:00 GMT 2010


On Oct  3 16:01, Marco Atzeri wrote:
> Hi,
> following a suggestion from Corinna I am trying to port
> the netbsd complex functions to newlib.
> Trying to compile cygwin1.dll with such changes, I hit 
> a undefined reference that is puzzling me, so I am obviously
> missing to consider something.
> [...]
> so I have a extra "_" that I was not expecting
> 
> lib_a-cabs.o:
> 00000000 b .bss
> 00000000 d .data
> 00000000 N .debug_abbrev
> 00000000 N .debug_aranges
> 00000000 N .debug_frame
> 00000000 N .debug_info
> 00000000 N .debug_line
> 00000000 N .debug_loc
> 00000000 N .debug_pubnames
> 00000000 t .text
>          U __hypot
> 00000000 T _cabs
> 
> Any suggestion on what I should check ?

See NetBSD's namespace.h file, line 5 and 6.  You should remove
the file entirely and drop all #include's of the file.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list