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 03-14-2011, 06:19 AM   #1
naren123.k
Member
 
Registered: Jan 2011
Posts: 85

Rep: Reputation: 17
not getting .h support


Hi, all

I got errors during make of the following programs


lar/lar.h:219: error: ‘virtual void LARRouteRequestTimer::expire(Event*)’ is protected
lar/lar.h:316: error: within this context
lar/lar.cc:2717: error: ‘struct hdr_cmn’ has no member named ‘ref_count’
Attached Files
File Type: txt lar.txt (114.6 KB, 19 views)
File Type: txt lar.h.txt (11.9 KB, 11 views)

Last edited by naren123.k; 03-14-2011 at 06:31 AM.
 
Old 03-14-2011, 09:59 AM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
You can't take friendship, it is given. So because class LARAgent doesn't know about the protected function in class LARRouteRequestTimer it is unable to give friendship. Either make LARAgent a friend of LARRouteRequestTimer or make LARAgent a friend of the whole LARRouteRequestTimer class.
 
1 members found this post helpful.
  


Reply

Tags
c++



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
RTLinux does not support sine functions...How do i make it support the same navderm Programming 8 01-14-2009 07:13 PM
linux boot cd with cciss support and USB 2.0 support zerobane Linux - Software 0 03-21-2006 10:03 PM
USB Support, UHCI (Intel PIIX4, VIA, ...) Support qingjuan Linux - General 0 03-30-2002 11:46 AM
Help desk / technical support / Customer support Software BaerRS Linux - General 1 12-20-2001 07:16 PM
Recompiling RH 7.1 to disable DMA support - chipset doesn't support properly arby73 Linux - Newbie 0 06-13-2001 10:17 AM

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

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