Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Compilation error

 
Post new topic   Reply to topic    II Support Forum Index -> Linux Development Corner
View previous topic :: View next topic  
Author Message
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Thu Dec 08, 2011 9:29 am    Post subject: Compilation error Reply with quote

Dear Support

A customer encounters diffuclties to recompile Snap example for X5-210M

They are using QtCreator to recompile the project.Snap compiling fails because some Innovative librairies are not found.

You can find below errors:
Quote:
Configuration inchangée, étape QMake sautée.
Débute : "/usr/bin/make" -w
make: entrant dans le répertoire « /usr/Innovative/X5-210M-1.1/Examples/Snap/Console »
g++ -m64 -Wl,-O1 -Wl,-rpath,/opt/QtSDK/Desktop/Qt/474/gcc/lib -o Release/Snap Release/main.o Release/ApplicationIo.o Release/ModuleIo.o Release/ConsoleInterface.o -L/opt/QtSDK/Desktop/Qt/474/gcc/lib -L/usr/local/MalibuCommon/Lib/Gcc -L/usr/local/MalibuCommon/Lib/Gcc/Debug -L/usr/local/MalibuCommon/Lib/Gcc/Release -lOs_Mb -lApplication_Mb -lAnalysis_Mb -lUtility_Mb -lFramework_Con -lFramework_Mb -lHardware_Mb -lPci_Mb -lFicl_Mb -lFiclExtensions_Mb -lwdapi -lippac -lippcc -lippch -lippcore -lippcv -lippdc -lippi -lippj -lippm -lippr -lipps -lippsc -lippsr -lippvc -lippvm -lQtCore -lpthread
Release/main.o: In function `main':
main.cpp:(.text+0x3e): undefined reference to `Innovative::SetCommandLineArguments(int, char**)'
main.cpp:(.text+0x88): undefined reference to `Innovative::Sleep(unsigned int)'
Release/ApplicationIo.o: In function `ApplicationIo::DioConfig(unsigned int)':
ApplicationIo.cpp:(.text+0xbb): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData()':
ApplicationIo.cpp:(.text+0xdc): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData(unsigned int)':
ApplicationIo.cpp:(.text+0x10b): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::HandleTimer(OpenWire::NotifyEvent&)':
ApplicationIo.cpp:(.text+0x192): undefined reference to `Innovative::X5_210M::Input()'
Release/ApplicationIo.o: In function `ApplicationIo::Temperature()':
ApplicationIo.cpp:(.text+0x1ec): undefined reference to `Innovative::X5_210M::Thermal()'
Release/ApplicationIo.o: In function `ApplicationIo::Close()':
ApplicationIo.cpp:(.text+0x240): undefined reference to `Innovative::PacketStream::Disconnect()'
ApplicationIo.cpp:(.text+0x253): undefined reference to `Innovative::X5_210M::Close()'
Release/ApplicationIo.o: In function `ApplicationIo::BoardCount()':
ApplicationIo.cpp:(.text+0x2bc): undefined reference to `Innovative::X5_210M::BoardCount()'
Release/ApplicationIo.o: In function `ApplicationIo::HandlePipProcessing(Innovative::PacketImageParserImageAvailable&)':
ApplicationIo.cpp:(.text+0x396): undefined reference to `Innovative::Buffer::Buffer()'
ApplicationIo.cpp:(.text+0x3a2): undefined reference to `Innovative::PacketImage::CopyDataTo(Innovative::Buffer&) const'
They are working with Scientific Linux 6.1 (kernel 2.6.32-131 ...)

What do you think about this issue?

Note: the customer has intalled X5-210M without any problems. Without recompiling, Snap works fine

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
ollie
Site Admin


Joined: 20 Feb 2009
Posts: 138

PostPosted: Fri Dec 09, 2011 12:04 pm    Post subject: Reply with quote

X5-210M-1.1 Looks to be a slightly older beta version of our software. Please download the latest software from our website here:

http://www.innovative-dsp.com/support/installfromwebLinux.htm

I have just tested the latest versions of our software which contain all the latest fixes and updates and the X5-210M compiles correctly. If you obtain the latest Malibu libraries as well as example code, that should resolve the issue.
Back to top
View user's profile Send private message Send e-mail
ARNAUD
Distributor


Joined: 23 Jan 2009
Posts: 235
Location: FRANCE

PostPosted: Wed Dec 14, 2011 1:05 am    Post subject: Reply with quote

Dear Ollie,

The customer is Linux 64-Bit.
He has downloaded and installed the last Beta version .
The last package for X5-210M (64-Bit) is 1.1

If he tries to recompile, he has following errors:
Quote:
Configuration inchangée, étape QMake sautée.
Débute : "/usr/bin/make" -w
make: entrant dans le répertoire « /usr/Innovative/X5-210M-1.1/Examples/Snap/Console »
g++ -m64 -Wl,-O1 -Wl,-rpath,/opt/QtSDK/Desktop/Qt/474/gcc/lib -o Release/Snap Release/main.o Release/ApplicationIo.o Release/ModuleIo.o Release/ConsoleInterface.o -L/opt/QtSDK/Desktop/Qt/474/gcc/lib -L/usr/local/MalibuCommon/Lib/Gcc -L/usr/local/MalibuCommon/Lib/Gcc/Debug -L/usr/local/MalibuCommon/Lib/Gcc/Release -lOs_Mb -lApplication_Mb -lAnalysis_Mb -lUtility_Mb -lFramework_Con -lFramework_Mb -lHardware_Mb -lPci_Mb -lFicl_Mb -lFiclExtensions_Mb -lwdapi -lippac -lippcc -lippch -lippcore -lippcv -lippdc -lippi -lippj -lippm -lippr -lipps -lippsc -lippsr -lippvc -lippvm -lQtCore -lpthread
Release/main.o: In function `main':
main.cpp:(.text+0x3e): undefined reference to `Innovative::SetCommandLineArguments(int, char**)'
main.cpp:(.text+0x88): undefined reference to `Innovative::Sleep(unsigned int)'
Release/ApplicationIo.o: In function `ApplicationIo::DioConfig(unsigned int)':
ApplicationIo.cpp:(.text+0xbb): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData()':
ApplicationIo.cpp:(.text+0xdc): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::DioData(unsigned int)':
ApplicationIo.cpp:(.text+0x10b): undefined reference to `Innovative::X5_210M::Dio()'
Release/ApplicationIo.o: In function `ApplicationIo::HandleTimer(OpenWire::NotifyEvent&)':
ApplicationIo.cpp:(.text+0x192): undefined reference to `Innovative::X5_210M::Input()'
Release/ApplicationIo.o: In function `ApplicationIo::Temperature()':
ApplicationIo.cpp:(.text+0x1ec): undefined reference to `Innovative::X5_210M::Thermal()'
Release/ApplicationIo.o: In function `ApplicationIo::Close()':
ApplicationIo.cpp:(.text+0x240): undefined reference to `Innovative::PacketStream::Disconnect()'
ApplicationIo.cpp:(.text+0x253): undefined reference to `Innovative::X5_210M::Close()'
Release/ApplicationIo.o: In function `ApplicationIo::BoardCount()':
ApplicationIo.cpp:(.text+0x2bc): undefined reference to `Innovative::X5_210M::BoardCount()'
Release/ApplicationIo.o: In function `ApplicationIo::HandlePipProcessing(Innovative::PacketImageParserImageAvailable&)':
ApplicationIo.cpp:(.text+0x396): undefined reference to `Innovative::Buffer::Buffer()'
ApplicationIo.cpp:(.text+0x3a2): undefined reference to `Innovative::PacketImage::CopyDataTo(Innovative::Buffer&) const'


Thanks for your help

_________________
Best Regards,
Arnaud
Back to top
View user's profile Send private message
ollie
Site Admin


Joined: 20 Feb 2009
Posts: 138

PostPosted: Thu Dec 15, 2011 12:59 pm    Post subject: Reply with quote

I have just tested the 64 bit linux on a virgin machine and ran into no problems running or compiling. Is it possible to get a run down of the steps used to install the software and the driver on that machine. I suspect that there is a step missing. Did the customer use the LinuxNotes.pdf?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> Linux Development Corner (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional