Hello, I was trying to compile Mplayer 1.3 using gcc 4.4, but I am getting LOTS of error messages when make reaches the pngdec.c file. These are the error messages.
The only thing I know is that I have zlib.h in /usr/src/linux-headers-2.6.31-14/include/linux/zlib.h
No idea about what to do, would appreciate any suggestions.
Last edited by Don Cragun; 11-01-2016 at 09:50 PM..
Reason: Change QUOTE tags to CODE and ICODE tags.
I compiled zlib and installed it to /media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8
Then I created the directory /usr/include/zlib and putted symbolic links there to /media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8/include/zlib.h/media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8/include/zconf.h but the same error messages persisted. My doubt now is which file(s) I need to create a symbolic link to system directories and to where. Zlib.h is certainly one of them, but what else?
And to what places?
Last edited by Don Cragun; 11-01-2016 at 09:49 PM..
Reason: Change QUOTE tags to ICODE tags.
Does your source reference the zlib headers with:
or:
or is it some other form of #include directives?
Do the headers /media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8/include/zlib.h and /media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8/include/zconf.h use any #include directives to reference any files that are not system supplied headers? If so, please show us those #include directives (in CODE tags).
What is the complete command line that you are using to build your code (in CODE tags)?
What compiler commands is make issuing to compile your library routines (in CODE tags)?
Does your source reference the zlib headers with:
or:
or is it some other form of #include directives?
has an
And
was mentioned because is one of two file in /media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8/include, and it is required by
Quote:
Do the headers /media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8/include/zlib.h and /media/34GB/Arquivos-de-Programas-Linux/Zlib-1.2.8/include/zconf.h use any #include directives to reference any files that are not system supplied headers? If so, please show us those #include directives (in CODE tags).
As I mentioned above, zlib.h has an
Quote:
What is the complete command line that you are using to build your code (in CODE tags)?
First I build zlib with:
followed by
and
Then mplayer with:
followed by
Quote:
What compiler commands is make issuing to compile your library routines (in CODE tags)?
Do you want me to copy and paste pieces of the Makefile of Mplayer? I don't know what parts it would be necessary
Your created symlinks to your headers in /usr/include/zlib which would make them visible if your source used #include <zlib/zlib.h>, but that is not what your code uses. (It might have worked if you had created the symlinks in /usr/include instead of /usr/include/zlib or, since your #include lines use double quotes instead of less-than and greater-the symbols surrounding the header names, in the directory where your source files are located.) It would also work if the compiler command your makefile used to compile your code included a -I option that named the directory in which your headers were located and your code used #include "zib.h".
You haven't shown us the command make uses to compile your library routines, but since your code is saying it can't find the header, we have to assume that your ./configure command is not correctly specifying the directory where the zlib headers are to be found when compiling your code.
I tried to create symbolic links in
instead of
, and it worked, these error messages were gone. but now I get this a little further in the compilation process:
These are all functions from
. I then opened
saw an
and changed it to
. typed
again and the
error messages persisted. Also copied cp
to
where
and the others are, then changed
to
and again nothing changed.
I found this in the
:
and maybe in the last line with
I should put the [-I], but I am unsure about how to procede.
it should became
? or it should be a little different? Or should in another place in the
? Or is this even the next step I should follow? I am lost right now
I have this problem using a script that uses mplayer. This is the error messages.
INFO: Mplayer Log
LOG: MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
LOG: mplayer: could not connect to socket
LOG: mplayer: No such file or directory
LOG: Failed to open LIRC support. You... (1 Reply)
People i download the lastest version of samba i`am tryng to compile it in a solaris 9 i'm reading the how to of samba, i am in the first step making the autogen.sh but show me this when i do ./autogen.sh
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'include/version.h'... (0 Replies)
HI,
I have a proc installation.
On running the following 3 commands, I successfully get 3 C files.
proc char_map=string util.pc
proc char_map=string FDRFeedMain.pc
proc char_map=string NonMons.pc
This gives me util.c FDRFeedMain.c NonMons.c
Now when i try to compile the... (6 Replies)
Hi all,
I have an application program which keeps reading an audio file from a directory one after the other , once a file is chosen it keeps sending data in terms of 60000 bytes to a specified socket. This is written into another file "x.mp3" and mplayer is called. Again next 60000... (1 Reply)
Hi
When im trying to do make --version and make --help in HP-UX
it throws error
Make: Unknown flag argument -. Stop.
a soft link is present in this directory /usr/bin/make
and hard link is in /usr/ccs/bin/make
what could be the reason can any1 ..please tell me how to solve this... (1 Reply)
Hello, I am trying to install glib on my development box - with little/no luck. Below are some details of the box:
SunOS 5.8 Generic_117350-38 sun4u sparc SUNW,Ultra-Enterprise
gcc version 2.95.2 19991024 (release)
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Glib version:... (2 Replies)
I'm trying to install the jed text editor on a SunOS 5.10 box. It depends on the s-lang library, which I installed to ~/lib. I'm trying to install jed to ~/jed (it's a box @ my university, so I don't have rights to install globally), but when I run make I get this error:
It looks like it... (1 Reply)
Hi Guys.
I have downloaded metamail from internet e Iīm trying to compile it at a SCO 5.0.5. In this server itīs working fine (letīs name it as mission1)
iīm using the developer package in this server (mission1) and when I use mailto, i got the e-mail fine. Itīs forwarding to a exchange server... (2 Replies)