I had the "Symbol referencing errors" while compiling a C socket code.
It said "Undefined Symbol: socketpair", but I already copy the two head files (#include "types.h", #include "socket.h") into my current directory.
Could anyone help me with it? Thanks.
By the way, I'm using Solaris, OS version is 5.10.
GCC version is 3.4.6.(is it because the GCC version is old?)
The tut2.c code I was using is from the following link: A Socket-based IPC Tutorial
I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected??
The command line looks like this:--------------------------------------------
# cc ftpstock.c -lftp... (5 Replies)
Hello!
I have some problems installing a program called “Jail Chroot Project”.
http://www.gsyc.inf.uc3m.es/~assman/jail/index.html
I have only installed precompiled programs before and I get some kind of error message when im trying to compile this program.
I have downloaded and... (2 Replies)
Hi all,
I am getting the following error when I try to do a build of a product.
I dont have the dependencies of the binaries involved in the build and thats the reason I was not able to find which library to add or to proceed to the next step to solve the reference problem.
Undefined ... (1 Reply)
I am getting below error, any ideas to resolve it.
1:ts_n_tcp_cmp_row /finder3/baseline/95s/ed/src/lib/libfinder_ui_basic.so
1:ui_convert_date /finder3/baseline/95s/ed/src/lib/libfinder_fi_basic.so
1:ld: fatal: Symbol referencing errors. No output written... (1 Reply)
Hi,
This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Hi,
I'm trying to compile OpenTTD on Solaris 5.10. I do not have root permissions so I have to set the prefix-dir to /home/abcde/usr/local/opt/opentdd-0.6.3
I've used the following command to configure:
bash ./configure --prefix-dir=/opt/openttd-0.6.2 --without-makedepend \... (1 Reply)
Hello. I used to compile my code including a third-party library, "libfoo.so". Now, the vendor ships a statically linked library, "libfoo.a", instead. With this library, I run into the following error:
CC -mt -xarch=v9 -DCOMPILE_SOL_SPARC -ftrap=%none -xlibmil -xchip=ultra2 -xbuiltin -xO4 \... (0 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Undefined first referenced
symbol in file
logf /var/tmp//ccwztFsO.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
float exponC(float mean)
{
index1++;... (1 Reply)
Experts ,
In the given output of the log file, the 2nd field that is separated by "|" pipe is not aligned well due to the uneven data length, I would like it to align the 2nd column with 37 length (that is disturbed in the output) including the pipe . The two pepe "|" would be in a aligned way... (2 Replies)
Discussion started by: rveri
2 Replies
LEARN ABOUT DEBIAN
sub::exporter::globexporter
Sub::Exporter::GlobExporter(3pm) User Contributed Perl Documentation Sub::Exporter::GlobExporter(3pm)NAME
Sub::Exporter::GlobExporter - export shared globs with Sub::Exporter collectors
VERSION
version 0.002
SYNOPSIS
First, you write something that exports globs:
package Shared::Symbol;
use Sub::Exporter;
use Sub::Exporter::GlobExport qw(glob_exporter);
use Sub::Exporter -setup => {
...
collectors => { '$Symbol' => glob_exporter(Symbol => '_shared_globref') },
};
sub _shared_globref { return *Common }
Now other code can import $Symbol and get their *Symbol made an alias to *Shared::Symbol::Symbol.
If you don't know what this means or why you'd want to do it, you may want to stop reading now.
The other class can do something like this:
use Shared::Symbol '$Symbol';
print $Symbol; # prints the scalar entry of *Shared::Symbol::Symbol
...or...
use Shared::Symbol '$Symbol' => { -as => 'SharedSymbol' };
print $SharedSymbol; # prints the scalar entry of *Shared::Symbol::Symbol
OVERVIEW
Sub::Exporter::GlobExporter provides only one routine, "glob_exporter", which may be called either by its full name or may be imported on
request.
my $exporter = glob_exporter( $default_name, $globref_locator );
The routine returns a collection validator that will export a glob into the importing package. It will export it under the name
$default_name, unless an alternate name is given (as shown above). The glob that is installed is specified by the $globref_locator, which
can be either the globref itself, or a reference to a string which will be called on the exporter
For an example, see the "SYNOPSIS", in which a method is defined to produce the globref to share. This allows the glob-exporting package
to be subclassed, for for the subclass to choose to re-use the same glob when exporting or to export a new one.
If there are entries in the arguments to the globref-exporting collector other than those beginning with a dash, a hashref of them will be
passed to the globref locator. In other words, if we were to write this:
use Shared::Symbol '$Symbol' => { arg => 1, -as => 2 };
It would result in a call like the following:
my $globref = Shared::Symbol->_shared_globref({ arg => 1 });
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.10.1 2010-11-23 Sub::Exporter::GlobExporter(3pm)