LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-27-2006, 11:14 AM   #1
balckdeath
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
library questions


hello everybody in this forum I wonder how can I add new library
and then use it
so
show what I do and what happen with me
so I was adding new library and then extract it and after that I copy
the files that are their extentions is .h
to /usr/local/include mylibrary
but when I try to use this library I surrprised that the message error
was error : 23 : ubdefined to refrece to ClassLibrary::ClassConstructor
and many errors like that
please
help me
thank very much
Best Aamer
 
Old 06-27-2006, 11:19 AM   #2
balckdeath
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
library questions

undefined refrence to

I wanna help me in this error as fast as yoy can
thank you
Best
Aamer
 
Old 06-27-2006, 01:36 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If you want help you need to post some detail. And "as fast as we can"
is a) not going to happen since this site is free & volunteer driven,
you're not paying for fast delivery and b) depends on your input.


Cheers,
Tink
 
Old 06-28-2006, 03:54 AM   #4
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
You may be off better asking this in the programing forum, rather than the kernel forum... But unless I'm terribly mistaken either your libraries are not correctly installed or your inlcudes are misplaced and badly referenced from the source code or both.
 
Old 06-28-2006, 06:10 AM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I've merged your two posts and will move them to programming.

My guess is you aren't linking against your library, the /usr/local/include isn't added to your include path, or your not correctly including the headers.
 
Old 07-01-2006, 01:21 PM   #6
balckdeath
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for posting
but
a) I guess that forum is good to help me in my problem and I expect that I deal with good people
b)the second thing that I am using ode and from two weeks till now I fix problems and that way if I fix these problem I can help you to fix your problem
c)thank you again
and I am sure that I am installing my lib correctly but maybe there are some mistake with headers and thank you
 
Old 07-01-2006, 01:24 PM   #7
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
It is pretty much impossible for us to help you without any details. If you could tell us the actualy command used to compile the source and/or show us the header or something it would help greatly.
 
Old 07-01-2006, 03:12 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Or, to use an analogy:

He:"Doctor, help me, quick!"
Doc:"What's wrong?"
He:"How would I know, you're the Doctor!"


A Doctor needs to hear the symptoms. Unless it's something very
obvious like a missing leg and lots of blood pouring out, which
your example isn't.

Go and read How to ask questions the smart way and come back.


Cheers,
Tink
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
undefined refrence return status link error azucarmom Programming 7 03-30-2005 11:15 AM
error in assigning the iterator to refrence varaible ashwinipahuja Programming 1 06-18-2004 05:55 AM
Refrence book for newbie vcheah Linux - Newbie 1 12-19-2001 01:17 AM

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

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