Re: [問題] spca5xx make錯誤?
make會讀到一個spca5xx.c檔,這個.c檔我改了兩個include
#incldue <linux/config.h> => #include <linux/autoconf.h>
這個是比較新的核心版本以autoconf.h取代config.h ?
#include <asm/semaphore.h> => #include </usr/include/semaphore.h>
我asm目錄裡沒有semaphore.h這個檔案,是不是另外應該裝個什麼xxx-dev之類的
我想應該是我亂套上一個semaphore.h才衝突的..
/usr/include/semaphore.h 49行附近內容:
43 extern sem_t *sem_open (__const char *__name, int __oflag, ...) __THROW;
44
45 /* Close descriptor for named semaphore SEM. */
46 extern int sem_close (sem_t *__sem) __THROW;
47
48 /* Remove named semaphore NAME. */
49 extern int sem_unlink (__const char *__name) __THROW;
50
51 /* Wait for SEM being posted.
52
53 This function is a cancellation point and therefore not marked with
54 __THROW. */
55 extern int sem_wait (sem_t *__sem);
56
57 #ifdef __USE_XOPEN2K
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.255.12.29
→
04/30 14:10, , 1F
04/30 14:10, 1F
→
04/30 14:11, , 2F
04/30 14:11, 2F
→
04/30 14:12, , 3F
04/30 14:12, 3F
→
04/30 14:13, , 4F
04/30 14:13, 4F
→
04/30 14:14, , 5F
04/30 14:14, 5F
→
04/30 14:16, , 6F
04/30 14:16, 6F
→
04/30 17:07, , 7F
04/30 17:07, 7F
→
04/30 17:19, , 8F
04/30 17:19, 8F
→
04/30 17:19, , 9F
04/30 17:19, 9F
→
04/30 17:20, , 10F
04/30 17:20, 10F
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):