After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111152 - [HP-UX] Cant compile
[HP-UX] Cant compile
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.6.1
Other HP-UX
: Normal normal
: 0.6.x
Assigned To: Thomas Vander Stichele
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-04-19 17:04 UTC by Matias (Nauta) Vidal
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
Compilation Errors. (10.93 KB, application/octet-stream)
2003-04-23 02:55 UTC, Matias (Nauta) Vidal
Details

Description Matias (Nauta) Vidal 2003-04-19 17:04:38 UTC
with gcc 3.2 ( Im using Garnome 0.22 modified to use last Gstreamer)

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I//opt/garnome/include
-I//usr/X11R6/include -I/usr/local/include -I/usr/contrib/X11R6/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/garnome/include/libxml2
-D_REENTRANT -I/opt/garnome/include/glib-2.0
-I/opt/garnome/lib/glib-2.0/include -I../.. -O2 -g -c grammar.tab.c -MT
libgstparse_la-grammar.tab.lo -MD -MP -MF
.deps/libgstparse_la-grammar.tab.TPlo  -fPIC -DPIC
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
mv -f libgstparse_la-grammar.tab.o libgstparse_la-grammar.tab.lo
mv: cannot stat `libgstparse_la-grammar.tab.o': No such file or directory
gmake[6]: *** [libgstparse_la-grammar.tab.lo] Error 1
gmake[6]: Leaving directory
`/tmp/build/garnome-0.22.0/gnome/gstreamer/work/main.d/gstreamer-0.6.1/gst/parse'

It seams that -MT is not working, I must remove the flag and rename the
object manually. 

Im Using Automake 1.7.2
Comment 1 David Schleef 2003-04-22 08:37:01 UTC
At first glance, this looks like an automake bug.

Could you provide a complete build log?
Comment 2 Matias (Nauta) Vidal 2003-04-23 02:55:55 UTC
Created attachment 15913 [details]
Compilation Errors.
Comment 3 Matias (Nauta) Vidal 2003-04-23 02:57:06 UTC
I hope this is what you need, please tell me if you need more info.
Comment 4 David Schleef 2003-05-11 01:52:20 UTC
Apparently, configure thinks that your gcc doesn't support -c and -o
simultaneously, which is obviously wrong:

configure:5250: checking if gcc supports -c -o file.o
configure:5270: gcc -c -O2 -g -o out/conftest2.o
-I//opt/garnome/include -I//usr/X11R6/include -I/usr/local/include
-I/usr/contrib/X11R6/include conftest.c >&5
configure:5294: result: no

It thinks this because the compiler emits the following warning almost
every time (because of the -I/usr/local/include option), and it thinks
that any warning from the compiler is bad:

cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory

Arguably, the libtool .m4 macro that tests this should be fixed. 
However, it will be much more productive in the short term to change
your CFLAGS so that it doesn't include -I/usr/local/include.  I don't
use garnome, so I don't know if this is hard coded or not.

Alternatively, you can also override the test by setting and exporting
the shell variable lt_cv_compiler_c_o=yes.
Comment 5 David Schleef 2003-05-21 07:09:17 UTC
Let me know if you're having any more difficulty with this bug.
Comment 6 Elijah Newren 2003-12-10 19:39:36 UTC
No response--closing.  Feel free to reopen if this is still a problem.