LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-23-2002, 08:15 AM   #1
yuzuohong
Member
 
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Rep: Reputation: 15
Angry How to compile a ".c" file to a module file?


Hi all,

I searched www.google.com and cannot find a ready ip_conntrack_h323.o, just
ip_conntrack_h323.c source code.
I don't know how to compile this source code to a ip_conntrack_h323.o
module. I read the code file and found that I already got all the ".h" head
file.
Please help me to compile this module.

zuohong
 
Old 12-23-2002, 01:17 PM   #2
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
look if there is a source package it belongs to, download that, untar, cd into that directory and do ./configure && make && make install

if there really is only that file then you need to look into how gcc works

Last edited by yngwin; 12-23-2002 at 01:20 PM.
 
Old 12-23-2002, 02:09 PM   #3
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
It is it's own source - it's a patch for iptable's connection tracker that allows the use of Netmeeting (which opens up artbitrary ports and hence the patch is needed to listen for what ports to open up).

I'm going on memory here, 'cos I compiled mine in a long time ago. But you should have more than just the c file.

You could have a 'patch' file which you need to diff with a Makefile in your /net source directory. The patch will insert the correct makefile instructions to create your object file (.o) for your machine.

I see, after doing a little research, that I might be wrong on the above. The process has come a long way since I did it. openh323.org provides a download, an instruction page, and a list of common errorrs :

http://www.openh323.org/
http://www.openh323.org/build.html

Follow the above and if you have problems post at which stage...

Slick.
 
Old 12-24-2002, 05:45 AM   #4
yuzuohong
Member
 
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Original Poster
Rep: Reputation: 15
Unhappy Reply:

Hi,

I do download the openh323 and pwlib package from that www.openh323.org . I just unpack the files and compile them according to the readme files. But nothing changes after that. When I ran "make install', it just copied some files to /usr/local/lib and /usr/local/include folder. Then I also add /usr/local/lib to "/etc/ld.so.conf" and run "ldconfig" to make it work. However, you know, I'm so disappointed to find I still couldn't do voice chat through that RedHat NAT server.

zuohong
 
Old 12-24-2002, 10:19 AM   #5
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Well, it's not easy to get Netmeeting working with NAT.

Especially since they moved from the ils (internet locator service ?) to um.. whatever it is they use now.

I don't do netmeeting outside of a work environment and I built my own ils server to which all the netmeeting clients connect. I know they changed the way Netmeeting 3 works, although I believe you can still use an ils service. I recall reading about the changover (which happened in about 1999 I think) and didn't like it one bit.. So, never migrated.

Anyway... Your problem could be the lack of LDAP support (I'm reading the documentation and surmising here.. I've not done any of this myself).

The following link is the HOWTO on getting Linux to talk to and use Netmeeting.

http://www.freesoft.org/software/NetMeeting/

See if that helps?

Slick.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 01:19 AM
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
try to compile "no such file" error comes out attila_66 Linux - Newbie 9 10-18-2005 02:27 PM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:13 PM.

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