LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-26-2004, 05:19 PM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
c... problem with xml library


how can i get my c program to figure out where the nanoftp.h library is?? this is what happens when i compile, and this is where the .h file is located


[r@hayne9 rowley]$ gcc -Wall exp.c -lxml2 -o exp
exp.c:21:28: libxml/nanoftp.h: No such file or directory
exp.c: In function `main':
exp.c:74: warning: implicit declaration of function `xmlNanoFTPNewCtxt'
[r@hayne9 rowley]$ locate nanoftp.h
/usr/include/libxml2/libxml/nanoftp.h
/usr/include/gnome-xml/nanoftp.h
/usr/share/doc/libxml2-devel-2.6.8/html/libxml-nanoftp.html
/usr/share/gnome-xml/html/gnome-xml/gnome-xml-nanoftp.html
[r@hayne9 rowley]$
 
Old 10-26-2004, 06:34 PM   #2
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Original Poster
Rep: Reputation: 30
well, figured that out... had to include a directory... now i come into a new problem...

-bash-2.05b$ gcc -Wall exp.c -I/usr/include/libxml2 -o exp
/tmp/cc0V2W5j.o(.text+0x1f0): In function `main':
: undefined reference to `xmlNanoFTPNewCtxt'
collect2: ld returned 1 exit status
-bash-2.05b$


what is the problem here? it seems that one of the files comiled indirectly has an error... BAA
 
  


Reply


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
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
Yum repomd.xml problem mailavj Fedora 1 09-27-2005 08:36 PM
amarok xml problem zippo85 Linux - Software 3 05-14-2005 06:58 PM
gnucash install and xml problem kudos Linux - Software 2 04-20-2004 03:03 PM
problem installing XML::LibXML pmedes Linux - Newbie 0 10-28-2003 10:54 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:16 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