Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Icecast-Server Icecast-Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 117
    • Issues 117
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.OrgXiph.Org
  • Icecast-ServerIcecast-Server
  • Issues
  • #688
Closed
Open
Issue created Jul 24, 2005 by moinakg2002@moinakg2002

Compiling icecast on Solaris 10 AMD64 using SUN Studio10 cc

I have built icecast on an AMD64 Laptop running Solaris 10, using the SUN Studio10 compiler. Studio10 cc does not have the predefined "FUNCTION" identifier. Instead it provides "func". So src/logging.h needs a fix as given below:

*** logging.h.orig Tue May 31 19:10:15 2005 --- logging.h Tue May 31 19:14:24 2005


*** 33,38 **** --- 33,42 ---- #define FUNCTION strrchr (FILE, '\') ? strrchr (FILE, '\') + 1 : FILE #endif

  • #ifdef __SUNPRO_C
  • #define FUNCTION func
  • #endif
  • #define ERROR0(y) log_write(errorlog, 1, CATMODULE "/", FUNCTION, y) #define ERROR1(y, a) log_write(errorlog, 1, CATMODULE "/", FUNCTION, y, a) #define ERROR2(y, a, b) log_write(errorlog, 1, CATMODULE "/", FUNCTION, y, a, b)
Assignee
Assign to
Time tracking