Robson Ribeiro
2005-Apr-14 12:52 UTC
[Asterisk-Users] Fritz Card going Crazy to make it compile
I have reviewed everything, notes etc but I can't get the fcpci.o to show up in the src.drv or anytother directory. Here is what I am getting when I do make: root@asterisk1:/usr/src/fritz/src.drv# make cc -c -DMODULE -DMODVERSIONS -D__KERNEL__ -DNDEBUG -D____ -DTARGET=\"\" -march=i386 -O2 -Wall -I /usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h main.c -o main.o In file included from /usr/src/linux/include/linux/spinlock.h:6, from /usr/src/linux/include/linux/wait.h:16, from /usr/src/linux/include/linux/fs.h:12, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/asm/uaccess.h:8, from main.c:28: /usr/src/linux/include/asm/system.h: In function `__set_64bit_var': /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/linux/include/asm/system.h:190: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from tools.h:30, from main.c:48: defs.h: At top level: defs.h:89: error: redefinition of `irqreturn_t' /usr/src/linux/include/linux/interrupt.h:16: error: `irqreturn_t' previously declared here main.c:60: error: parse error before "PRODUCT_LOGO" main.c: In function `fritz_init': main.c:140: error: `PRODUCT_LOGO' undeclared (first use in this function) main.c:140: error: (Each undeclared identifier is reported only once main.c:140: error: for each function it appears in.) main.c:140: error: parse error before string constant make: *** [main.o] Error 1 root@asterisk1:/usr/src/fritz/src.drv# At this point I am stuck. Or if anybody can send me a compiled fcpci.o for Kernel 2.4.29 (Slackware) I appreciate. Robson -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3998 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050414/2654c8af/winmail.bin