Sponsored Content
Top Forums Shell Programming and Scripting how to capture compilation errors with Makfile Post 98249 by umen on Tuesday 7th of February 2006 05:55:01 AM
Old 02-07-2006
how to capture compilation errors with Makfile

Hello
I have big compilation project when I run the top make file
I have problem to find the errors that acres in the sub directories because the make file keeps
Running the compilation. is there any way to perform summry of the errors when the Top
makefile done running ?
thanks
 

10 More Discussions You Might Find Interesting

1. AIX

Compilation of gettext produces relink errors

Hi, I'm in the process of compiling gnu gettext on a rs/6000 43p-260 running AIX 5.1 in 64bit-mode. The compilation itself runs fine as I understand it, however the installation itself fails like so: I'm pretty much clueless about this relink stuff, so if anyone has suggestions, I'll try... (0 Replies)
Discussion started by: töfte
0 Replies

2. Linux

c++ compilation errors

Hello every one, while compiling c++ modules. i am getting the following 2 errors. 1) /root/cc/unix-ce/root/subsys/cb/cdbh/include/cdbh_TransferFileHeader.h:111: error: âulong_tâ does not name a type /root/cc/unix-ce/root/subsys/cb/cdbh/include/cdbh_TransferFileHeader.h:118: error: âulong_tâ... (0 Replies)
Discussion started by: mannam srinivas
0 Replies

3. Shell Programming and Scripting

Script to capture errors

Hello; I'm trying to write a script to capture any hardware error from logs/syslog on my SUSE 10 servers so i can be notified if we have any hardware issues such a bad fan or battery, etc.. Thanks in advance for any help (2 Replies)
Discussion started by: Katkota
2 Replies

4. Programming

xtrlock compilation errors

Hello, Trying to compile xtrlock from source on a RHEL system. It has an Imakefile but not being familiar enough with that system getting errors running imake: #! Imakefile for xtrlock - X Transparent Lock #! #! Copyright (C)1993,1994 Ian Jackson #! #! This is free software; you can... (1 Reply)
Discussion started by: mgb
1 Replies

5. Shell Programming and Scripting

Compilation errors in running configure script

Hi all, I tried to cross compile Ghostscript-8.54 source. I am getting some errors during cross compilation. I have pasted the errors below. CC=arm-unknown-linux-gnu-gcc LD=arm-unknown-linux-gnu-ld ./configure --host=i686-pc-linux-gnu --target=arm-unknown-linux-gnu --without-x && make ... (2 Replies)
Discussion started by: siva4ever
2 Replies

6. Shell Programming and Scripting

Script to capture date/time in seconds in PERL... Cant understand errors

I'm Using this script to find the time of a file. I'm very much new to PERL and found this script posted by some one on this forum. It runs perfectly fine, just that it gives me following errors with the accurate output as well. I jus want the output to be stored in another file so that i can... (0 Replies)
Discussion started by: bankimmehta
0 Replies

7. Shell Programming and Scripting

Capture makefile errors in shell script

Hi, I have a bash script which calls a few "make". I would like to know whether the makefile failed with any errors. How do I do that in the script? Thanks, S (2 Replies)
Discussion started by: suryaemlinux
2 Replies

8. Shell Programming and Scripting

Shell script to capture ORA errors from Alert Log

Hi, as the title says, I am after a simple script, which will open the Alert log from an 11.2.0.1 Linux environment and mail the error message and description to a recipient email address. I can then schedule this job via cron and let it run every 15 minutes. I have searched online... (16 Replies)
Discussion started by: jnrpeardba
16 Replies

9. UNIX for Dummies Questions & Answers

XEmacs compilation errors not understandable

Hi all! I am new to this forum. I have recently installed Cygwin and XEmacs on my laptop running Windows Vista. I am studing at the moment and the code I am creating is mainly for that purpose. I am trying to create the algorithm of Insertion sort. When I compile my code in XEmacs i get some... (1 Reply)
Discussion started by: BlueTower
1 Replies

10. Shell Programming and Scripting

Creating subset of compilation errors

I am compiling a fortran program using gfortran and the result looks as below I want to write a bash or awk script that will scan the information and output only problems within a range of line numbers Example: If I specify the file createmodl.f08, start line 1000 and end line 1100, I will... (8 Replies)
Discussion started by: kristinu
8 Replies
CONFIG(1)						    BSD General Commands Manual 						 CONFIG(1)

NAME
config -- build kernel compilation directories SYNOPSIS
config [-Ppv] [-b builddir] [-s srcdir] [config-file] config -x [kernel-file] config -L [-v] [-s srcdir] [config-file] DESCRIPTION
In its first synopsis form, config creates a kernel build directory from the machine description file config-file, which describes the system to configure. Refer to section KERNEL BUILD CONFIGURATION for the details of that use of config. In its second synopsis form, config takes the binary kernel kernel-file as its single argument (aside from the mandatory -x flag), then extracts the embedded configuration file (if any) and writes it to standard output. If kernel-file is not given, /netbsd is used. Configu- ration data will be available if the given kernel was compiled with either INCLUDE_CONFIG_FILE or INCLUDE_JUST_CONFIG options. In its third synopsis form, config is a tool for the kernel developer and generates a ``lint'' configuration file to be used during regres- sion testing. Refer to section LINT CONFIGURATION for the details of that use of config. config accepts the following parameters: -b builddir Use builddir as the kernel build directory, instead of computing and creating one automatically. -L Generate a lint configuration. See section LINT CONFIGURATION for details. -P Pack locators to save space in the resulting kernel binary. The amount of space saved that way is so small that this option should be considered historical, and of no actual use. -p Generate a build directory suited for kernel profiling. However, this options should be avoided in favor of the relevant options inside the configuration file as described in section KERNEL BUILD CONFIGURATION. -s srcdir Point to the top of the kernel source tree. It must be an absolute path when config is used to prepare a kernel build directory, but can be relative when it is used in combination with the -L flag. -v Increase verbosity by enabling some more warnings. -x Extract the configuration embedded in a kernel binary. KERNEL BUILD CONFIGURATION There are several different ways to run the config program. The traditional way is to run config from the conf subdirectory of the machine- specific directory of the system source (usually /sys/arch/MACHINE/conf, where MACHINE is one of vax, hp300, and so forth), and to specify as the config-file the name of a machine description file located in that directory. config will by default create files in the directory ../compile/SYSTEMNAME, where SYSTEMNAME is the last path component of config-file. config will assume that the top-level kernel source directory is located four directories above the build directory. Another way is to create the build directory yourself, place the machine description file in the build directory with the name CONFIG, and run config from within the build directory without specifying a config-file. config will then by default create files in the current direc- tory. If you run config this way, you must specify the location of the top-level kernel source directory using the -s option or by using the ``source'' directive at the beginning of the machine description file. Finally, you can specify the build directory for config and run it from anywhere. You can specify a build directory with the -b option or by using the ``build'' directive at the beginning of the machine description file. You must specify the location of the top-level kernel source directory if you specify a build directory. If config-file is a binary kernel, config will try to extract the configuration file embedded into it, which will be present if that kernel was built either with INCLUDE_CONFIG_FILE or INCLUDE_JUST_CONFIG options. This work mode requires you to manually specify a build directory with the -b option, which implies the need to provide a source tree too. If the -p option is supplied, .PROF is appended to the default compilation directory name, and config acts as if the lines ``makeoptions PROF="-pg"'' and ``options GPROF'' appeared in the machine description file. This will build a system that includes profiling code; see kgmon(8) and gprof(1). The -p flag is expected to be used for ``one-shot'' profiles of existing systems; for regular profiling, it is proba- bly wiser to create a separate machine description file containing the makeoptions line. The old undocumented -g flag is no longer supported. Instead, use ``makeoptions DEBUG="-g"'' and (typically) ``options KGDB''. The output of config consists of a number of files, principally ioconf.c, a description of I/O devices that may be attached to the system; and a Makefile, used by make(1) in building the kernel. After running config, it is wise to run ``make depend'' in the directory where the new makefile was created. config prints a reminder of this when it completes. If config stops due to errors, the problems reported should be corrected and config should be run again. config attempts to avoid changing the compilation directory if there are configuration errors, but this code is not well-tested, and some problems (such as running out of disk space) are unrecoverable. LINT CONFIGURATION A so-called ``lint'' configuration should include everything from the kernel that can possibly be selected. The rationale is to provide a way to reach all the code a user might select, in order to make sure all options and drivers compile without error for a given source tree. When used with the -L flag, config takes the regular configuration file config-file and prints on the standard output a configuration file that includes config-file, selects all options and file-systems the user can possibly select, and defines an instance of every possible attachment as described by the kernel option definition files used by config-file. The resulting configuration file is meant as a way to select all possible features in order to test that each of them compiles. It is not meant to result in a kernel binary that can run on any hardware. Unlike the first synopsis form, the provided srcdir is relative to the current working directory. In the first synopsis form, it is relative to the build directory. SEE ALSO
The SYNOPSIS portion of each device in section 4. options(4), config(5), config(9) HISTORY
The config command appeared in 4.1BSD. It was completely revised in 4.4BSD. The -x option appeared in NetBSD 2.0. The -L option appeared in NetBSD 5.0. BSD
September 9, 2007 BSD
All times are GMT -4. The time now is 06:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy