tgmath.h and fftw3l

KIMURA Masaru hiyuh.root@gmail.com
Wed Jul 24 11:23:00 GMT 2013


Hi,

anyone can reproduce following symptoms?
cygwin does not support some long double math functions?
and no fftw3l available?

Peace,
-----
hiyuh@lynx /tmp
$ uname -a
CYGWIN_NT-6.1-WOW64 lynx 1.7.22(0.268/5/3) 2013-07-22 17:06 i686 Cygwin

hiyuh@lynx /tmp
$ gcc -std=gnu11 -Wall -DUSE_FLOAT -DUSE_SWS -O3 -march=native -o
preamble preamble.c $(pkg-config --cflags --libs fftw3f)
preamble.c: In function ‘main’:
preamble.c:86:6: warning: implicit declaration of function ‘csqrtl’
[-Wimplicit-function-declaration]
preamble.c:86:19: warning: incompatible implicit declaration of
built-in function ‘csqrtl’ [enabled by default]
preamble.c:86:6: warning: implicit declaration of function ‘sqrtl’
[-Wimplicit-function-declaration]
preamble.c:86:19: warning: incompatible implicit declaration of
built-in function ‘sqrtl’ [enabled by default]
preamble.c:211:4: warning: implicit declaration of function ‘creall’
[-Wimplicit-function-declaration]
preamble.c:211:4: warning: incompatible implicit declaration of
built-in function ‘creall’ [enabled by default]
preamble.c:212:4: warning: implicit declaration of function ‘cimagl’
[-Wimplicit-function-declaration]
preamble.c:212:4: warning: incompatible implicit declaration of
built-in function ‘cimagl’ [enabled by default]

hiyuh@lynx /tmp
$ gcc -std=gnu11 -Wall -DUSE_DOUBLE -DUSE_SWS -O3 -march=native -o
preamble preamble.c $(pkg-config --cflags --libs fftw3)
preamble.c: In function ‘main’:
preamble.c:86:6: warning: implicit declaration of function ‘csqrtl’
[-Wimplicit-function-declaration]
preamble.c:86:19: warning: incompatible implicit declaration of
built-in function ‘csqrtl’ [enabled by default]
preamble.c:86:6: warning: implicit declaration of function ‘sqrtl’
[-Wimplicit-function-declaration]
preamble.c:86:19: warning: incompatible implicit declaration of
built-in function ‘sqrtl’ [enabled by default]
preamble.c:211:4: warning: implicit declaration of function ‘creall’
[-Wimplicit-function-declaration]
preamble.c:211:4: warning: incompatible implicit declaration of
built-in function ‘creall’ [enabled by default]
preamble.c:212:4: warning: implicit declaration of function ‘cimagl’
[-Wimplicit-function-declaration]
preamble.c:212:4: warning: incompatible implicit declaration of
built-in function ‘cimagl’ [enabled by default]

hiyuh@lynx /tmp
$ gcc -std=gnu11 -Wall -DUSE_LONG_DOUBLE -DUSE_SWS -O3 -march=native
-o preamble preamble.c $(pkg-config --cflags --libs fftw3l)
Package fftw3l was not found in the pkg-config search path.
Perhaps you should add the directory containing `fftw3l.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fftw3l' found
preamble.c: In function ‘main’:
preamble.c:86:6: warning: implicit declaration of function ‘csqrtl’
[-Wimplicit-function-declaration]
preamble.c:86:19: warning: incompatible implicit declaration of
built-in function ‘csqrtl’ [enabled by default]
preamble.c:86:6: warning: implicit declaration of function ‘sqrtl’
[-Wimplicit-function-declaration]
preamble.c:86:19: warning: incompatible implicit declaration of
built-in function ‘sqrtl’ [enabled by default]
preamble.c:211:4: warning: implicit declaration of function ‘creall’
[-Wimplicit-function-declaration]
preamble.c:211:4: warning: incompatible implicit declaration of
built-in function ‘creall’ [enabled by default]
preamble.c:212:4: warning: implicit declaration of function ‘cimagl’
[-Wimplicit-function-declaration]
preamble.c:212:4: warning: incompatible implicit declaration of
built-in function ‘cimagl’ [enabled by default]
/tmp/ccC2hDZs.o:preamble.c:(.text.startup+0x19): undefined reference
to `fftwl_malloc'
/tmp/ccC2hDZs.o:preamble.c:(.text.startup+0x27): undefined reference
to `fftwl_malloc'
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld:
/tmp/ccC2hDZs.o: bad reloc address 0x27 in section `.text.startup'
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld:
final link failed: Invalid operation
collect2: error: ld returned 1 exit status
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preamble.c
Type: text/x-csrc
Size: 6180 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130724/cf35add5/attachment.bin>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list