Сделал симлинк, и теперь вообще ничего ни понимаю из ниже прведенной "ругани" (и, чего-же ему не хватает
):
gcc -D__KERNEL__ -I/usr/src/linux/include -DCPU=586 -march=i586 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DMODULE -c pl2303.c
In file included from /usr/src/linux/include/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:19,
from /usr/src/linux/include/linux/sched.h:26,
from pl2303.c:14:
/usr/src/linux/include/asm/mpspec.h:6:25: ошибка: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux/include/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:19,
from /usr/src/linux/include/linux/sched.h:26,
from pl2303.c:14:
/usr/src/linux/include/asm/mpspec.h:8: error: ‘MAX_MP_BUSSES’ undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:23: error: ‘MAX_IRQ_SOURCES’ undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/smp.h:19,
from /usr/src/linux/include/linux/sched.h:26,
from pl2303.c:14:
/usr/src/linux/include/asm/smp.h:77:26: ошибка: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux/include/linux/smp.h:19,
from /usr/src/linux/include/linux/sched.h:26,
from pl2303.c:14:
/usr/src/linux/include/asm/smp.h: In function ‘hard_smp_processor_id’:
/usr/src/linux/include/asm/smp.h:81: warning: implicit declaration of function ‘GET_APIC_ID’
In file included from /usr/src/linux/include/linux/irq.h:22,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:7,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/rcuref.h:36,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/mm.h:15,
from /usr/src/linux/include/linux/poll.h:11,
from pl2303.c:17:
/usr/src/linux/include/asm/irq.h:16:25: ошибка: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:7,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/rcuref.h:36,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/mm.h:15,
from /usr/src/linux/include/linux/poll.h:11,
from pl2303.c:17:
/usr/src/linux/include/linux/irq.h: At top level:
/usr/src/linux/include/linux/irq.h:85: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:94,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:7,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/rcuref.h:36,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/mm.h:15,
from /usr/src/linux/include/linux/poll.h:11,
from pl2303.c:17:
/usr/src/linux/include/asm/hw_irq.h:30: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from pl2303.c:33:
usb-serial.h:74: error: field ‘tqueue’ has incomplete type
pl2303.c: In function ‘prolific_sa_open’:
pl2303.c:183: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)pl2303.c:183: error: (Each undeclared identifier is reported only once
pl2303.c:183: error: for each function it appears in.)
pl2303.c:194: error: too few arguments to function ‘usb_submit_urb’
pl2303.c:198: error: too few arguments to function ‘usb_submit_urb’
pl2303.c: In function ‘prolific_sa_close’:
pl2303.c:216: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)pl2303.c: In function ‘prolific_sa_set_termios’:
pl2303.c:311: error: called object ‘"<6>%s: "’ is not a function
pl2303.c:311: error: syntax error before string constant
pl2303.c: In function ‘prolific_sa_ioctl’:
pl2303.c:416: error: called object ‘"<6>%s: "’ is not a function
pl2303.c:416: error: syntax error before string constant
pl2303.c: In function ‘prolific_set_dcr_state’:
pl2303.c:510: error: called object ‘"<6>%s: "’ is not a function
pl2303.c:510: error: syntax error before string constant
pl2303.c: In function ‘prolific_sa_write’:
pl2303.c:568: warning: implicit declaration of function ‘FILL_BULK_URB’
pl2303.c:574: error: too few arguments to function ‘usb_submit_urb’
pl2303.c:576: error: called object ‘"<3>%s: "’ is not a function
pl2303.c:576: error: syntax error before string constant
pl2303.c:561: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
pl2303.c: In function ‘prolific_sa_write_bulk_callback’:
pl2303.c:606: warning: implicit declaration of function ‘queue_task’
pl2303.c:606: error: ‘tq_immediate’ undeclared (first use in this function)
pl2303.c:607: warning: implicit declaration of function ‘mark_bh’
pl2303.c:607: error: ‘IMMEDIATE_BH’ undeclared (first use in this function)
make: *** [pl2303.o] Ошибка 1
Так, покопавшись в "error" строках, понял, что не включена какая-то функция (быть может нет ее на "железном" уровне) связанная с APIC. В общем "труба-дело" .