The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-07-2008
jim mcnamara jim mcnamara is offline
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,883
Some syntax in your makefile is not right. It thinks you are trying to compile libclntsh which you should never do.

You need to post the .pc: block from your makefile
Example:
Code:
.pc:
        @ rm -f make.log
        $(PROC) iname=$*.pc $(PROFLAGS)
        $(CC) $(CFLAGS) $*.c -o $* $(LDFLAGS) $(LOBJS) $(ULIBS) $(LLIBS) $(CCOPT)
        @ echo "Successful Compilation of $*.pc"
        @ echo " "
Reply With Quote