Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 03-27-2003, 05:45 PM   #1 (permalink)
Imon Fyre
Recruit
 
Imon Fyre's Avatar
 
Join Date: Mar 2003
Location: Muskoka, Canada
Posts: 19
Imon Fyre is on a distinguished road
Exclamation cygwin trouble

ok.. heres my problem..

i keep getting errors when i try to install stuff into my cygwin..

ill do the configure fine, but when i goto do the make, it gives me errors
like so



also cygwin on
-windows2000
-duron 700
-256 mb ram
Imon Fyre is offline   Reply With Quote
Old 03-27-2003, 06:46 PM   #2 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
what are you trying to install? does this happen in all apps? is it always the same error?

it looks like the app you are trying to build has configured itself incorrectly (or is not familiar with the cygwin environment). this is not uncommon. i've found that the cygwin has some strange interpretations of various common functions.

cygwin defines:
const char *_EXFUN(strsignal, (int __signo));

linux and bsd both define:
char *strsignal(int sig);

you should probably fix the application to expect this difference. in the file "gstrfuncs.c", line 674, is probably the line you're looking to change.
joe_bruin is offline   Reply With Quote
Old 03-27-2003, 06:49 PM   #3 (permalink)
Imon Fyre
Recruit
 
Imon Fyre's Avatar
 
Join Date: Mar 2003
Location: Muskoka, Canada
Posts: 19
Imon Fyre is on a distinguished road
im trying to install pkgconfig so that i can install glib 2.2.1. sites that i have looked at and the readme sez that it should install right outta the box under cygwin

should i change it too

char *strsignal(int sig);


or will that mess everything else up too?
Imon Fyre is offline   Reply With Quote
Old 03-27-2003, 07:04 PM   #4 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
this should fix it:

/* extern char *strsignal (int sig); */
extern const char *_EXFUN(strsignal, (int __signo));
joe_bruin is offline   Reply With Quote
Old 03-27-2003, 07:13 PM   #5 (permalink)
Imon Fyre
Recruit
 
Imon Fyre's Avatar
 
Join Date: Mar 2003
Location: Muskoka, Canada
Posts: 19
Imon Fyre is on a distinguished road
cool thanx Joe
Imon Fyre is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Explorer trouble (of course) easilyi HTML, XML, Javascript, AJAX 6 11-11-2004 04:59 PM
Brain Melting: Trouble With If Statements..... UnusualGameBoy Java 3 10-27-2004 03:10 PM
Does anyone use cygwin? sde Lounge 12 08-16-2004 08:39 PM
trouble with some image upload code trevor PHP 11 02-11-2003 08:09 AM
narrowed down login trouble trevor PHP 7 01-18-2003 06:50 PM


All times are GMT -8. The time now is 01:11 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting