LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-02-2021, 09:30 PM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
regression on -current with ocl-icd


ocl-icd doesn't build anymore on -current:
--------------------
/usr/include/CL/cl_ext.h:284:1: error: old-style parameter declarations in prototyped function definition
284 | clCreateSubDevicesEXT(cl_device_id in_device,
| ^~~~~~~~~~~~~~~~~~~~~
run_dummy_icd_gen.c:540:23: error: parameter name omitted
540 | clCreateSubDevicesEXT(cl_device_id /*in_device*/,
| ^~~~~~~~~~~~
run_dummy_icd_gen.c:541:23: error: parameter name omitted
541 | const cl_device_partition_property_ext * /* properties */,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
run_dummy_icd_gen.c:542:23: error: parameter name omitted
542 | cl_uint /*num_entries*/,
| ^~~~~~~
run_dummy_icd_gen.c:543:23: error: parameter name omitted
543 | cl_device_id * /*out_devices*/,
| ^~~~~~~~~~~~~~
run_dummy_icd_gen.c:544:23: error: parameter name omitted
544 | cl_uint * /*num_devices*/ ) CL_EXT_SUFFIX__VERSION_1_1;;
| ^~~~~~~~~
run_dummy_icd_gen.c:1627: error: expected '{' at end of input
1627 | }
|
run_dummy_icd_gen.c:1627: warning: control reaches end of non-void function [-Wreturn-type]
1627 | }
|
make[2]: *** [Makefile:918: run_dummy_icd_through_our_ICDL-run_dummy_icd_gen.o] Error 1
make[2]: Leaving directory '/tmp/ocl-icd-2.3.0'
make[1]: *** [Makefile:1024: all-recursive] Error 1
make[1]: Leaving directory '/tmp/ocl-icd-2.3.0'
make: *** [Makefile:592: all] Error 2
---------------------
 
Old 07-02-2021, 10:32 PM   #2
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,343

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
We need this patch (tested and works)

https://raw.githubusercontent.com/ar...-headers.patch
 
Old 07-03-2021, 01:18 AM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
ok thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Mesa Clover Gallium3D Now Supports OpenCL ICD LXer Syndicated Linux News 0 10-22-2013 05:20 AM
[SOLVED] Sony ICD P-320 Audio Recorder wmeler Linux - Hardware 3 10-01-2012 07:15 PM
Newbie to OCL manolakis Programming 1 02-28-2009 06:51 AM
usb voice recorder (SONY ICD-P210) geomatt Linux - Hardware 1 10-02-2008 04:29 PM
Using Sony ICD-ST10 Stereo Digital Recorder with Linux QuestFind Linux - Software 5 10-10-2007 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration