Make file compilation


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Make file compilation
# 1  
Old 06-26-2008
Make file compilation

Hi
I am getting the message

Code:
/usr/bin/ld: skipping incompatible /opt/sybase/01/OCS-12_5/lib/libblk.a when searching for -lblk
/usr/bin/ld: cannot find -lblk
collect2: ld returned 1 exit status
make: *** [xxx] Error 1

when i am trying to make the makefile.

Any idea about this issue.
Let me know if you need more info.

Regards
Dhana

Last edited by Yogesh Sawant; 06-27-2008 at 01:23 AM.. Reason: added code tags
# 2  
Old 06-26-2008
Hi

You could try and modify your LD_LIBRARY_PATH to include the path for library that is missing while you are trying to run make. Use find to locate the path of that missing library and include it in your LD_LIBRARY_PATH.
Or try to copy the missing library to the place it is supposed to be and run make clean and then make.

HTH
# 3  
Old 06-26-2008
Hi
I have the lib file available (not missing) libblk.a. But i am trying to find out the incompatibility?

Regards
Dhanan
# 4  
Old 06-26-2008
Hi
Any thoughts on this problem?

Regards
Dhana
# 5  
Old 06-26-2008
It's not allowed to bump up questions! Please read the rules:

https://www.unix.com/unix-dummies-que...om-forums.html

The moderator team.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Read csv file, convert the data and make one text file in UNIX shell scripting

I have input data looks like this which is a part of a csv file 7,1265,76548,"0102:04" 8,1266,76545,"0112:04" I need to make the output data should look like this and the output data will be part of text file: 7|1265000 |7654899 |A| 8|12660000 |76545999 |B| The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies

2. Shell Programming and Scripting

make the name of file and fetch few things from log file

Hello All, I am working on a script where I need to fetch the value from a log file and log file creates with different name but few thing are common DEV_INFOMGT161_MULTI_PTC_BLD01.Stage_All_to_stp2perf1.042312114644.log STP_12_02_01_00_RC01.Stage_stp-domain_to_stp2perf2.042312041739.log ... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies

3. Solaris

Error in compilation of cxx file on Sun C++ 5.9 SunOS_sparc 2007/05/03)

Hi All when I am compiling the cxx file on the system with compiler version (CC: Sun C++ 5.9 SunOS_sparc 2007/05/03) , I am facing the following error:- /opt/SUNWspro/bin/CC -dy -misalign -xcode=abs64 -xarch=v9 -D__EXTENSIONS__ -Dsun4_R5=1 -I. -Isun4_R5_v... (0 Replies)
Discussion started by: ash_bit2k2
0 Replies

4. Programming

Header file compilation using gcc in Sparc Solaris

I am facing problem while migrating the c++ code from Linux to Solaris. In linux the code is absolutly compiled fine with GCC compiler but when i am using the same in Solaris it coomplains bash-3.1$ gcc LibSip.h gcc: Compilation of header file requested The same command is working fine in... (2 Replies)
Discussion started by: mrupesh74
2 Replies

5. Programming

makeutility: how to get the make-file name inside of the make-file?

How I can get the current make-file name in a make-file So, if I run make with specified file:make -f target.mak is it possible to have the 'target' inside of the that 'target.mak' from the file name? (2 Replies)
Discussion started by: alex_5161
2 Replies

6. AIX

ProC and other C file compilation problem on AIX

I am linking my compiled proC file with other C files and getting following error. ld: 0711-711 ERROR: Input file /opt/orabase/oracle/product/10.2.0/db_1/lib/libirc.a is empty. The file is being ignored. I used following command to compile my proC code. proc iname=dbConnect.pc code=ANSI_C... (0 Replies)
Discussion started by: amit.singhal
0 Replies

7. UNIX for Dummies Questions & Answers

File compilation error on AIX

Hi All, I am successfully able to compile the file through gcc. At the time of compilling the file throught xlc, I am facing the following issues: 1) 1540-0836 (S) The #include file <multimap.h> is not found. 2) 1540-0836 (S) The #include file <pair.h> is not found. 3) ld: 0706-012 The... (0 Replies)
Discussion started by: Prajakta
0 Replies

8. Shell Programming and Scripting

compare two files and make 1st file same as 2nd file

I am trying to compare two file and make changes where ever its different. for example: Contents of file1 IP=192.165.89.11 NM=255.255.0.0 GW=192.165.89.1 Contents of file2 IP=192.165.89.11 NM=255.255.255.255 GW=192.165.89.1 NOTE HERE THAT NM IS DIFFERENT So i want the changes... (6 Replies)
Discussion started by: pradeepreddy
6 Replies

9. Linux

Make file compilation

Hi I am getting the message /usr/bin/ld: skipping incompatible /opt/sybase/01/OCS-12_5/lib/libblk.a when searching for -lblk /usr/bin/ld: cannot find -lblk collect2: ld returned 1 exit status make: *** Error 1 when i am trying to make the makefile. Any idea about this issue. Let... (1 Reply)
Discussion started by: dhanamurthy
1 Replies

10. UNIX for Advanced & Expert Users

postfix compilation issue with make

Hi guys, I'm in trouble to do postfix compilation on a Solaris. SunOS 5.10 Generic_118833-33 sun4u sparc SUNW, Sun-Fire-V440 I'm trying to compile postfix-2.4.5 which make replay /usr/ccs/bin/make and it's in the profile When I launch make install clean it replies make: Fatal... (2 Replies)
Discussion started by: moustik
2 Replies
Login or Register to Ask a Question