flag -lipc??

This is a discussion on flag -lipc?? within the C Programming forums, part of the General Programming Boards category; I don't think this problem is specific to building the pgplot graping library I am trying to install on Mac ...

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    46

    flag -lipc??

    I don't think this problem is specific to building the pgplot graping library I am trying to install on Mac OS X 3.10.1

    I incounter this error when I run make

    /usr/bin/ld: can't locate file for: -lipc
    collect2: ld returned 1 exit status
    make: *** [pgdemo1] Error 1

    What is -lipc?

    (I've installed gcc(Xcode), g77, X11 and X11SDK)

    Thanks,
    Peter

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,344
    > What is -lipc?
    No idea

    What warnings (ie unresolved symbols) do you get if you remove it from the makefile?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    46
    When I remove the flag I get the following errors which make me realize my problem is a g77 problem.

    rm -f pgpack
    g77 -fno-backslash -o pgdemo1 /Users/peter/Desktop/pgplot/examples/pgdemo1.f -L`pwd` -lpgplot -L/usr/X11R6/lib -lX11 -lm
    /usr/bin/ld: warning prebinding disabled because of undefined symbols
    /usr/bin/ld: Undefined symbols:
    restFP
    saveFP
    collect2: ld returned 1 exit status
    make: *** [pgdemo1] Error 1

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,344
    Now try google
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multithreading (flag stopping a thread, ring buffer) volatile
    By ShwangShwing in forum C Programming
    Replies: 3
    Last Post: 05-19-2009, 07:27 AM
  2. can some one please tell me the cause of the error ?
    By broli86 in forum C Programming
    Replies: 8
    Last Post: 06-26-2008, 08:36 PM
  3. need help on error handling.
    By broli86 in forum C Programming
    Replies: 9
    Last Post: 06-19-2008, 11:55 AM
  4. Checking for flag input through argv
    By cisokay in forum C Programming
    Replies: 6
    Last Post: 05-11-2005, 10:51 AM
  5. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21