This is a discussion on compiling problem within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I use -current slack with 2.6.9 krenel 3.3.4 gcc And I can't compile Mplayer I think there is some ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I use -current slack with 2.6.9 krenel 3.3.4 gcc And I can't compile Mplayer I think there is some incompatibility with gcc make make -C libmpdemux make[1]: Entering directory `/home/patryk/MPlayer-20041118/libmpdemux' cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -I.. -I../loader -o stream_vcd.o stream_vcd.c In file included from /usr/include/asm/byteorder.h:57, from /usr/include/linux/cdrom.h:14, from vcd_read.h:7, from stream_vcd.c:25: /usr/include/linux/byteorder/little_endian.h:43: error: parse error before "__cpu_to_le64p" /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64p': /usr/include/linux/byteorder/little_endian.h:45: error: `__le64' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h:45: error: (Each undeclared identifier is reported only once /usr/include/linux/byteorder/little_endian.h:45: error: for each function it appears in.) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:47: error: parse error before '*' token /usr/include/linux/byteorder/little_endian.h: In function `__le64_to_cpup': /usr/include/linux/byteorder/little_endian.h:49: error: `p' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:51: error: parse error before "__cpu_to_le32p" /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le32p': /usr/include/linux/byteorder/little_endian.h:53: error: `__le32' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:55: error: parse error before '*' token /usr/include/linux/byteorder/little_endian.h: In function `__le32_to_cpup': /usr/include/linux/byteorder/little_endian.h:57: error: `p' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:59: error: parse error before "__cpu_to_le16p" /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le16p': /usr/include/linux/byteorder/little_endian.h:61: error: `__le16' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:63: error: parse error before '*' token /usr/include/linux/byteorder/little_endian.h: In function `__le16_to_cpup': /usr/include/linux/byteorder/little_endian.h:65: error: `p' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:67: error: parse error before "__cpu_to_be64p" /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be64p': /usr/include/linux/byteorder/little_endian.h:69: error: `__be64' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h:69: error: parse error before "__swab64p" /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:71: error: parse error before '*' token /usr/include/linux/byteorder/little_endian.h: In function `__be64_to_cpup': /usr/include/linux/byteorder/little_endian.h:73: error: `p' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:75: error: parse error before "__cpu_to_be32p" /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be32p': /usr/include/linux/byteorder/little_endian.h:77: error: `__be32' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h:77: error: parse error before "__swab32p" /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:79: error: parse error before '*' token /usr/include/linux/byteorder/little_endian.h: In function `__be32_to_cpup': /usr/include/linux/byteorder/little_endian.h:81: error: `p' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:83: error: parse error before "__cpu_to_be16p" /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be16p': /usr/include/linux/byteorder/little_endian.h:85: error: `__be16' undeclared (first use in this function) /usr/include/linux/byteorder/little_endian.h:85: error: parse error before "__swab16p" /usr/include/linux/byteorder/little_endian.h: At top level: /usr/include/linux/byteorder/little_endian.h:87: error: parse error before '*' token /usr/include/linux/byteorder/little_endian.h: In function `__be16_to_cpup': /usr/include/linux/byteorder/little_endian.h:89: error: `p' undeclared (first use in this function) make[1]: *** [stream_vcd.o] Error 1 make[1]: Leaving directory `/home/patryk/MPlayer-20041118/libmpdemux' make: *** [libmpdemux/libmpdemux.a] Error 2 -- Patryk |
| |||
| On 2004-11-20, Patryk <patrykNO@SPaMpoczta.onet.pl> wrote: > I use -current slack with > 2.6.9 krenel > 3.3.4 gcc > And I can't compile Mplayer > I think there is some incompatibility with gcc > > make > make -C libmpdemux > make[1]: Entering directory `/home/patryk/MPlayer-20041118/libmpdemux' > cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 > -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer > -D_REENTRANT -I.. -I../loader -o stream_vcd.o stream_vcd.c > In file included from /usr/include/asm/byteorder.h:57, > from /usr/include/linux/cdrom.h:14, > from vcd_read.h:7, > from stream_vcd.c:25: > /usr/include/linux/byteorder/little_endian.h:43: error: parse error before > "__cpu_to_le64p" > /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64p': > /usr/include/linux/byteorder/little_endian.h:45: error: `__le64' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h:45: error: (Each undeclared > identifier is reported only once > /usr/include/linux/byteorder/little_endian.h:45: error: for each function it > appears in.) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:47: error: parse error before > '*' token > /usr/include/linux/byteorder/little_endian.h: In function `__le64_to_cpup': > /usr/include/linux/byteorder/little_endian.h:49: error: `p' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:51: error: parse error before > "__cpu_to_le32p" > /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le32p': > /usr/include/linux/byteorder/little_endian.h:53: error: `__le32' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:55: error: parse error before > '*' token > /usr/include/linux/byteorder/little_endian.h: In function `__le32_to_cpup': > /usr/include/linux/byteorder/little_endian.h:57: error: `p' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:59: error: parse error before > "__cpu_to_le16p" > /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le16p': > /usr/include/linux/byteorder/little_endian.h:61: error: `__le16' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:63: error: parse error before > '*' token > /usr/include/linux/byteorder/little_endian.h: In function `__le16_to_cpup': > /usr/include/linux/byteorder/little_endian.h:65: error: `p' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:67: error: parse error before > "__cpu_to_be64p" > /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be64p': > /usr/include/linux/byteorder/little_endian.h:69: error: `__be64' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h:69: error: parse error before > "__swab64p" > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:71: error: parse error before > '*' token > /usr/include/linux/byteorder/little_endian.h: In function `__be64_to_cpup': > /usr/include/linux/byteorder/little_endian.h:73: error: `p' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:75: error: parse error before > "__cpu_to_be32p" > /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be32p': > /usr/include/linux/byteorder/little_endian.h:77: error: `__be32' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h:77: error: parse error before > "__swab32p" > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:79: error: parse error before > '*' token > /usr/include/linux/byteorder/little_endian.h: In function `__be32_to_cpup': > /usr/include/linux/byteorder/little_endian.h:81: error: `p' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:83: error: parse error before > "__cpu_to_be16p" > /usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_be16p': > /usr/include/linux/byteorder/little_endian.h:85: error: `__be16' undeclared > (first use in this function) > /usr/include/linux/byteorder/little_endian.h:85: error: parse error before > "__swab16p" > /usr/include/linux/byteorder/little_endian.h: At top level: > /usr/include/linux/byteorder/little_endian.h:87: error: parse error before > '*' token > /usr/include/linux/byteorder/little_endian.h: In function `__be16_to_cpup': > /usr/include/linux/byteorder/little_endian.h:89: error: `p' undeclared > (first use in this function) > make[1]: *** [stream_vcd.o] Error 1 > make[1]: Leaving directory `/home/patryk/MPlayer-20041118/libmpdemux' > make: *** [libmpdemux/libmpdemux.a] Error 2 When you see this kind of stuff it usually means something isn't getting defined, which leaves blanks. Like if X normally gets defined, X Y; but when it doesn't Y; parse error! It's hard to track without sitting at your machine and being able to look at the files. I usually start at the lowest line number that it's complaining about and find were that first error is that's having a domino effect on the rest of the program. I don't think it's gcc itself... I'd probably start with little_endian.h around line 43, see what's there, if that line seems OK, and if not, why. It seems like alot of import things about your system get declared in config.h (which is really just including autoconf.h). I'd make sure that stuff is an acurate reflection of my system too. Just keep working backwards until you find what's not being declared that should be. -- --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ |
| ||||
| Patryk wrote: > I use -current slack with 2.6.9 krenel 3.3.4 gcc And I > can't compile Mplayer I think there is some > incompatibility with gcc I think that you trying compile against the 2.6.9 header files. Go back to the linux-2.4.27 header files. There is nothing to be gained unless you also compile glibc against 2.6.9. Frank Fox |
| Thread Tools | |
| Display Modes | |
|
|