04-24-2006
Read the linux fstat manpage. Note the required includes. Add in the required includes that you're missing. Try it again.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I was able to solve my previous problem (link directory)... but now i have this following problem.
I have mounted a disk from other machine using "mount -F nfs" command. When i run a batch which generates some files in that drive.... after a certain number of files i get... (1 Reply)
Discussion started by: nileshkarania
1 Replies
2. Programming
Hi,
We are trying to run dbx on a core file for which we have the original executable and libs, but not the source / object tree. We have recompiled the objects from the original source, but dbx complains that they were compiled at a different time, and refuses to read them:
Object file:... (0 Replies)
Discussion started by: Sabari Nath S
0 Replies
3. AIX
Hi,
I am using xlC compiler. The compilation goes fine but at the time of linking it gives the following error
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .u_strlen_2_6
ld: 0711-317 ERROR: Undefined symbol:... (0 Replies)
Discussion started by: nachiketv
0 Replies
4. Shell Programming and Scripting
Hi,
haven't found anything about this through searching, so may be a new topic:
when doing this:
set -o nounset
set -o errexit
find . -name "*.lib" | while read library; do
echo ${libary}
done
echo "after while"
I expect the script to exit within the while loop (because of nounset and... (6 Replies)
Discussion started by: nagaidhlig
6 Replies
5. Programming
Hi,
i am working in C in Fedora Eclipse 3.3.0 with gdb debugger. I am geting segmentation fault with an error message "mi_cmd_var_create: unable to create variable object" on debugging the program.
What should I do to solve this problem?
rgds,
Dona_m (14 Replies)
Discussion started by: dona_m
14 Replies
6. HP-UX
Hi,
I am trying to build the package for my build tree built with HP UX ecom compiler. I added the flags +check=all to enable run time checks.
I compile the tree successfully, but while making the packages I am getting following error:
=== vxms tests
= Generating pgncpio
ld: (Warning)... (5 Replies)
Discussion started by: prits31
5 Replies
7. Shell Programming and Scripting
Hi,
I have a perl script which is interacting with Database.
I have following line of code :
=================================================
sub BEGIN
{
#use Getopt::Std;
#getopt ('S');
#($STEAP)=($opt_S);
use lib ("/home/perl_lib");
use... (1 Reply)
Discussion started by: rawat_me01
1 Replies
8. Programming
i am compiling a program called vasp on suse and get the following error. there are many more preprocess and ifort commands prior so i just grabbed the tail of the log file:
./preprocess <main.F | /usr/bin/cpp -P -C -traditional >main.f90 -DMPI -DHOST=\"LinuxIFC\" -DIFC -Dkind8 -DNGZhalf... (6 Replies)
Discussion started by: crimso
6 Replies
9. Emergency UNIX and Linux Support
Hi,
I am running a perl script to automate a process and I keep running into a error can't find the "value"
Can't call method "value" on an undefined value at process_file.pl line 44.
file is CVS
cell is ifdfdxrfmp.ksh
Here is the script I have also attached it as well:
... (2 Replies)
Discussion started by: vpundit
2 Replies
10. Programming
Hi!
I am trying to compile a C++ code with cmake and gcc on Ubuntu. The code uses NetCDF4 libraries. I specify the path to these libraries as follows:
-I/usr/local/include -L/usr/local/lib -lnetcdf -lnetcdf_c++4
"ccmake" and "cmake" work fine. After typing "make" I receive the error... (0 Replies)
Discussion started by: Alauda
0 Replies
LEARN ABOUT LINUX
pcre-config
PCRE-CONFIG(1) General Commands Manual PCRE-CONFIG(1)
NAME
pcre-config - program to return PCRE configuration
SYNOPSIS
pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]
DESCRIPTION
pcre-config returns the configuration of the installed PCRE libraries: the options required to compile a program to use them.
OPTIONS
--prefix Writes the directory prefix used in the PCRE installation for architecture independent files (e.g. /usr) to standard output.
--exec-prefix
Writes the directory prefix used in the PCRE installation for architecture dependent files (normally the same as --prefix) to
standard output.
--version Writes the version of PCRE installed to standard output.
--libs Writes to standard output the command line options required to link with PCRE (e.g. -lpcre).
--libs-posix
Writes to standard output the command line options required to link with the PCRE POSIX emulation library (e.g. -lpcreposix
-lpcre).
--cflags Writes to standard output the command line options required to compile files that use PCRE (this often includes some -I options,
but is blank on debian systems).
--cflags-posix
Writes to standard output the command line options required to compile files that use the PCRE POSIX emulation library (this
often includes some -I options, but is blank on debian systems). Suppress printing of filenames when searching multiple files.
AUTHOR
This manual page was written by Mark Baker <mark@mnb.org.uk>, for the Debian GNU/Linux system (but may be used by others).
SEE ALSO
pcre(3)
PCRE-CONFIG(1)