Sponsored Content
Full Discussion: compilation error
Operating Systems HP-UX compilation error Post 302186935 by bdittmar on Friday 18th of April 2008 01:52:19 PM
Old 04-18-2008
Or ;-)

Quote:
Originally Posted by jim mcnamara
You gave way too little information.

1. Do you have a Makefile?

2. how did you issue the make command - it looks like you did this
Code:
make compile

Or : make sex --> can't make sex
 

10 More Discussions You Might Find Interesting

1. Programming

Regarding compilation error.

Hi All, I facing the following compilation error; when I implementing the following logic. ostrstream ostr; ostr << (( scAxsm.getRecord( i ).getField( 2 ).getShort())%12)!=0?(( scAxsm.getRecord( i ).getField( 2 ).getShort())/12+1) : (( scAxsm.getRecord( i ).getField( 2 ).getShort())/12) <<... (1 Reply)
Discussion started by: sweta
1 Replies

2. Programming

compilation error

Hi, While trying compile a C++ file in UNIX with gcc whose make rule involves the usage of /usr/ccs/bin/as, I get the following error: /usr/ccs/bin/as: No such file or directory /usr/ccs/bin/as: error: write error on output file "<filename>.o" *** Error code 1 clearmake: Error: Build... (2 Replies)
Discussion started by: smanu
2 Replies

3. Programming

Compilation error

I am compiling a software xchm on solaris 10. First i run './configure' There is no error. But when i start compiling using 'gmake' following error shown /usr/local/include/wx-2.6/wx/x11/brush.h: In copy constructor `wxBrush::wxBrush(const wxBrush&)':... (3 Replies)
Discussion started by: mansoorulhaq
3 Replies

4. Solaris

Solaris : compilation error

Hi All, while building, i am receiving the following error...... Undefined first referenced symbol in file void os_directory::create(const std::string &) obj.release/BOConfig.o (symbol belongs to implicit dependency... (2 Replies)
Discussion started by: vinod_kumar_k
2 Replies

5. Linux

c++ compilation error

Hello every one, here i am attempting to compile a c++ module using gcc.it is throwing a error . error: ==== > make -S dummyCHARGP /usr/local/bin/gcc -g -DDEBUG -DMAT -I. -I/swtemp/usbs/cc/unix-ce/root/subsys/lib/Linux/ -I/opt/dce/include -I/opt/dce/include/dce ... (12 Replies)
Discussion started by: mannam srinivas
12 Replies

6. UNIX for Dummies Questions & Answers

Need help in resolving Compilation error

state_field state_abvr = { "AL","ALABAMA", "AK","ALASKA", "AZ","ARIZONA", "AR","ARKANSAS", "CA","CALIFORNIA", "CO","COLORADO", "CT","CONNECTICUT", "DE","DELAWARE", "DC","DISTRICT-OF-COLUMBIA", "FL","FLORIDA", "GA","GEORGIA", "HI","HAWAII", "ID","IDAHO", "IL","ILLINOIS",... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies

7. Programming

Compilation error : Please help

state_field state_abvr = { "AL","ALABAMA", "AK","ALASKA", "AZ","ARIZONA", "AR","ARKANSAS", "CA","CALIFORNIA", "CO","COLORADO", "CT","CONNECTICUT", "DE","DELAWARE", "DC","DISTRICT-OF-COLUMBIA", "FL","FLORIDA", "GA","GEORGIA", "HI","HAWAII", "ID","IDAHO", "IL","ILLINOIS",... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies

8. Programming

pro*c compilation error

Hi, Recently our codes have been migrated to new server, whenever we compile any pro*c programs we receive the following errorl. please help >> make -f lib_util.mk all CC= ucbcc 4Compiling lib_util ### command line files and options (expanded): ### -xO3 -DNULL=0 -v -o lib_util.o... (0 Replies)
Discussion started by: satvd
0 Replies

9. Shell Programming and Scripting

Pro*c compilation error

Hi, Recently our codes have been migrated to new server, whenever we compile any pro*c programs we receive the following errorl. please help >> make -f lib_util.mk all CC= ucbcc 4Compiling lib_util ### command line files and options (expanded): ### -xO3 -DNULL=0 -v -o lib_util.o... (1 Reply)
Discussion started by: satvd
1 Replies

10. Programming

Compilation Error

I am getting the below given errors for the following program though all the variables have been declared and used appropriately. Please Help. The environment is AIX. Error: ------ "gbsizeprofile.c", line 67.4: 1506-275 (S) Unexpected text 'void' encountered. "gbsizeprofile.c", line 67.10:... (2 Replies)
Discussion started by: yschd
2 Replies
swapsex(3)						     Library Functions Manual							swapsex(3)

Name
       swap_word,  swap_half, swap_filehdr, swap_aouthdr, swap_scnhdr, swap_hdr, swap_fd, swap_fi, swap_sym, swap_ext, swap_pd, swap_dn, swap_opt,
       swap_aux, swap_reloc, swap_ranlib - swap the sex of the specified structure

Syntax
       #include <sex.h>
       #include <filehdr.h>
       #include <aouthdr.h>
       #include <scnhdr.h>
       #include <sym.h>
       #include <symconst.h>
       #include <cmplrs/stsupport.h>
       #include <reloc.h>
       #include <ar.h>

       long swap_word( word )
       long word;

       short swap_half( half )
       short half;

       void swap_filehdr( pfilehdr, destsex )
       FILHDR *pfilehdr;
       long destsex;

       void swap_aouthdr( paouthdr, destsex )
       AOUTHDR *paouthdr;
       long destsex;

       void swap_scnhdr( pscnhdr, destsex )
       SCNHDR *pscnhdr;
       long destsex;

       void swap_hdr( phdr, destsex )
       pHDRR phdr;
       long destsex;

       void swap_fd( pfd, count, destsex )
       pFDR pfd;
       long count;
       long destsex;

       void swap_fi( pfi, count, destsex )
       pFIT pfi;
       long count;
       long destsex;

       void swap_sym( psym, count, destsex )
       pSYMR psym;
       long count;
       long destsex;

       void swap_ext( pext, count, destsex )
       pEXTR pext;
       long count;
       long destsex;

       void swap_pd( ppd, count, destsex )
       pPDR ppd;
       long count;
       long destsex;

       void swap_dn( pdn, count, destsex )
       pRNDXR pdn;
       long count;
       long destsex;

       void swap_opt( popt, count, destsex )
       pOPTR popt;
       long count;
       long destsex;

       void swap_aux( paux, type, destsex )
       pAUXU paux;
       long type;
       long destsex;

       void swap_reloc( preloc, count, destsex )
       struct reloc *preloc;
       long count;
       long destsex;

       void swap_ranlib( pranlib, count, destsex )
       struct ranlib *pranlib;
       long count;
       long destsex;

Description
       All routines that swap headers take a pointer to a header structure to change the byte's sex. The destsex argument lets	the  swapsex  rou-
       tines decide whether to swap bitfields before or after swapping the words in which they occur. If destsex equals the hostsex of the machine
       you are running on, the flip happens before the swap; otherwise, the flip happens after the swap.  Although not all  routines  swap  struc-
       tures containing bitfields, the destsex is required.

       The  routine  takes  a  pointer to an aux entry and a type, which is a ST_AUX_* constant in cmplrs/stsupport.h.	The constant specifies the
       type of the aux entry to change the sex of.  All other routines are passed a pointer to an array of structures and a count of structures to
       have  the  byte	sex  changed.	The  routines and are macros declared in sex.h.  Only the include files that describe the structures being
       swapped have to be included.

See Also
       gethostsex(3)

								       RISC								swapsex(3)
All times are GMT -4. The time now is 11:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy