|
Register | Sign In |
|
QuickSearch
EvC Forum active members: 64 (9164 total) |
| |
ChatGPT | |
Total: 916,806 Year: 4,063/9,624 Month: 934/974 Week: 261/286 Day: 22/46 Hour: 2/1 |
Thread ▼ Details |
|
Thread Info
|
|
|
Author | Topic: My penguin is hassling me !!!! | |||||||||||||||||||||||
John Inactive Member |
Anyone here know Linux? Or any *nix?
I have a gcc problem that is driving me nuts. Lately, everything I have tried to make has errored out with "undefined reference to '__ctype_$one-of-several-things-here'" Help me help me help me ------------------http://www.hells-handmaiden.com
|
|||||||||||||||||||||||
Mister Pamboli Member (Idle past 7604 days) Posts: 634 From: Washington, USA Joined: |
Sounds like you have a class library missing. If there are specific programs that raise this error try to reinstall them. If it occurs no matter what the program, and you run from a desktop shell, try reisntalling that, and if it is occurs even outwith the desktop, try reinstalling the core.
|
|||||||||||||||||||||||
John Inactive Member |
quote: Any idea which one? Someone told me that I was missing the g++ headers, but find finds them.
quote: I'd say 90% of what I try to make fails.
quote: I usually run FVWM2 and do most of my work in xterm. But I have the same problem if I kill xwindows. I just tried it. The problem started a few days ago and since I have upgraded to Slackware 8.1. It didn't help. After reinstalling gcc a couple of times to no avail, I rm'd everything associated with it and reinstalled. Same problem. I'm not sure what to do. Reinstall the core? You mean the linux kernal? Or gcc? Thanks ------------------http://www.hells-handmaiden.com
|
|||||||||||||||||||||||
Mister Pamboli Member (Idle past 7604 days) Posts: 634 From: Washington, USA Joined: |
Tried to get you some more info - but nobody admits to using Linux round here
From what I can work out, reinstalling gcc should be your first step. Only reinstall the Linux core if that does not work. Sorry for the slow reply - I think my browser cache was playing tricks on me as I didn't see your reply until just now.
|
|||||||||||||||||||||||
Percy Member Posts: 22495 From: New Hampshire Joined: Member Rating: 4.9 |
Can you post the text of precisely what you're seeing, including the original command line?
--Percy [This message has been edited by Percipient, 10-29-2002]
|
|||||||||||||||||||||||
Tranquility Base Inactive Member |
As much as I consider myself a geek, Linux has caused me to appreciate Windows! I let my students fight with Linux and even they're beginning to convert to Windows.
Finally I get to be mainstream in something around here! Having said that, see my postscipt. PS - anyone who wants to do GUI Linux programming should get into Borland Delphi/Kylix. It is absolutely awesome. We just recompiled our Delphi Windows code in Kylix and now have Linux GUIs which look just like nice Windows ones. Death to Python & Perl. Long-live Borland Delphi. Delphi is the nicest object oriented but mainly component based Windows software development environment and Pascal is easy on the eyes and brain. Forget V-Basic, Java and C++. And there are so many 3rd party tools and components. Using Intraweb you can even write datadriven web-sites in Delphi (Pascal) with drag and drop DB web-access. [This message has been edited by Tranquility Base, 10-29-2002]
|
|||||||||||||||||||||||
Mister Pamboli Member (Idle past 7604 days) Posts: 634 From: Washington, USA Joined: |
I think the gloss is coming off Linux now that the less code-centred users are moving beyond the initial honeymoon period. Tinkering with your OS is fun - but when you screw it up and ou have work to complete it loses its appeal.
You're right about Delphi: it's an excellent language and environment. I have used it since version 1 and have always found it very productive. I don't know how Kylix is doing commercially - it's an interesting concept, but I don't know of anyone doing serious commercial work with it, and it still seems slightly pricey for students and underfunded researchers to use. But if you like Delphi - have you looked at VB.Net or C#? VB.Net is much more delphi-like in its capabilities. C# is a beautiful and elegant language. But when Delphi.Net comes out - its in Beta at the mo - you should try that too. Really productive Web services programming and great XML support.
|
|||||||||||||||||||||||
Tranquility Base Inactive Member |
Agree 100% although I haven't looked at the .net stuff. We'll see how this pans out. Delphi/Kylix does everyhting I need for now and I have invested the time. I simply couldn't go back to Perl, Fortran or VB. Kylix is free. I just got Delphi 7 with Kylix 3 at about US$100 academic pricing. For programming itself (not web) Delphi 1 or 2 is good enough and is free I think?
PS - maybe Linux is an underground Microsoft plot to make us feel good about paying for software. [This message has been edited by Tranquility Base, 10-29-2002]
|
|||||||||||||||||||||||
John Inactive Member |
quote: The original command line is simply: make. gcc -02 -o hydra a-list-of-files-all-ending-in-.ohydra-mod.o: In Function 'make_to_lower': hydra-mod.o(.text=0x60d0: undefined reference to '__ctype_tolower' collect2: ld returned 1 exit status make: *** [hydra] Error 1 ------------------http://www.hells-handmaiden.com
|
|||||||||||||||||||||||
John Inactive Member |
quote: I'm moving rapidly in exactly the opposite direction. Windows is much too fluffie, and does way too much baby-sitting. Long live xterm! Besides, I don't think I've had any OS last more than six months without my severely screwing it up. ------------------http://www.hells-handmaiden.com
|
|||||||||||||||||||||||
Tranquility Base Inactive Member |
^ I'll wait for the bounce back. The code my Windows students write gets used by everyone. The code my Linux student still writes is usable by no-one other than himself. When you dress up Linux so that it is easy to use - guess what? It looks like Windows and costs the same but is still always 50 technologies behind whether it's OLE or COM or web or development tools etc.
It's as simple as Ooohhs vs Uhggaaaaaaaaaaaaaahs! Good luck with your problem. Last dumb Linux problem we had was due to us using the wrong shell. PSHere comes a big TB prediction. Which ever OS makes it easier to develop 'Str Trek' like interfaces will be the OS that wins. That is what will drive things. When continuous speaker-independent speech recogniton (for example) comes in the OS with the better development environemnet will kill the competition. I can just see Linus and his open buddies trying to compete with Microsoft with all its third party development companies (Borland, Dragon etc) making continuous speech recognition work! (not). The third party tools may eventually be developed for Linux but guess what - it will cost the same amount of money! My main prediction is that the OS to support ultra advanced interfaces will win. 99.99% of us will be using the high tech stuff ("Write me a database driven web site with these three tables and these indexes . . .") whilst there'll be these Linux guys still writing the code into code editors (and loving it of course). [This message has been edited by Tranquility Base, 10-30-2002]
|
|||||||||||||||||||||||
Percy Member Posts: 22495 From: New Hampshire Joined: Member Rating: 4.9 |
Hi John,
It is probably due to some problem in the build or install that you're not picking up the libraries for the builtin functions. Until you straighten that out you may be able to gain access to these libraries using the -L and -l options, eg: gcc -Llibdir -lname *.o For example: gcc -L/usr/lib -lstdc -liberty *.o This would check for undefined references in the libraries /usr/lib/libstdc.a and /usr/lib/libiberty.a. There's a unix function called "nm" that will print the symbols in a library, and you can check a directory of libraries for a symbol with a command like this: nm -A /usr/lib/* | grep tolower You mentioned recently installing a new version of Linux from Slackware, and they purport to attempting the goal of being closest to pure Unix, though given the variety of Unixes (Unices?) out there I don't know how they do this. Anyway, it is possible that the assumptions that Slackware Linux makes about system library directories are different. Might it even have moved or renamed a library directory? Or possibly a configuration file that gcc depends upon was reinitialized during installation. Just some ideas... --Percy
|
|||||||||||||||||||||||
John Inactive Member |
quote: See, that's just it, TB. I don't dress up Linux. I LIKE command line. I have Gnome, KDE and some other interfaces installed but never use them. I have fluffie word processors but never use them, opting for vi. To me, FVWM2 is almost a perfect interface. I have xterm for most everything and support from graphical stuff like web browsers if I need it. ------------------http://www.hells-handmaiden.com
|
|||||||||||||||||||||||
Tranquility Base Inactive Member |
Fair enough John. I've got a funny sort of like for vi too.
Having said that, I've gone from Mac to SGI Irix to Linux to Windows. And over the last 5 years I've felt that everything about Windows works now, especially the development tools. Although I find MS word too fluffy I prefer it to vi. For programming I of course spend most of the time writing normal code but I prefer being able to drag and drop DB connectivity and buttons and being able to click on the button to take me to the subroutine. I just couldn't go back to just the file of code. The tools have become so nice. You get lists of your variables and lists of your subroutines in separate windows. I really feel some (maybe not you) Linux people like Linux for the sake of it and few objective reasons. OK, you like typing into a black formatless window. Fair enough. The only reason I have any time for Linux at all now is that I can write GUIs and number crunching code in Kylix and can recompile Delphi Windows code for Linux. At the end of the day I prefer using nice GUIs than sets of scripts which I have to type program names and argument lists. I prefer installations that unzip and install themselves. And so far Windows does a better job at this. At the very end of the day I don't care whether it is Windows or Linux but I want GUIs, advanced development tools for GUIs and no OS hassles. Windows meets these requirements, Linux simply doesn't. [This message has been edited by Tranquility Base, 10-30-2002]
|
|||||||||||||||||||||||
John Inactive Member |
quote: Apple OS from 7.1 all the way to OS X, which is running next me now. I am using Win98 right now. All other versions of Windows drive me nuts. Well, NT doesn't drive me nuts but I prefer 98. I used to run BSD on an old Mac. And SusePPC on another. Slackware is my all time favorite OS right now.
quote: Kinda why I like Win98. Everything does seem to work. My girlfriend has XP-- XP Pro no less. I can't so much as sit down in front of it without screaming.
quote: What little code I write, I normally do on the Mac or on Windows but I feel a change coming on.
quote: hmmm... probably true. Linux has been going through an 'its reallllllly cool phase' ------------------http://www.hells-handmaiden.com
|
|
|
Do Nothing Button
Copyright 2001-2023 by EvC Forum, All Rights Reserved
Version 4.2
Innovative software from Qwixotic © 2024