Sponsored Content
Top Forums Programming Symbols not found for architecture: trouble compiling with C++ Post 302816751 by Corona688 on Tuesday 4th of June 2013 01:32:12 PM
Old 06-04-2013
You have to tell g++ to use the library.

Code:
g++ -o Astro AstroTest.cpp lib/libnova.dylib

This User Gave Thanks to Corona688 For This Post:
 

8 More Discussions You Might Find Interesting

1. Programming

undefined symbols

i am trying to compile transcode on AIX v 4.3.3 with gcc 3.0.1 i am getting this error: gcc -shared -o .libs/libexport_null.so.0 export_null.o -lpthread -ldl -lc -Wl,-bnoentry -Wl,-bexport:.libs/libexport_null.exp ld: 0711-317 ERROR: Undefined symbol: capability_flag ld: 0711-317... (0 Replies)
Discussion started by: thalex
0 Replies

2. HP-UX

bash...Not found through where(compiling source file)

Hi i have compiled and installed bash 3.2 on my hp-ux parisc its in path /usr/local/pkg/bash/bin/bash .....When im search for this bash (through whereis bash) im not findind but other which i hve done in same procedure( gettext,m4) ..Im able to find through whereis search option can any1... (3 Replies)
Discussion started by: vasanthan
3 Replies

3. AIX

Unresolved symbols

Hello experts , i have some strange problem, i wanted to create a shared object in AIX 5.3 for which i have compiled all my .cxx to .o which worked fine and then i created the .so from them , but when i do nm -Bo sample.so , i have many unresolved symbol, including printf... (0 Replies)
Discussion started by: vin_pll
0 Replies

4. Solaris

cc not found error in compiling perl modules

:rolleyes:make cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION="2.121\" -DXS_VERSION=\"2.121\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE Dumper.c make: cc: Command not found make: *** Error 127 cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8... (0 Replies)
Discussion started by: priyophan
0 Replies

5. Programming

MinGW - Trouble Compiling Guile

This question is not about programming but compiling with GNU GCC/Make. I am not on a UNIX machine but am using the UNIX-like environment MSYS with MinGW for compiling. The problem that I am having is that I cannot get guile to compile. For some reason it cannot find libltdl which is part of... (3 Replies)
Discussion started by: Deluge
3 Replies

6. UNIX and Linux Applications

Cross Compiling Issue of udev-151 for MIPS Little Endain Architecture

Hi All, I am trying to cross compile udev-151 for MIPS little endian architecture. I am configuring like this: ./configure --prefix=$PWD/sree --host=mips-linux-gnu configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then... (3 Replies)
Discussion started by: bsreeram
3 Replies

7. Programming

Trouble compiling program using the readline library.

Hi: in the info page for readline library I read -- Function: void rl_variable_dumper (int readable) Print the readline variable names and their current values to `rl_outstream'. If READABLE is non-zero, the list is formatted in such a way that it can be made part of an... (1 Reply)
Discussion started by: stf92
1 Replies

8. UNIX for Advanced & Expert Users

Compiling libcdio-paranoia, gcc found - C compiler doesnt work

Heyas I'm currently trying to make a fresh build from scratch/source of FFMPEG. This said, it brings quite a tail with it, so the use of a script was very obvious. Anyway, i'm currently stuck at named package. Lets ignore the tarball/download line, as the error is after. Commands... (0 Replies)
Discussion started by: sea
0 Replies
Astro::FITS::Header::Item(3pm)				User Contributed Perl Documentation			    Astro::FITS::Header::Item(3pm)

NAME
Astro::FITS::Header::Item - A card image from a FITS header SYNOPSIS
$item = new Astro::FITS::Header::Item( Card => $card ); $item = new Astro::FITS::Header::Item( Keyword => $keyword, Value => $value, Comment => $comment, Type => 'int' ); $value = $item->value(); $comment = $item->comment(); $card = $item->card(); $card = "$item"; DESCRIPTION
Stores information about a FITS header item (in the FITS standard these are called Card Images). FITS Card Images can be parsed and broken into their component keyword, values and comments. Card Images can also be created from its components keyword, value and comment. METHODS
Constructor new Create a new instance. Optionally can be given a hash containing information from a header item or the card image itself. $item = new Astro::FITS::Header::Item( Card => $card ); $item = new Astro::FITS::Header::Item( Keyword => $keyword, Value => $value ); The list of allowed hash keys is documented in the configure method. Returns "undef" if the information supplied was insufficient to generate a valid header item. copy Make a copy of an Astro::FITS::Header::Item object. $newitem = $item->copy; Accessor Methods keyword Return (or set) the value of the keyword associated with the FITS card. $keyword = $item->keyword(); $item->keyword( $key ); When a new value is supplied any "card" in the cache is invalidated. Supplied value is always upper-cased. value Return (or set) the value of the value associated with the FITS card. $value = $item->value(); $item->value( $val ); When a new value is supplied any "card" in the cache is invalidated. If the value is an "Astro::FITS::Header" object, the type is automatically set to "HEADER". comment Return (or set) the value of the comment associated with the FITS card. $comment = $item->comment(); $item->comment( $comment ); When a new value is supplied any "card" in the cache is invalidated. type Return (or set) the value of the variable type associated with the FITS card. $type = $item->type(); $item->type( "INT" ); Allowed types are "LOGICAL", "INT", "FLOAT", "STRING", "COMMENT", "HEADER" and "UNDEF". The special type, "HEADER", is used to specify that this item refers to a subsidiary header (eg a header in an MEFITS file or a header in an NDF in an HDS container). See also the "subhdrs" method in "Astro::FITS::Header" for an alternative way of specifying a sub- header. The type is case-insensitive, but will always be returned up-cased. card Return (or set) the 80 character header card associated with this object. It is created if there is no cached version. $card = $item->card(); If a new card is supplied it will only be accepted if it is 80 characters long or fewer. The string is padded with spaces if it is too short. No attempt (yet) )is made to shorten the string if it is too long since that may require a check to see if the value is a string that must be shortened with a closing single quote. Returns "undef" on assignment failure (else returns the supplied string). $status = $item->card( $card ); "undef" is returned if there is insufficient information in the object to create a new card. Can assign "undef" to clear the cache. This method is called automatically when attempting to stringify the object. $card = "$item"; General Methods configure Configures the object from multiple pieces of information. $item->configure( %options ); Takes a hash as argument with the following keywords: Card If supplied, the value is assumed to be a standard 80 character FITS header card. This is sent to the "parse_card" method directly. Takes priority over any other key. If it is an "Astro::FITS::Header::Item" it will be copied rather than parsed. Keyword Used to specify the keyword associated with this object. Value Used to specify the value associated with this FITS item. Comment Used to specify the comment associated with this FITS item. Type Used to specify the variable type. See the "type" method for more details. A type will be guessed if one is not supplied. The guess may well be wrong. Does nothing if these keys are not supplied. freeze Method to return a blessed reference to the object so that we can store ths object on disk using Data::Dumper module. parse_card Parse a FITS card image and store the keyword, value and comment into the object. ($key, $val, $com) = $item->parse_card( $card ); Returns an empty list on error. equals Compares this Item with another and returns true if the keyword, value, type and comment are all equal. $isident = $item->equals( $item2 ); SEE ALSO
"Astro::FITS::Header" COPYRIGHT
Copyright (C) 2008-2009 Science and Technology Facilities Council. Copyright (C) 2001-2007 Particle Physics and Astronomy Research Council. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place,Suite 330, Boston, MA 02111-1307, USA AUTHORS
Tim Jenness <t.jenness@jach.hawaii.edu>, Alasdair Allan <aa@astro.ex.ac.uk> perl v5.14.2 2012-06-30 Astro::FITS::Header::Item(3pm)
All times are GMT -4. The time now is 05:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy