Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 5558
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Doug Goldstein <cardoe@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Davis (zhen) (RETIRED) <zhen@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
smpeg-0.4.4-gcc31.patch gcc 3.1 fix for smpeg patch Olivier Crete 2002-08-01 01:29 0000 276 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5558 depends on: Show dependency tree
Bug 5558 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-25 08:32 0000
This seems to be a trivial issue. When the config for smpeg-xmms is looking for
-lsmpeg, it is not looking in the default includes dir. An smpg-config gives the
full path for the smpeg include. I think that I can handle this one, but I am
not sure where to start. I am guessing the configure script for smpeg-xmms? I
will look around and keep everyone posted.

//John

------- Comment #1 From Brandon Low (RETIRED) 2002-07-25 20:36:20 0000 -------
I believe this is a gcc-3.1 error and have seen it before, but do not know the
solution.

------- Comment #2 From Olivier Crete 2002-08-01 01:14:14 0000 -------
The exact error is:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../libsmpeg.so: undefined referen
ce to `operator new[](unsigned)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../libsmpeg.so: undefined referen
ce to `operator delete(void*)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../libsmpeg.so: undefined referen
ce to `operator delete[](void*)'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../libsmpeg.so: undefined referen
ce to `operator new(unsigned)'
collect2: ld returned 1 exit status
configure: failed program was:

And smpeg has been compiled with the same compiler (gcc 3.1.1-r1)... now why is
is asking for clearly C++ symbols on a C library.. Is it very bizzare...

Small test case:
gcc test.c -lsmpeg 
on the file:
char SMPEG_new_data();
int main() {
SMPEG_new_data()
; return 0; }

but its a smpeg bug

------- Comment #3 From Olivier Crete 2002-08-01 01:17:30 0000 -------
It works when compiled as
g++ -lsmpeg conftest.c
and declaring the function as:
extern "C" char SMPEG_new_data();

smpeg is C++.... compiled with a C interface...

------- Comment #4 From Olivier Crete 2002-08-01 01:29:07 0000 -------
Created an attachment (id=2717) [details]
gcc 3.1 fix for smpeg

This is the gcc 3.1 fix from RedHat for smpeg

------- Comment #5 From Doug Goldstein 2002-08-03 04:27:30 0000 -------
New ebuilds in Portage! Please unmask and test! 

smpeg-0.4.4-r3 and smpeg-xmms-0.3.4-r2

Please post which compiler you used! I want some successful tests with gcc-3.1
and gcc-2.95 before unmasking!

------- Comment #6 From Doug Goldstein 2002-08-03 07:55:48 0000 -------
Included a new ebuild of smpeg-xmms-0.3.5 :) Please test. It's still masked. 

------- Comment #7 From Sven Blumenstein (RETIRED) 2002-08-03 22:58:06 0000 -------
Compiled with Gcc 3.1 and these flags:

CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -mno-sse
-mno-sse2"
CXXFLAGS="-mcpu=athlon -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -mno-sse
-mno-sse2"


Just watched a 2h DivX movie without problems :)

------- Comment #8 From Doug Goldstein 2002-08-04 05:17:32 0000 -------
Excellent. It was tested on 2 gcc-2.95, 1 gcc-3.1 and 1 gcc-3.2 box and all
confirmed it worked so I think this is going to be an unmask...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug