This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem adding complex to newlib/cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]