10-01-2008 01:38 PM
10-02-2008 01:36 PM
Hello Mess88,
Thank you for contacting National Instruments! After reading through your post I have a few questions for you to continue troubleshooting.
First of all, what version of Red Hat are you using? There are specific versions that you need to use in order to use National Instruments products.
That leads to my second question. What National Instruments products are you using? Are you using LabVIEW or any of our hardware?
When you get the chance please post a reply with the answers to these questions and I will do my best to assist you towards a solution. Have a great day!
10-02-2008 02:33 PM
10-03-2008 02:10 PM
Hello Mess88,
I noticed in your first post you mentioned that you are trying to create a DLL. I would assume that you are actually trying to create .so file as Linux is unable to handle DLLs. I noticed that LabVIEW will still have a default name of My DLL but it will actually be a .so file.
After looking through the platdefines.h file I was able to determine the section that yields this error:
#if defined(i386)
#define ProcessorType
kX86
#define NI_BIG_ENDIAN
0
#elif defined(__alpha)
#define ProcessorType
kDECAlpha
#define NI_BIG_ENDIAN
0
#elif defined(powerpc)
#define ProcessorType
kPPC
#define NI_BIG_ENDIAN
1
#elif defined(sparc)
#define ProcessorType
kSparc
#define NI_BIG_ENDIAN
1
#elif defined(mips)
#define ProcessorType
kMIPS
#define NI_BIG_ENDIAN
1
#elif defined(arm) || defined(__arm__)
#define ProcessorType
kARM
#define NI_BIG_ENDIAN
0
#elif defined(__x86_64__)
#define ProcessorType
kX64
#define NI_BIG_ENDIAN
0
#else
#error "Unknown Linux platform"
#endif
So it looks like it checks to see the type of processor that you have and if it is not one of the types listed in the "if else" statements then it will eventually get to the "Unknown Linux Platform" error. Can you verify what processor you are using?
Also, is this the first time that you have tried to implement a solution like this before? Did it ever work in the past or would you get this error no matter what you tried to do. Please just let me know if you have any further questions! I hope this helps!
02-20-2009 02:05 PM
Hallo,
I'm wondering if the problem was solved or not.
I have the same problem (the same error "Unknown Linux platform").
I'm runing Labview 8.2 on Red Hat Enterprise Linux 4 with Dual Core Opteron 885 processors.
Thanks!
H.Shbaita