Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-21-2004, 07:47 AM   #1
LQ Newbie
Registered: Mar 2004
Location: Pondicherry
Posts: 2

Rep: Reputation: 0
Unhappy How to compile a C program in Glade which is included the <pcap.h> header file.


My name is Viswanadh. I am learning Network programming and i am doin a project using C language. I am also interested to do the GUI programming with the glade.

I learned the Glade,but i am having a problem while compling the code of <pcap.h> header file in Glade.

Normally the <pcap.h> header file included in C program is compiled as

"gcc new.c -lpcap"

this new.c is a c file which is having the code and in that file <pcap.h> is included. so i am compling the code using "-lpcap". if we didn't used this option we will get the error message.

But how to compile the c program which is having the <pcap.h> included while using the Glade software in Linux.

So please help me in combining the C code (with <pcap.h> included) and Glade


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
failing to compile a simple glade app florg Programming 1 08-06-2005 03:25 AM
tcpdump- link level header pcap shivaligupta Linux - Networking 1 04-28-2005 06:28 AM
How to program for CTree widget in Glade 2.0 swaviswa Programming 0 03-27-2004 01:50 AM
Glade can't compile interface when C++ is set as language radiohead_rocks Programming 4 01-27-2004 10:21 AM
math.h and other included header files ecc6 Slackware 1 04-19-2003 02:15 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration