Search Results

Search: Posts Made By: steve120
1,705
Posted By steve120
Getting file without mentioning the path
If I am in C:\WINDOWS\Resources\Themes and I have a file in an other directory called to which I want to go but I do not know the path to it . Using a Linux command , is there a way to go directly...
9,523
Posted By steve120
Add string to parentheses
Suppose I have this code :

int main () { int i = NULL; /* incorrect */ return 0; }

and I want to put the word between the two parentheses
like this :


int main (void) { int i =...
9,371
Posted By steve120
Thank you I find it :) In...
Thank you I find it :)

In /cygdrive/c/WpdPack/Examples-pcap/basic_dump I found a file called GNUmakefile so I tried to see its content using CAT command and this is what I got :

$ cat...
9,371
Posted By steve120
Just remove the word from the commandI did not...
Just remove the word from the commandI did not use -mno-cygwin in the command . I used only

make as command . So if I did not use-mno-cygwin in the command how can I remove it !!! It makes no...
9,371
Posted By steve120
I looked for -mno-cygwin inside the WpdPack...
I looked for -mno-cygwin inside the WpdPack folder as I believed it is situated there in some of the files but I could not find it . I have no idea where I can find it this -mno-cygwin . There is...
9,371
Posted By steve120
Error when compiling using cygwin
I tried to compile the files in basic_dump_ex using cygwin :

/cygdrive/c/WpdPack/Examples-pcap/basic_dump_ex

$make

but I got this :

cc -g -O -mno-cygwin -I ../../include -c...
9,866
Posted By steve120
Thank you anyway :)
Thank you anyway :)
9,866
Posted By steve120
Hello wisecracker and thank you for your reply ...
Hello wisecracker and thank you for your reply



I listed all the files in this directory /cygdrive/c/WpdPack/Examples-pcap/basic_dump and this is what I got :

basic_dump.c basic_dump.dsp ...
9,866
Posted By steve120
I put the WpdPack folder outside Cygwin in C:\...
I put the WpdPack folder outside Cygwin in C:\ then I added its path to windows

like this : C:\WpdPack\Examples-pcap\basic_dump environment after that I

reboot my computer and run the...
9,866
Posted By steve120
Installing winpcap and configure it with cygwin
When I put the ./configure command in my Cygwin terminal to compile a source code program , I got this error :

ERROR! Libpcap library/headers not found.
TCPDUMP/LIBPCAP public repository...
3,251
Posted By steve120
interesting . Instead of putting the whole...
interesting . Instead of putting the whole directory between double quotes , we put only the file name in which there is the space between double quotes . Good idea

Thanks
3,251
Posted By steve120
Thank you for the information
Thank you for the information
3,251
Posted By steve120
Thank you but I get it . It is because of the...
Thank you but I get it . It is because of the space in /Program Files/ directory name :
There is space between Program and Files . In Unix , Spaces in file name are illegal and provoke only...
3,251
Posted By steve120
Thank you I added the "z" as you told me...
Thank you

I added the "z" as you told me but the Cygwin still says "not found in archive " this is the result I got so far :

tar -zxf php_.tar.gz -C /Program Files/PHP/script // not found in...
3,251
Posted By steve120
Extracting to another directory using cygwin
I have a file, in Windows, called php_0.27.tar.gz and want to extract it to


C:\Program Files\PHP\script through Cygwin using this command:
tar -xf php_0.27.tar.gz -C /Program...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 02:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy