Yeah, it's odd. I looked in libvca.a, and I can see vca_open_handle:
ts7000:/usr/lib/ocera# nm -s libvca.a |grep vca_open_handle
vca_open_handle in vca_base.o
000000c0 T vca_open_handle
U vca_open_handle
I've tried compiling the ocera stuff from source both on my linux box (using
arm-linux-gcc) and on the TS itself and not yet been successful. I'm sure I can
eventually get it configured to compile, but I wasn't sure if that was the
right tree to bark up. I'm still not sure if it's an issue with the
pre-compiled stuff from TS not working with the 7350, or something I'm failing
to include in my Makefile.
-Jesse
--- In "Charlie Wallace" <> wrote:
>
> i don't see much of a difference between yours and mine, i know i ran into
> some issues initially and i think i rebuilt the library, but i don't recall
> what it was, and i don't have my TS box anymore,
>
> canbus.cpp
> #include "can/can_vca.h"
> if (vca_open_handle(&canhandle, VCA_DEV_NAME, NULL, 0) != VCA_OK) {
> perror("open");
>
> CXXFLAGS = --cflags -Wall -Werror -DGP2X -funsigned-char -fno-exceptions
> $(OPT)
>
> LIBS = $(BASE)/$(GCC_PATH2)/lib/crt1.o \
> $(BASE)/$(GCC_PATH2)/lib/crti.o \
> $(BASE)/$(GCC_PATH)/crtbegin.o \
> $(BASE)/$(GCC_PATH2)/lib/libstdc++.a \
> ../fmLib/libvca.a \
> ../fmLib/libbluetooth.a \
> $(BASE)/$(GCC_PATH2)/lib/libm.a \
> $(BASE)/$(GCC_PATH2)/lib/libphidget21.a \
> $(BASE)/$(GCC_PATH2)/lib/libpthread.a \
> $(BASE)/$(GCC_PATH2)/lib\libc.a \
> $(BASE)/$(GCC_PATH)/libgcc.a \
> $(BASE)/$(GCC_PATH)/crtend.o \
> $(BASE)/$(GCC_PATH2)/lib/crtn.o
>
>
> maybe a debug output of what gcc is doing, or a dump of the library libvca
> library exports.
>
>
>
>
>
|