Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 400
    • Issues 400
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1905
Closed
Open
Created Jan 31, 2014 by Robert Bernecky@rbeDeveloper

Can't compile anything on Intel box Ubuntu 13.10

Bugzilla Link 1114
Created on Jan 31, 2014 21:10
Resolution FIXED
Resolved on Jun 16, 2014 21:28
Version svn
OS Linux
Architecture PC

Extended Description

STDLIB was compiled with -mt.
Same failure whether I compile with -mt or without...
warning: AWLF is enabled: -ecc enabled.
warning: AWLF is enabled: -extrema enabled.
warning: AWLF is enabled: -maxoptcyc=20
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `sqrt'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `asinh'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `floor'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `log1p'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `ceil'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `cosh'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `pthread_key_create'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `dlsym'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `tan'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `tanh'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `powf'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `sqrtf'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `asin'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `expf'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `dlerror'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `atanh'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `pthread_getspecific'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `cbrt'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `log'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `pthread_create'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `atan'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `log2'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `expm1'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `sinh'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `fmod'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `acos'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `exp'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `sin'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `hypot'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `acosh'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `rint'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `pow'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `atan2'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `cos'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `dlopen'
/home/sac/sac/BASE/stdlib/shared-libs/libMathArrayMod.so: undefined reference to `fabs'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `pthread_setspecific'
/home/sac/sac/BASE/stdlib/shared-libs/libArrayFormatMod.so: undefined reference to `log10'
/home/sac/sac2c/lib//libsac.mt.pth.so: undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
abort: System failed to execute shell command
abort: gcc -std=gnu99 -pedantic -Wall -Wno-unused -fno-builtin   
abort: -I$SAC2CBASE/include/  -O3  -I$SAC2CBASE/include/  -o a.out a.out.c  -ldl
abort: -lpthread -L$SAC2CBASE/lib/  -L/tmp/SAC_S8xDdT  -L. -Wl,-rpath,.
abort: -L/home/sac/sac2c/lib -Wl,-rpath,/home/sac/sac2c/lib
abort: -L/home/sac/sac/BASE/stdlib/shared-libs
abort: -Wl,-rpath,/home/sac/sac/BASE/stdlib/shared-libs -L. -Wl,-rpath,.
abort: -L/usr/local/dislin -Wl,-rpath,/usr/local/dislin -L/opt/local/lib
abort: -Wl,-rpath,/opt/local/lib   -lStdIOMod -lBinFileMod -lFibreIOMod -lListIOMod
abort: -lComplexIOMod -lColor8IOMod -lGreyIOMod -lArrayIOMod -lScalarIOMod
abort: -lStringArrayMod -lRuntimeErrorMod -lIOresourcesMod -lArrayFormatMod
abort: -lStructuresMod -lBitsMod -lComplexMod -lListMod -lColor8Mod -lGreyMod
abort: -lFileMod -lTermFileMod -lTerminalMod -lFileSystemMod -lArrayMod
abort: -lMathArrayMod -lComplexArrayTransformMod -lArrayTransformMod
abort: -lComplexArrayArithMod -lSysErrMod -lWorldMod -lStringMod
abort: -lComplexScalarArithMod -lComplexArrayBasicsMod -lConstantsMod
abort: -lArrayArithMod -lBoolMod -lComplexBasicsMod -lCharMod -lArrayBasicsMod
abort: -lMathMod -lm -lScalarArithMod -lsacpreludeMod -lsacphm.mt -lsac.mt.pth  
abort: -ldl  
abort: with exit code 1
compilation failed while Creating binary code, 3 warning(s).
rbe@rattler:~/texsrc/DrDobbs/innerproduct$ 
rbe@rattler:~/texsrc/DrDobbs/innerproduct$ sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 product rev 18427 linux-gnu_x86_64
 (Fri Jan 31 16:05:00 EST 2014 by sac)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking