undefined reference to... - Linux

Table of Contents

system: ubuntu 11.10 x86-64
libc6-dev已安裝
ld.conf include的目錄也確定沒錯(有用locate libpthread翻過)
同時也下了-lpthread
可是照樣出現undefined reference to `pthread_create'的字眼

後來試了-lm也出現同樣問題

想請問各位可能還有哪邊會出事?



--
感覺裝上11.10後問題一堆啊...
不過這問題好像沒人發生過

--

All Comments

Charlotte avatarCharlotte2011-10-24
把第二台筆電裝11.10 結果超順利,原來只是第一台不熟
Hedwig avatarHedwig2011-10-28
連數學函數庫都找不到是你的LD_PATH有問題之類吧?