[Prev][Next][Index][Thread]
Re: problems with missing libs
In message <Pine.LNX.3.91.960629205605.1449A-100000@localhost> you write:
|
|Hi guys, i have a problem...
|
|since i've upgraded to RedHat I cannot compile nothing.
|I keep getting error like:
|
|[root@cybertron duhdist]# make
|rm -f duhdraw
|cc -o duhdraw duhdraw.c -l/usr/include/ncurses/curses.h
^^ ^^^^^^^^
Dunno about the rest, but this parameter doesn't make sense. "-l"
tells cc that the attached word should be the basename of a library
file to be searched in the library path.
If your file #includes <curses.h> then you might want either to change
it to <ncurses/cureses.h> or add "-I/usr/include/ncurses" to your
compilation line.
|duhdraw.c:15: curses.h: No such file or directory
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|cc: Compilation of header file requested
|make: *** [duhdraw] Error 1
|
|thats from duhdraw. or:
|
|[root@cybertron XBanner1.0]# make
|gcc -Wall -O2 -o xbanner xbanner.o effect.o xres.o -lX11
|ld: cannot open -lX11: No such file or directory
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|make: *** [xbanner] Error 1
Have you looked where is libX11.*? What does "cc -v ..." give (i.e.
where does ld look for library files?)
|
|from XBanner.
Does Xbanner come with Imakefile? If so then did you run xmkmf?
|
|Now I am very lost when it comes to this things, however I do think i
|have those libs. for example i DO have a /usr/include/ncurses/curses.h
|
|Dist. is RedHat 3.0.3 Picasso after the 2.0.0 update, kernel is 2.0.0, if
|you need any other details just ask... ;-)
|
|What am I doing wrong? (as i said i am VERY naive about this matters, so
|be gentle please... ;-)
It's not quite your fault, your parents should have been more carefull
a couple of decased ago...:-)
(just kidding...)
Cheers,
--Amos
--Amos Shapira | "Of course Australia was marked for
133 Shlomo Ben-Yosef st. | glory, for its people had been chosen
Jerusalem 93 805 | by the finest judges in England."
ISRAEL amos@dsi.co.il | -- Anonymous
Follow-Ups:
References: