Opened 15 years ago

Closed 15 years ago

#1465 closed defect (fixed)

-I flags in wrong order cause conflicts with existing installations of libdvdnav/libdvdread/etc.

Reported by: ivan.q.public@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Example:

cc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -maltivec -mabi=altivec -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I. -I/usr/X11/include -I/sw/include/SDL -D_THREAD_SAFE -I/sw/include/artsc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include -Ilibdvdread4 -I/sw/include -I/sw/include -Ilibdvdnav -I/sw/include -c -o stream/stream_dvdnav.o stream/stream_dvdnav.c

Note that -I/sw/include comes before both -Ilibdvdread4 and -Ilibdvdnav. My existing installations of libdvdnav and libdvdread were old enough to cause compilation errors because of this.

(In case you're wondering, I did NOT have any existing CFLAGS when I ran configure.)

Change History (1)

comment:1 by diego@…, 15 years ago

Resolution: fixed
Status: newclosed

Fix committed.

Note: See TracTickets for help on using tickets.