Announcement

Collapse
No announcement yet.

Linking Libaries to binary executable

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linking Libaries to binary executable

    Hello,

    I am using Open Suse 10.3. I have implemented Zeroconf and the program is working with out any errors.

    Libray linking for normal executable:
    gcc -o name name.c -lavahi-client.so (WORKING)

    Now i have to create a binary executable, to have the program running on a device.

    For a normal program i use command like this:

    > /opt/<cross-compiler-path> gcc -I <necessary libraries> -o name name.c

    It creates a binary executable.

    But now i have a problem with Zeroconf program. I dont have any idea how to link libraries (avahi-client)and avahi deamon to the executable.

    Can any one guide me here.

    Thank you,
    lokesh.
Working...
X