Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 218016
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Professional Audio Applications Maintainers <proaudio@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: hackablecrap@hotmail.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
alsa-patch-bay-1.0.0-gcc43.patch media-sounsd/alsa-patch-bay-1.0.0-gcc43.patch patch hackablecrap@hotmail.com 2008-04-17 22:57 0000 18.85 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218016 depends on: Show dependency tree
Bug 218016 blocks: 198121
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: 2008-04-16 20:52 0000
Trying to get my system completely rebuilt with GCC 4.3 (to take advantage of
the march=core2 setting), this is one of the last packages that I can't build
on my toolchain. One of the others is gtkmm, so I tried to build this with fltk
instead.
Got an error about something not being defined in the current scope. Tried it
again with a -jack USE flag, got another error during compile.



Reproducible: Always

Steps to Reproduce:
1.emerge alsa-patch-bay with the fltk, jack, and alsa USE flags, and WITHOUT
the gtkmm USE flag(the gtkmm package required for alsa-patch-bay doesn't
compile with gcc 4.3 either, so you have to use fltk)
2.
3.

Actual Results:  

jack-addr.cpp: In member function ‘std::string APB::Jack::Addr::client()
const’:
jack-addr.cpp:41: error: ‘strdup’ was not declared in this scope
jack-addr.cpp:43: error: ‘strchr’ was not declared in this scope
jack-addr.cpp:49: error: ‘free’ was not declared in this scope
jack-addr.cpp: In member function ‘std::string APB::Jack::Addr::port()
const’:
jack-addr.cpp:59: error: ‘strchr’ was not declared in this scope
make[4]: *** [jack_so-jack-addr.o] Error 1
make[4]: *** Waiting for unfinished jobs....
jack-driver.cpp: In function ‘int
APB::Jack::jackGraphOrderCallback(void*)’:
jack-driver.cpp:36: error: ‘strerror’ was not declared in this scope
jack-driver.cpp: In constructor ‘APB::Jack::Driver::Driver(const
std::string&, int*, char***)’:
jack-driver.cpp:49: error: ‘strdup’ was not declared in this scope
jack-driver.cpp:51: error: ‘strchr’ was not declared in this scope
jack-driver.cpp:60: error: ‘abort’ was not declared in this scope
jack-driver.cpp:63: error: ‘free’ was not declared in this scope
jack-driver.cpp: In member function ‘void
APB::Jack::Driver::refreshPortList(std::list<APB::Addr*,
std::allocator<APB::Addr*> >&, JackPortFlags)’:
jack-driver.cpp:157: error: ‘free’ was not declared in this scope
jack-driver.cpp: In member function ‘virtual void
APB::Jack::Driver::refreshSubscriptions()’:
jack-driver.cpp:226: error: ‘free’ was not declared in this scope
make[4]: *** [jack_so-jack-driver.o] Error 1


my system: 
x86_64 2.6.24.4
GCC 4.3.0
binutils 2.18
linux-headers 2.6.24
glibc 2.7

app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.16.1-r3, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24

when i compile without jack support i get this error:
driver.cpp: In constructor ‘APB::Driver::Driver()’:
driver.cpp:34: error: ‘exit’ was not declared in this scope
driver.cpp:45: error: ‘exit’ was not declared in this scope
make[3]: *** [alsa_patch_bay-driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
misc.cpp: In function ‘int APB::randomNumber(double, double)’:
misc.cpp:37: error: ‘rand’ was not declared in this scope
misc.cpp:37: error: ‘RAND_MAX’ was not declared in this scope
make[3]: *** [alsa_patch_bay-misc.o] Error 1

Expected Results:  
The application should compile correctly with gcc 4.3

------- Comment #1 From hackablecrap@hotmail.com 2008-04-17 22:57:19 0000 -------
Created an attachment (id=150113) [details]
media-sounsd/alsa-patch-bay-1.0.0-gcc43.patch

I'm a noob who doesn't know how to program, use at your own risk.

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2008-04-18 04:48:51 0000 -------
When you prepare patches you should probably use -x '*~' to avoid patching in
backup files :)

Moving this to proaudio, I'll update metadata, as this is less desktop-sound
stuff.

------- Comment #3 From Peter Alfredsen 2008-06-09 10:38:09 0000 -------
+  09 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/alsa-patch-bay-1.0.0-gcc43.patch, alsa-patch-bay-1.0.0-r2.ebuild:
+  Gcc-4.3.0 fix; bug 218016; Thanks to terry lava <hackablecrap@hotmail.com>
+

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