C言語なら、俺に聞け! <23>
■ このスレッドは過去ログ倉庫に格納されています
0452デフォルトの名無しさん
NGNGコンパイルすると次のようなエラーがでます。
/tmp/cc5Soiex.o: In function `main':
/tmp/cc5Soiex.o(.text+0x144): undefined reference to `sqrt'
/tmp/cc5Soiex.o(.text+0x152): undefined reference to `log'
/tmp/cc5Soiex.o(.text+0x1f4): undefined reference to `getBf'
/tmp/cc5Soiex.o: In function `dft':
/tmp/cc5Soiex.o(.text+0x336): undefined reference to `cos'
/tmp/cc5Soiex.o(.text+0x358): undefined reference to `sin'
/tmp/cc5Soiex.o: In function `idft':
/tmp/cc5Soiex.o(.text+0x3e1): undefined reference to `cos'
/tmp/cc5Soiex.o(.text+0x403): undefined reference to `sin'
collect2: ld returned 1 exit status
アドバイスお願いします。
■ このスレッドは過去ログ倉庫に格納されています