Go Down

Topic: uarduno driver compilation error on FreeBSD 8.2 i386 (Read 1 time) previous topic - next topic

aiviso

Hello,

I am trying to compile uarduno driver under FreeBSD 8.2 i386, but  getting following error:

If anybody have an idea what I am doing wrong, it would be highly appreciated

Code: [Select]
# make
===>  Building for uarduno-1.02
Warning: Object directory not changed from original /usr/ports/comms/uarduno/work/uarduno
cc -O2 -pipe -DKERNELVER=801000 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c uarduno.c
uarduno.c: In function 'uarduno_set_line_coding_reset':
uarduno.c:1364: error: called object '"%s: "' is not a function
uarduno.c:1391: error: 'struct ucom_softc' has no member named 'sc_dev'
uarduno.c:1391: error: called object '"%s: "' is not a function
uarduno.c: In function 'uarduno_set_line_coding':
uarduno.c:1411: error: called object '"%s: "' is not a function
uarduno.c:1417: error: called object '"%s: "' is not a function
uarduno.c:1436: error: 'struct ucom_softc' has no member named 'sc_dev'
uarduno.c:1436: error: called object '"%s: "' is not a function
uarduno.c: In function 'uarduno_set_line_state_reset':
uarduno.c:1479: error: 'struct ucom_softc' has no member named 'sc_dev'
uarduno.c:1479: error: called object '"%s: "' is not a function
uarduno.c: In function 'uarduno_set_crtscts':
uarduno.c:1526: error: 'struct ucom_softc' has no member named 'sc_dev'
uarduno.c:1526: error: called object '"%s: "' is not a function
uarduno.c: In function 'uarduno_cfg_param':
uarduno.c:1698: error: 'struct ucom_softc' has no member named 'sc_dev'
uarduno.c:1698: error: called object '"%s: "' is not a function
uarduno.c:1709: error: 'struct ucom_softc' has no member named 'sc_dev'
uarduno.c:1709: error: called object '"%s: "' is not a function
*** Error code 1
1 error
*** Error code 1

wanderson

New true random number library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version 1.0.1

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy