Hi Salem,
Finally it worked.. I tried the below command
gcc -maix64 -I/usr/local/easysoft/unixODBC/include -I. -L/usr/local/easysoft/unixODBC/lib -lodbc -o data database.c
Type: Posts; User: lawliet
Hi Salem,
Finally it worked.. I tried the below command
gcc -maix64 -I/usr/local/easysoft/unixODBC/include -I. -L/usr/local/easysoft/unixODBC/lib -lodbc -o data database.c
Hi,
Sorry for the late reply,
Please find all the details below. Library path is correct. Still it wont compile.
/usr/local/easysoft/unixODBC/lib$ls
libodbc.a libodbc.so.1 ...
Hi Jimmy,
I already provided the installation path in the first post itself, based on that only salem provided the example... It is the same path.... Still its not working...
Don't know how to...
Hi Salem ,
Thanks for the advise... I tried your command, it still throws the same error... please advise
/apps/rmb/scripts$gcc -I/usr/local/easysoft/unixODBC/include...
Yes, I have tried various solutions provided in different sides, but could not solve it.
One of the solution was to include the lib file "libodbc.a".
It was not present inside /usr/lib but...
Hi All,
Im stuck with this error for a week and I cant move on... Please help me out... I have been trying to compile this simple C program on my AIX machine but getting the below error.
...
Hi Jimmy,
Thanks for the response. I will try as you have advised without Fork. The Database Im using is MS Sql Server. I specificaly told to use Fork, thats y I asked.
Nothing Secret...
Hi All
Thanks for the response. As u said in new to c program (new in the sense barely worked on it in production ) but I'm not a beginner to programming ... I am in java projects for two years...
Hi All,
I have been given a task of checking the size of file in Linux machine using C Program.
Below is what I came up with
#include <stdio.h>
void main(int argc, char **argv)