ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Has anyone ever seen this before? When I'm making this project, i get the error "can't find -l-lXext". When i try removing -lXext, just to see what happens, i get the extra -l attached to the next lib. Nowhere in my makefiles is there a lib linked to like "-l-l", plus i'm sure i have all of the libs it wants. Here is the compile command and the error. Any ideas?
Instead of removing '-lXext', I would just remove '-l'. Looks like you have somewhere an empty variable (so added to a '-l' still gives '-l')
If this comes from an IDE, maybe the first line in the list of libraries is empty (or the last one).
So i went into the Makefile (i know thats not the way to fix the problem, but thought it would just show that it is fixable) of this directory, and tried a) deleting the standalone -l that comes before it, which gives me an error about not finding one of my own libs (which does exist) and b) deleted the -l that is attached to Xext, and get an error that it can't find "Xext". So either i need to find the right file to edit or there is a bug in ld... btw, i've tried this on the mac (i'm porting this qt3 app to qt4 so it will be multiplatform), and get stuck on the same error. That makes it seem like it is a problem w/ my code.
It will not be a problem in the C/C++ code. Can you post the makefile so we can have a look at it. I'm not a make specialist, but someone else might be.
o we don't have a 50kb forum post, i put the makefile for the root folder
of the project at:
sfu.ca/~mcrider/MakefileRoot.txt
and the makefile for the subdirectory that goes wonkers is:
sfu.ca/~mcrider/MakefileVuParII.txt
I'd appreciate if someone would take a look at it and see if there is any
weirdness.
BTW, i'm using Debian Sarge, with
GNU ld version 2.15
(GNU libtool) 1.5.6
g++ (GCC) 3.3.5
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.