General :: Compiling Using Cygwin - Error Not ELF

Oct 14, 2010

New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:

Error: Not ELF
make[2]:*** [scripts/mod/elfconfig.h] Error 1
make[1]:*** [scripts/mod] Error 2
make:***[scripts] Error 2

Every time I try to compile it from the main directory of the source, which I hope is what I'm supposed to do, I always get this.

View 14 Replies


ADVERTISEMENT

Software :: Error In Compiling Libnet On Cygwin

Jun 26, 2011

I want to compile Firewalk in cygwin, But error compiling libnet occur:

Firewalk-0.99.1 #./configure
loading cache ./config.cache
checking host system type... i386-pc-cygwin32
checking target system type... i386-pc-cygwin32
checking build system type... i386-pc-cygwin32
checking for gcc... gcc .....
checking for PacketSetMode in -lpacket... no
configure :erroracket lib not found

What is "Packet Lib"? I have compile Plib Package, but the this error occurs again!

View 1 Replies View Related

General :: Compiling Library In Cygwin To Be Linked With VC++

May 21, 2010

I'm interested in modding an open-source turn based game called Advanced Strategic Command or ASC, but to do that I need bunch of libraries. Installing those libraries is very easy in linux, I know but the thing is I'm working with windows in which the building of the libraries is a bit more complex, as you probably know. One of those libraries is the ligsigc++, I'm using VC++ but haven't been successful in building the libsigc++ in VC++. I considered making my life easier with Cygwin (a unix shell for windows) and simply executing ./Configure, Make. I's worked like a charm and the library dll it produced is named cygsigc-2.0-0.dll which made me wonder is compiling a library in cygwin to be linked with VC++ perfectly ok? That is is there any difference in compiling in cygwin and VC++?

View 2 Replies View Related

Programming :: Compiling A C++ Program Including Libpq-fe.h Using Cygwin

Sep 16, 2010

Compiling a C++ program including libpq-fe.h by the command Code: g++ -I/usr/include -L/lib -lpq my_program.cpp for access to a PostgreSQL database results in the error Code: undefined reference to '_PQconnectdb'

View 4 Replies View Related

General :: Fpermissive Error Of Gcc In Cygwin?

Apr 15, 2011

I am using cygwinI am getting these errors when i compile sim_routing.cc program by this command../../bin/cxx sim_routing.ccg++ -Wall -o sim_routing sim_routing.cxxfollowing errors comes../../common/priority_q.h : In member function 'bool guardedQueue<ITEM>::Validate(Const char*);error : there are no argument to 'strcat' that depend on template parameter so a declaration of 'strcat' must be avaible.error : <if you use -fpermissive g++ will accept your code but allowing use of undeclared name is deprecated>error : there are no argument to strcat that depends on template parameter,so declaration to strcat must be avaible

View 1 Replies View Related

Programming :: Get Rid Of Cygwin.dll/Cygwin1.dll In Program Compiled Under Cygwin ?

May 17, 2009

I have a program that is completed under Linux, it requires library tidy, PCRE and libcurl, which could be found in Cygwin too.

I could compile my linux program through Cygwin and produce an EXE file, however it do require 'cygwin.dll' installed by the users.

I am wondering if I could have someway to produce out a stand-alone EXE file that could run independently from Cygwin ? ( I don't mind to combine that cygwin.dll and the EXE together for a larger EXE file).

View 1 Replies View Related

General :: Error In Compiling - 2.6.30.i586

May 27, 2010

I am using Fedora 11 (2.6.30.10-105.2.23.fc11.i686.PAE). I got a patch for tpm_tis.c which a module to get my itpm working. And, for this I thought to customise the existing kernel and install new one.

So, I followed the foolowing steps:

In 'make menuconfig' , I have disabled Kernel debugging in the Kernel hacking section.

Then changed EXTRAVERSION to something like .test in Makefile

And, My Idea is to follow these steps:

View 1 Replies View Related

General :: Compiling Kernel 2.6.32.2 Error

Jan 4, 2010

I'm currently using Fedora 12 with kernel 2.6.31.9 and I was trying to upgrade to 2.6.32.2. These are the steps I followed. After rebooting and choosing this kernel from the Grub menu, I'm just greeted with a black screen with a blinking cursor and it won't proceed beyond that.

These are the commands I issued. I received an error on the first make modules about the mismatch. I then ran CONFIG_DEBUG_SECTION_MISMATCH=y and once finished I ran make modules again and it completed successfully.

Code:
Downloaded kernel package 2.6.32.2 from www.kernel.org
untar archive
make menuconfig (no changes made, saved config file)
make

[Code]...

View 9 Replies View Related

General :: Compiling Error: /usr/bin/ld: Cannot Find -lexpat1

May 11, 2011

I've been around the block with this problem and don't know what else to check to compile source for gpsbabel-1.4.2. Other posts on this forum mentioning the same error with no resolution on this specifically. I have looked at the following:

1. The Makefile looks like this for the part compiling with expat options:

Code:

gpsbabel$(EXEEXT): configure Makefile $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -lm -L/lib -lexpat -L/usr/lib -lusb $(OUTPUT_SWITCH)$@

2.Search for library files:

Code:

$find /usr/lib -type f -name "*expat*" -print
/lib/libexpat.so.1.5.2
/lib/libexpatw.so.1.5.2

[code]....

View 1 Replies View Related

General :: Error During Kernel Module Compiling

Mar 13, 2011

I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.

View 1 Replies View Related

General :: Error While Compiling Binutils 2.15.92 Package?

Feb 11, 2011

I am trying to compile binutils 2.15.92 package on RHEL 5.4, which is required with gcc 3.4.6 version. I have already installed gcc 3.4.6 on /opt/gcc.

I have given the --prefix as /opt/binutils during compilation. I have all flex, bison and m4 packages installed.

I am getting following error during compilation..

Code:
root/binutils/binutils-2.15.92.0.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
ar.o: In function `mri_emul':
ar.c:(.text+0x9f2): undefined reference to `yyparse'

[Code]....

View 7 Replies View Related

General :: While Compiling Wine Got Error Xlib/Xfree86

Sep 29, 2010

compiling wine i got error Xlib/Xfree86 how can the package of it for RHEL 5.3

View 1 Replies View Related

General :: Compiling Own Kernel - Error Message On Booting

Aug 7, 2010

These days, I tried to compile my own kernel. Now, it seems work. However, when the kernel is booting, I always get the error message like below:
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
It looks that something is wrong with my acpi subsystem's configuration. But no matter How I reconfig it, this message still occurs.
My distribution is UBUNTU 10.04 LTS
original kernel with the distribution is 2.6.32
My own kernel is 2.6.35

View 7 Replies View Related

General :: Error Missing Separator When Compiling - Make

Nov 16, 2010

I have problem with compiling server... I finish ./configure without any problem, and now, when I write make, I see that: Quote: Makefile:360: *** missing separator. Stop. I read something, and know, that error shows when there are problem with spaces. And I should use there a tab. On line 360 I have:

Code: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/account.Po@am__quote@ I try to change this one space inside to tab, but that doesnt work for me... Terminal always show error in the same line.

View 2 Replies View Related

General :: Error Compiling A Program With Boost Libraries -> Strerror_r?

Jun 28, 2011

I'm compiling a project that uses boost libraries (1.45.0) for a MIPS target, and when trying to compile with bjam I get the following error:

Code:
libboost_system-mt.a(error_code.o): In function `(anonymous namespace)::generic_error_category::message(int) const':
error_code.cpp:(.text+0x55c): undefined reference to `__glibc_strerror_r'
collect2: ld returned 1 exit status

View 3 Replies View Related

General :: How To Work On Cygwin

Jul 28, 2010

As one of our friends told, I have downloaded and installed the CYGWIN on my winows xp pc, to learn and practice linux commands.when the icon of it is double clicked, its screen as appearing as below:

System1@system ~
$
MY DOUBT IS :

I could make a directory with command like mkdir. But after that it is not allowing commands like touch, vi, vim etc.How i have to write data or a file in it. Still anything to do after installing CYGWIN.

View 3 Replies View Related

General :: Installing Libraries For Cygwin?

Mar 19, 2010

I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?

g++ - the version 4.4
graphviz
gnuplot
plotdrop

[Code].....

View 1 Replies View Related

General :: Can't Copy And Paste Into Cygwin

May 7, 2010

I can't copy and paste into Cygwin... is there a good alternative to Cygwin that will let me do this?

View 7 Replies View Related

General :: All Commands Exist In Cygwin?

Jan 25, 2011

I want to use the command more to see the content of a text file; however, the command is not available. I wonder whether all linux commands exist in cygwin. I am running cygwin on windows xp.

View 4 Replies View Related

General :: Make Not Working In Cygwin

Aug 16, 2010

I installed the CUnit framework which is a .tar.gz file from the bash shell in cygwin.

make gives me an error saying:

make install works
make clean works

I am not able to compile but install works I do not know if it is installed and as to where it is installed

when i checked it gives me a list of header files and also the lib files. I do not know as to why the make command is not working in cygwin. When i go to the bin directory it shows the make command.

View 5 Replies View Related

General :: Manual Install Perl-5.10.1-3.tar.bz2 On Cygwin?

Jun 6, 2010

I have the binaries: perl-5.10.1-3.tar.bz2 and I don't have access (admin privileges) to run setup.exe for cygwin, my question is how can I install manually inside cygwin the module for perl: perl-5.10.1-3.tar.bz2?(or maybe can I get the sources and compile? can someone tell me please how?)

View 1 Replies View Related

General :: Console Hex Editor Under Windows/cygwin?

Oct 18, 2010

ould recommend for a console hex editor under windows/cygwin/linux?

View 3 Replies View Related

General :: Cygwin - Myscript Command Not Found

Nov 8, 2009

But I just downloaded cygwin to my xp machine. Tried my first experimental script and created it one level directly below where cygwin put me by default. The script, named show two says:

#!/bin/bash
echo $1
echo $2

But bash apparently can't find it. The name of the script is showtwo, but I also tried naming it showtwo.sh; no dice.

View 8 Replies View Related

General :: Make Command Is Not Found In Cygwin

May 13, 2009

I have installed cygwin to my windows xp machine. I typed the commmand in cygwin shell it shows "command not found". How can i install make command in cygwin

View 2 Replies View Related

General :: Make - Command Still Not Working On Cygwin

Jan 21, 2010

Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.

I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.

View 2 Replies View Related

General :: Unable To Declare A Variable In Cygwin?

Jan 21, 2010

I recently installed Cygwin on my windows vista to practice on Linuxunix commands.I am unable to do a simple task of declaring variables on the command prompt I am trying:

$ vech=Bus
$ echo $vech
bash: vech : command not found

What am I missing? Do i need to add something to .bashrc? Also, I remember right click on the shell command gives the ability to copy or paste text from the shell. I am using Bash, how do I copy n paste text on shell window?

View 4 Replies View Related

General :: Required In Installing Anjuta & Pango In CYGWIN?

Oct 13, 2010

I am very new to Linux. I want to work on GTK. As I came from VB background, I want to use Anjuta IDE to start my design. I installed CYGWIN. When I am trying to install anjuta , I am getting error saying GLIB and Unique1.0 not found :

[Code]...

View 3 Replies View Related

General :: Remove Spaces From Many File Names Under Cygwin?

Nov 22, 2010

I'm hoping that someone can help me, I need to remove spaces (not replace with underscores) from several thousand files on a system with cygwin.
Can I do this from the shell using rename or mv somehow?

View 4 Replies View Related

General :: Using Cygwin/X To Run Programs Remotely And It's Real Slow

Jul 13, 2011

I am running programs remotely but they are terribly slow. I'm on a windows machine which may be my first problem. I have killer ping and download speed so they should run fine. What can I do to resolve this.

View 2 Replies View Related

General :: Rsync - Cygwin On XP - Delete Flag Not Working

Aug 4, 2009

I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).

I run the following command from a batch file:

Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.

The same command works perfect on another computer (XP machine; source and dest both on XP machine).

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved