WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: asm/linkage.h  (Read 5770 times)

Offline rcacheira

  • Newbie
  • *
  • Posts: 5
asm/linkage.h
« on: May 25, 2011, 01:41:29 PM »
Hi,

I'm new at forum, and English isn't my mother language but i'll try.

i've installed make, gcc, linux headers and finally i've found compiletc.tcz, and i've installed it.

and now i'm trying to install an usbSerial driver, but when i try to do make i got the bellow error list, can someone help me ?

I'm using tinycore_3.0

gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/2.6.33.3-tinycore/build/include -D__SMP__ -DSMP -I/usr/src/linux-2.6.33.3-tinycore/drivers/usb/serial/ -O   -c -o ftdi_sio.o ftdi_sio.c
In file included from /lib/modules/2.6.33.3-tinycore/build/include/linux/kernel.h:11,
                 from ftdi_sio.c:251:
/lib/modules/2.6.33.3-tinycore/build/include/linux/linkage.h:5:25: error: asm/linkage.h: No such file or directory
In file included from /lib/modules/2.6.33.3-tinycore/build/include/linux/kernel.h:15,
                 from ftdi_sio.c:251:
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h:17:24: error: asm/bitops.h: No such file or directory
In file included from /lib/modules/2.6.33.3-tinycore/build/include/linux/kernel.h:15,
                 from ftdi_sio.c:251:
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h: In function 'get_bitmask_order':
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h:29: warning: implicit declaration of function 'fls'
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h: In function 'hweight_long':
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h:45: warning: implicit declaration of function 'hweight32'
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h:45: warning: implicit declaration of function 'hweight64'
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h: In function 'fls_long':
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h:112: warning: implicit declaration of function 'fls64'
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h: In function '__ffs64':
/lib/modules/2.6.33.3-tinycore/build/include/linux/bitops.h:127: warning: implicit declaration of function '__ffs'
In file included from ftdi_sio.c:251:
/lib/modules/2.6.33.3-tinycore/build/include/linux/kernel.h:20:21: error: asm/bug.h: No such file or directory

etc......

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: asm/linkage.h
« Reply #1 on: May 25, 2011, 03:12:37 PM »
That module is in the usb-serial extension?
The only barriers that can stop you are the ones you create yourself.

Offline rcacheira

  • Newbie
  • *
  • Posts: 5
Re: asm/linkage.h
« Reply #2 on: May 25, 2011, 03:27:51 PM »
That module is in the usb-serial extension?

No, i've installed usb-utils, and usb-serial, before try to install driver of conversor.
When i plug in conversor at USB port, tinycore recognize conversor and assign to /dev/ttyUSB0
But when i try to use /dev/ttyUSB0, even though I have set up a vtime = 1 and Vmin = 0, function read block.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: asm/linkage.h
« Reply #3 on: May 25, 2011, 07:33:15 PM »
Might have something to do with how you installed the tools. Uninstall make, gcc, headers, and
compiletc. Then reboot and install only compiletc and see if that helps.