Sponsored Content
Top Forums Programming What is the proper way to combine C++ files (with g++) to avoid link (ld) errors? Post 302176205 by odys on Monday 17th of March 2008 06:08:25 PM
Old 03-17-2008
Maybe you have duplicate global variables defined in header file (e.g. "a.h"). Make sure the all global are declared with "extern" keyword.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

2. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

3. Shell Programming and Scripting

avoid displaying errors while executing a script

Hi all, I am running a script on bash shell, although it gives me the desired output, it displays some errors at the prompt like this directory doesnt exists unary operator etc etc Is there someway to avoid these errors ?? Its very annoying to have these errors while the script is... (4 Replies)
Discussion started by: vikas027
4 Replies

4. Shell Programming and Scripting

Checking for proper number of files in dir

Using Solaris 10 and sh. I have three files. mydirs.txt /dir1/dir2/dir3 /dir4/dir5/dir6 mydirshave.txt 1 2 mydirsshouldhave.txt 2 2 For each directory listed in mydirs.txt I should have the number of files equal to mydirshouldhave.txt. But using -ls |wc -l- on the dirs I get what... (2 Replies)
Discussion started by: crowman
2 Replies

5. Solaris

Any way to avoid these errors?

Hello, this is solaris 10 on SF v440, I know below errors might go away if I put a new PS or put the original one back in socket but is there any other way to stop these errors from appearing in /var/adm/messages ? I do not want to put the failed PS1 in socket neither do we want to spend on... (5 Replies)
Discussion started by: upengan78
5 Replies

6. AIX

Link Errors in AIX

Hi Can any suggest me how to work on this particular issue i am facing. Below is the error message received on vio servers. IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 4B436A3D 0326102912 T H fscsi1 LINK ERROR 4B436A3D 0325212712 T H fscsi1 LINK ERROR 4B436A3D... (2 Replies)
Discussion started by: ganiiee
2 Replies

7. Shell Programming and Scripting

Combine multiline to one line with proper format

Hello Guys, I have a file say FILE1.txt contains below data:- A B C D E F G H I J K L I need the output in another file as FILE2 as:- 'A', 'B', 'C', 'D', 'E', (7 Replies)
Discussion started by: jassi10781
7 Replies

8. UNIX for Advanced & Expert Users

CentOS 6.8 with Rocks Cluster: ldconfig is not a symbolic link errors

Any help appreciated just logging in to this server which is a front end for Rocks Cluster 6.1.1. Getting the below errors: ldconfig ldconfig: /usr/lib/libX11.so.6 is not a symbolic link ldconfig: /usr/lib/libjpeg.so.62 is not a symbolic link ldconfig: /usr/lib/libpng12.so.0 is not a symbolic... (3 Replies)
Discussion started by: RobbieTheK
3 Replies

9. UNIX for Beginners Questions & Answers

Automate splitting of files , scp files as each split completes and combine files on target server

i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies

10. AIX

How to avoid errors when moving files in a bff?

I am building a bff using mkinstallp. My template file is : Package Name: svr_exForum Package VRMF: 7.2 Update: N Fileset Fileset Name: svr_exForum.rte Fileset VRMF: 7.2 USRLIBLPPFiles Pre-installation Script: /lppdir/lpp/exForum/F_pre_i ... (2 Replies)
Discussion started by: kevinl
2 Replies
AppDataUnit(3)						     Library Functions Manual						    AppDataUnit(3)

NAME
AppDataUnit - Interface (envelope) to data received over RTP packets. SYNOPSIS
#include <queuebase.h> Public Member Functions AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src) ~AppDataUnit () AppDataUnit (const AppDataUnit &src) AppDataUnit & operator= (const AppDataUnit &source) Assignment operator. PayloadType getType () const const uint8 *const getData () const Get data as it is received in RTP packets (i.e. size_t getSize () const const SyncSource & getSource () const bool isMarked () const Is this data unit marked?. uint16 getSeqNum () const Get data unit sequence number. uint8 getContributorsCount () const Get the number of contributing sources in the CSRC list. const uint32 * getContributorsID () const Get the array of 32-bit CSRC identifiers. Detailed Description Interface (envelope) to data received over RTP packets. A class of objects representing data transmitted over RTP packets. Tipically, this object will apply to received data. Data blocks received via RTP connections as well as its related objects (source, etc), are accessed through the methods of this class. Author: Federico Montesino Pouzols fedemp@altern.org Examples: audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, and rtplisten.cpp. Constructor &; Destructor Documentation AppDataUnit::AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src) AppDataUnit::~AppDataUnit () [inline] AppDataUnit::AppDataUnit (const AppDataUnit &src) Parameters: src the AppDataUnit object being copied Member Function Documentation uint8 AppDataUnit::getContributorsCount () const [inline] Get the number of contributing sources in the CSRC list. const uint32* AppDataUnit::getContributorsID () const [inline] Get the array of 32-bit CSRC identifiers. Returns: NULL if (getContributorsCount() == 0) const uint8* const AppDataUnit::getData () const [inline] Get data as it is received in RTP packets (i.e. for multi-octet encodings, octets are in network order. Returns: Raw pointer to data block. Examples: audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, and rtphello.cpp. uint16 AppDataUnit::getSeqNum () const [inline] Get data unit sequence number. size_t AppDataUnit::getSize () const [inline] Returns: length of data in octets Examples: audiorx.cpp, and rtplisten.cpp. const SyncSource& AppDataUnit::getSource () const [inline] Returns: Source that sent this data Examples: rtplisten.cpp. PayloadType AppDataUnit::getType () const [inline] Returns: type of this data Examples: rtplisten.cpp. bool AppDataUnit::isMarked () const [inline] Is this data unit marked?. Returns: true if marked. AppDataUnit& AppDataUnit::operator= (const AppDataUnit &source) Assignment operator. Parameters: source the AppDataUnit object being assigned Returns: the result of the assignment Author Generated automatically by Doxygen for ccRTP from the source code. ccRTP Sat Jun 23 2012 AppDataUnit(3)
All times are GMT -4. The time now is 03:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy