Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Error building program in UNIX Post 302947127 by bstephens on Monday 15th of June 2015 04:31:37 PM
Old 06-15-2015
Thanks for your help so far! I followed your advice and had to remove things like ascii_dataset:: from three files, and now I have a new error:

Code:
In file included from field.h:13,
                 from PlistDlgImpl.cpp:10:
ncfile.h: In constructor ‘ncfile::NcAttribute<T>::NcAttribute(const std::string&, const char*)’:
ncfile.h:357: error: there are no arguments to ‘strlen’ that depend on a template parameter, so a declaration of ‘strlen’ must be available
ncfile.h:357: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
PlistDlgImpl.cpp: At global scope:
PlistDlgImpl.cpp:3: warning: ‘rcsid’ defined but not used
make[1]: *** [PlistDlgImpl.o] Error 1
make[1]: Leaving directory `/disk/cg6/ccoda/code/proj/abrupt/exp/cam1/models/atm/cam/tools/scam/ui'
make: *** [all] Error 2

Any ideas on this one?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

building flat files in unix and importing them from windows

what is a flat file in unix? i have to import a unix flat files from windows based programme. my question is not to export from unix but only to import from windows only. how to build that flat files? how to create export to windows how to import from windows (3 Replies)
Discussion started by: tunirayavarapu
3 Replies

2. Shell Programming and Scripting

unix - c program sending error from DB to email

hi, i have a database table that automatically logs the errors in the database every 5 mins. what i want to happen is to come up with a program using unix-c that gets all the information from the log table, i have a flag initially set to zero which means that the error is not yet sent, the... (2 Replies)
Discussion started by: chino_52284
2 Replies

3. Solaris

Error in Solaris installation over WAN(unix: Could not start init) Program terminated

I am trying to install Solaris 10 on a target machine which is t1000. ( sun4v). I have configured my jumpstart server to install solaris over WAN. when i boot my machine, the wanboot image gets downloaded properly, miniroot gets downloaded properly, but after that the process fails with the... (3 Replies)
Discussion started by: hemalsid
3 Replies

4. Shell Programming and Scripting

Building a Linux like LS for Unix

I'm trying to customize my environment at work in a Unix system. So I'm starting with the ls command... I'd like to make it run as the Linux ls... Even in color, if possible... My first problem is to make the file listing brake in columns... In fact, the actual ls from Unix does this, but... (3 Replies)
Discussion started by: 435 Gavea
3 Replies

5. UNIX for Dummies Questions & Answers

Building from scratch - UNIX

Hi! Any knows if Unix (from IBM, Sun, HP, etc) is picky on hardwares? I mean, installing Unix (not Linux) on a custom build system? Thanks. (2 Replies)
Discussion started by: genesisX
2 Replies

6. Shell Programming and Scripting

Need help in building Unix script

Hi all, We have a requirement like, There will be a file. For example the content will be as follows +=KA100012345678 0114092150R328abcdefgh D 345626 011409 1 2121212 232323 12121212 2323232323 1212121 We need to select the bold portion and change it to a... (11 Replies)
Discussion started by: susant.igate
11 Replies

7. Shell Programming and Scripting

Need help in building Unix script

Hi all, We have a requirement like we need to create a program which will change a particular string in the file. For example +=KA1238767 1121 3344645 686943 22356 01 567893 12435 12121 983627 121 1092 091217 02 may be for engine failure In the above file we need to change the bold string... (2 Replies)
Discussion started by: susant.igate
2 Replies

8. UNIX for Advanced & Expert Users

Building a Unix Server from Scratch?

Hello Everyone, This post is a result of my search and quest to build a Unix Server at Home. I am familiar with the most of the systems such as, Solaris 10, HP-UX & Linux. Can somebody help me with more information about How to Build a Unix Server right from Fundamentals.... ? I have... (5 Replies)
Discussion started by: Vabiosis
5 Replies

9. UNIX for Dummies Questions & Answers

Error building C program, library complication

Hi I'm relatively new to the unix environment, I'm about the install the root package from cern ROOT since I need this for a secondary program for DNA sequencing analysis. I however get into some trouble while I do this. I download the root file and ./configured it according the the macOSx64... (0 Replies)
Discussion started by: Bateman1001
0 Replies
zipios::ZipOutputStream(3)				     Library Functions Manual					zipios::ZipOutputStream(3)

NAME
zipios::ZipOutputStream - SYNOPSIS
#include <zipoutputstream.h> Public Member Functions ZipOutputStream (std::ostream &os) ZipOutputStream constructor. ZipOutputStream (const std::string &filename) ZipOutputStream constructor. void closeEntry () Closes the current entry updates its header with the relevant size information and positions the stream write pointer for the next entry header. void close () Calls finish and if the ZipOutputStream was created with a filename as a parameter that file is closed as well. void finish () Closes the current entry (if one is open), then writes the Zip Central Directory Structure closing the ZipOutputStream. void putNextEntry (const ZipCDirEntry &entry) void putNextEntry (const std::string &entryName) void setComment (const std::string &comment) Sets the global comment for the Zip archive. void setLevel (int level) Sets the compression level to be used for subsequent entries. void setMethod (StorageMethod method) Sets the compression method to be used. virtual ~ZipOutputStream () Destructor. Detailed Description ZipOutputStream is an ostream that writes the output to a zip file. The interface approximates the interface of the Java ZipOutputStream. Definition at line 18 of file zipoutputstream.h. Constructor &; Destructor Documentation zipios::ZipOutputStream::ZipOutputStream (std::ostream &os) [explicit] ZipOutputStream constructor. Parameters: os ostream to which the compressed zip archive is written. pos position to reposition the ostream to before reading. Definition at line 13 of file zipoutputstream.cpp. zipios::ZipOutputStream::ZipOutputStream (const std::string &filename) [explicit] ZipOutputStream constructor. filename to write the zip archive to. Definition at line 24 of file zipoutputstream.cpp. zipios::ZipOutputStream::~ZipOutputStream () [virtual] Destructor. Definition at line 74 of file zipoutputstream.cpp. Member Function Documentation void zipios::ZipOutputStream::close () Calls finish and if the ZipOutputStream was created with a filename as a parameter that file is closed as well. If the ZipOutputStream was created with an ostream as its first parameter nothing but the call to finish happens. Definition at line 38 of file zipoutputstream.cpp. void zipios::ZipOutputStream::closeEntry () Closes the current entry updates its header with the relevant size information and positions the stream write pointer for the next entry header. Puts the stream in EOF state. Call putNextEntry() to clear the EOF stream state flag. Definition at line 33 of file zipoutputstream.cpp. void zipios::ZipOutputStream::finish () Closes the current entry (if one is open), then writes the Zip Central Directory Structure closing the ZipOutputStream. The output stream that the zip archive is being written to is not closed. Definition at line 45 of file zipoutputstream.cpp. void zipios::ZipOutputStream::putNextEntry (const ZipCDirEntry &entry) Begins writing the next entry. Definition at line 50 of file zipoutputstream.cpp. void zipios::ZipOutputStream::putNextEntry (const std::string &entryName) Begins writing the next entry. Definition at line 54 of file zipoutputstream.cpp. void zipios::ZipOutputStream::setComment (const std::string &comment) Sets the global comment for the Zip archive. Definition at line 59 of file zipoutputstream.cpp. void zipios::ZipOutputStream::setLevel (intlevel) Sets the compression level to be used for subsequent entries. Definition at line 64 of file zipoutputstream.cpp. void zipios::ZipOutputStream::setMethod (StorageMethodmethod) Sets the compression method to be used. only STORED and DEFLATED are supported. Definition at line 69 of file zipoutputstream.cpp. Author Generated automatically by Doxygen for Zipios++ from the source code. Zipios++ Mon Oct 10 2011 zipios::ZipOutputStream(3)
All times are GMT -4. The time now is 01:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy