Menu

trouble compiling scratchlib on GNU/Linux.

Help
Levi
2006-02-09
2013-04-17
  • Levi

    Levi - 2006-02-09

    I'm trying to compile scratchlib on a system running Gentoo GNU/Linux, but when I do, I get a strange error. Here's the log of the compile attempt.

    levi@localhost ~/scratchlib/library $ libtool --mode=compile --tag=CXX g++ ./include/DAnalyse.h ./include/timeCodeArray.h ./src/DAnalyse.cpp -o libscratchlib.lo g++ ./include/DAnalyse.h ./include/timeCodeArray.h ./src/DAnalyse.cpp  -fPIC -DPIC -o .libs/libscratchlib.o
    /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../crt1.o: In function `_start':
    init.c:(.text+0x18): undefined reference to `main'
    collect2: ld returned 1 exit status

    What am I doing wrong?

     
    • Langhammer

      Langhammer - 2006-06-06

      Check out the latest SVN version. There's a simple makefile included.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.