Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions Error when compiling using cygwin Post 302970392 by RudiC on Wednesday 6th of April 2016 09:24:30 AM
Old 04-06-2016
Where did you look for "-mno-cygwin"? In the MAKEFILE?
 

10 More Discussions You Might Find Interesting

1. Programming

Error Compiling C program

Hi All, I tried to compile a C program but i am getting error while Linking . it says Undefined reference to ' ' (here it gives a method name which is defined Globally ). Can any body tell the resaon and remedy for the same . Iam stuck up here . Thanks (3 Replies)
Discussion started by: Vivek
3 Replies

2. Programming

Compiling Error

Hi, I have installed "Freetype2" library in my SuSe Linux 9.3 version system. When Iam compiling a program, I am getting these below errors. Undefined reference to "FT_Init_FreeType" Undefined reference to "FT_Load_Char" Please show me a solution? Thank you. With regards, Chandramouli (1 Reply)
Discussion started by: chandra80
1 Replies

3. Programming

compilation error while using cygwin

Hello, I am trying to compile a C program from Cygwin and it gives ld: not found -user32 error .. I searched for library libuser32.so and was not able locate it.. When i create only object file using gcc -c option it gets created successfully .. When i use gcc -o option , executable is not... (4 Replies)
Discussion started by: shafi2all
4 Replies

4. Shell Programming and Scripting

Error in Cygwin

Hi, I am trying to execute a Shell script file. The file has the following commands. #Return today's log file LOG_DATE=`date +%d_%b_%Y`.log echo $LOG_DATE #Return last modified date of the Log File FILE_MOD_DATE=`date -r $LOG_DATE` echo $FILE_MOD_DATE If I execute the... (6 Replies)
Discussion started by: AnneAnne
6 Replies

5. Windows & DOS: Issues & Discussions

Problem compiling C++ Code in Cygwin

Hello everyone. I just recently installed Cygwin and I am running it under Windows 7. My problem is that I cannot seem to compile any C++ code with g++. I've tried to compile C Code using gcc and that works just fine. But Whenever I try to compile some C++ code, g++ throws a whole bunch of... (6 Replies)
Discussion started by: Anlex
6 Replies

6. Programming

gcc compiling error

I am using gcc to compile c objects on solaris 5.10 and hit the following error messages: /usr/include/sys/vfs.h:323: error: syntax error before "statvfs64_t" /usr/include/sys/vfs.h:334: error: syntax error before "statvfs64_t" gmake: *** Error 1 The c program files were copied over from... (3 Replies)
Discussion started by: med7006
3 Replies

7. Programming

Error with compiling

Hi guys. I have a header file: unp.h like this: #ifndef _UNP_H_ #define _UNP_H_ extern ssize_t readn(int filedes, void *buff, size_t nbytes); extern ssize_t writen(int filedes, const void *buff, size_t nbytes); extern void err_quit(const char *msg); #define TRUE 1 #define FALSE 0 ... (2 Replies)
Discussion started by: majid.merkava
2 Replies

8. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

I'm using cygwin on win7, What I would like to do is something like this: cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e I know I can start a new instance using either of these: mintty -e ... cygstart tail ... But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies

9. Solaris

ERROR while compiling

Hi guys i came across an error while compiling a c file in solaris using gcc. the error is, Undefined first referenced symbol in file bind /var/tmp//ccAr8qAh.o accept ... (4 Replies)
Discussion started by: rajeshb6
4 Replies

10. UNIX for Beginners Questions & Answers

Error while compiling

Hi I am trying to compile a binary file (CASPER: Context-Aware Scheme for Paired-End Read) but I am getting the following error: user@user-OptiPlex-780 make g++ -O2 -Wall -fopenmp -c -o merge.o merge.c merge.c:8:35: fatal error: boost/unordered_map.hpp: No such... (2 Replies)
Discussion started by: Xterra
2 Replies
SCANFILE(5)						      BSD File Formats Manual						       SCANFILE(5)

NAME
scanfile -- pmkscan specification file DESCRIPTION
scanfile is a file containing specifications that defines which sources are to be scanned and what to generate from the resulting data. SYNTAX
See pmksyntax.5 to have an overview of the basic syntax of scanfiles. COMMANDS
The available commands are the following : GEN_PMKFILE This command specify a zone to scan and generate a pmkfile. Arguments: CFGNAME type is 'quoted', give the name of the template config file to use instead of the default one. DIRECTORY type is 'quoted', define the zone directory to scan. DISCARD type is 'list', list of directories to discard in recursive mode. EXTRATAG type is 'list', list of extra tags to add in template files. RECURSE type is 'bool', enable recursive scanning, default is FALSE. UNIQUE type is 'bool', enable unique resulting file instead of one for each directory. This is actually the default and only one method available (work in progress). For example: GEN_PMKFILE { DIRECTORY = "." RECURSE = TRUE DISCARD = ("samples", "doc", "data", "man") UNIQUE = TRUE } GEN_MAKEFILE This command specify a zone to scan and generate a makefile. Arguments: DIRECTORY type is 'quoted', define the zone directory to scan. DISCARD type is 'list', list of directories to discard in recursive mode. EXTRATAG type is 'list', list of extra tags to add in template files. MKFNAME type is 'quoted', give the name of the template makefile to use instead of the default one. RECURSE type is 'bool', enable recursive scanning, default is FALSE. UNIQUE type is 'bool', enable unique resulting file instead of one for each directory. This is actually the default and only one method available (work in progress). For example: GEN_MAKEFILE { DIRECTORY = "." RECURSE = TRUE DISCARD = ("samples", "doc", "tests") MKFNAME = "Makefile.pmk" UNIQUE = TRUE } GEN_ZONE This command specify a zone to scan and what to generate. Arguments: CFGNAME type is 'quoted', give the name of the template config file to use instead of the default one. DIRECTORY type is 'quoted', define the zone directory to scan. DISCARD type is 'list', list of directories to discard in recursive mode. EXTRATAG type is 'list', list of extra tags to add in template files. PMKFILE type is 'bool', enable generation of a pmkfile MAKEFILE type is 'bool', enable generation of a makefile MKFNAME type is 'quoted', give the name of the template makefile to use instead of the default one. RECURSE type is 'bool', enable recursive scanning, default is FALSE. UNIQUE type is 'bool', enable unique resulting file instead of one for each directory. This is actually the default and only one method available (work in progress). For example: GEN_ZONE(main) { DIRECTORY = "." RECURSE = TRUE DISCARD = ("samples", "doc", "tests") PMKFILE = TRUE MAKEFILE = TRUE MKFNAME = "Makefile.pmk" UNIQUE = TRUE } DEF_LIB This command define library attributes. Arguments: NAME type is 'quoted', give the name of the library. VMAJ type is 'quoted', give the major version of the library. VMIN type is 'quoted', give the minor version of the library. LINKER type is 'quoted', define the relative language of the linker to be used. SOURCES type is 'list', list of the main sources which objects must be linked in the library. HEADERS type is 'list', list of library headers to be installed. For example: DEFINE_LIB { NAME = "testc" VMAJ = "1" VMIN = "3" LINKER = "C" SOURCES = ("libtest.c") HEADERS = ("libtest.h") } SEE ALSO
pmkscan(1), pmkfile(5) BSD
September 15, 2005 BSD
All times are GMT -4. The time now is 09:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy