ts-7000
[Top] [All Lists]

[ts-7000] Re: Error linking to lincan libvca on TS-7350

To:
Subject: [ts-7000] Re: Error linking to lincan libvca on TS-7350
From: "sanjuan34" <>
Date: Mon, 08 Feb 2010 21:23:50 -0000
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.
> 
> 
> 
> 
> 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU