07-11-2011
There are so many possible sources for the problem.
What version of cc or ggc are you using? What version did you have before?
Were the old compiled files 32 bit? Are the new files 32 bit as well?
Did you change your makefiles or the configuration for proc (Pro*C precompiler)?
What EXACT error are you getting?
Have you examined core dumps and located the problem?
Please provide a sample function that you know bombs, along with the EXACT error you got.
9 More Discussions You Might Find Interesting
1. Programming
Just getting into the Unix command line programming and am unable to run any program I write. I am using a Makefile and the source is compiling but when I enter the name of the output file I get back:
bash: lab01exe.out: command not found
I'm sure I am just dooing something simple... (2 Replies)
Discussion started by: Krebsbac
2 Replies
2. Programming
I am confused about how to use a .exe file in unix along with a compiled C++ program. I've been using emacs and I compiled with g++, but I have no idea how that relates to use with a .exe. (1 Reply)
Discussion started by: adamsy
1 Replies
3. Shell Programming and Scripting
Hello All,
I have coded a C program which looks something like below... (program name: test.c)
#include<stdio.h>
main()
{
int dist,dm,dcm;
printf(" Enter the distance between 2 cities in KM : ");
scanf("%d",&dist);
dm=dist*1000;
dcm=dist*10;
printf("Distance between 2 cities in... (6 Replies)
Discussion started by: smarty86
6 Replies
4. Solaris
Hi
I compiled an executable on Solaris 10 which creates semaphore ( semget)
but it didn't work on solaris 9 , while it is executing sucessfully on solaris 10. It is throwing the system error that Invalid arguments ( system error 22) on solaris 9.
the ldd for the executable on two servers is as... (4 Replies)
Discussion started by: ash_bit2k2
4 Replies
5. Solaris
I have compiled my application on Solaris 10 with following description
SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320
The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
But when installing the application on Solaris 9
SunOS odcarch02 5.9... (2 Replies)
Discussion started by: ash_bit2k2
2 Replies
6. UNIX for Dummies Questions & Answers
I am trying to make an application which works on unix to work on linux. I already tried copying the binary files and start it up but I am getting an error stating "Cannot execute binary file". Then I tried to recompile but i am getting an error whenever I tried to recompile. I am getting the... (1 Reply)
Discussion started by: khestoi
1 Replies
7. Homework & Coursework Questions
Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies
8. Programming
I have put some yellow color codes and works well.
I call the funstion using
print_usage(stderr, 0);
I would like to know if there is any way, to store the ansi color codes in variables and then call them inside fprintf.
Or have a format followed by the strings I want to output.
... (5 Replies)
Discussion started by: kristinu
5 Replies
9. Red Hat
Will a program compiled in ubuntu 14.04 execute in Centos 7? That is to say a tarball or zip is downloaded from github and extracted, compiled, and make is all done in ubuntu 14.04, can I mv the program from ubuntu 14.04 to Centos 7, add it to path in Centos 7. And run it? Thank you :) (3 Replies)
Discussion started by: cmccabe
3 Replies
LEARN ABOUT ULTRIX
config
config(8) System Manager's Manual config(8)
Name
config - build system configuration files
Syntax
/etc/config [-p] [-s] config_file
Description
The command builds a set of system configuration files from a short file which describes the sort of system that is being configured. It
also takes as input a file which tells what files are needed to generate a system. This can be augmented by a configuration specific set
of files that give alternate files for a specific machine. (See the Files section.) If the -p option is supplied, will configure a system
for profiling. You must have sources to use the -p option. Use the -s option when building a kernel from sources.
The command should be run from the subdirectory of the system source (usually ). The command assumes that there is already a directory
created and it places all its output files in there. The output of consists of a number files: contains a description of what I/O devices
are attached to the system, and is a file used by in building the system; a set of header files which contain the number of various devices
that will be compiled into the system; and a set of swap configuration files which contain definitions for the disk areas to be used for
swapping, the root file system, argument processing, and system dumps.
After running it is necessary to run in the directory where the new makefile was created. The command reminds you of this when it com-
pletes.
If you receive other error messages from fix the errors in your configuration file and try again. If compile a system that has configura-
tion errors, the system will fail.
Restrictions
The line numbers reported in error messages are usually off by one.
Files
Generic makefile
List of common files that the system is built from
List of machine specific files
Name to major device mapping file
List of known file systems
See Also
The Syntax portion of each device in Section 4 of the ULTRIX Reference Pages
``Building 4.2BSD UNIX System with Config,'' ULTRIX Supplementary Documents, Volume 3: System Manager
RISC config(8)