Menu

Solaris 10 compile error

Help
2009-04-23
2020-08-26
  • Joe Guerrero

    Joe Guerrero - 2009-04-23

    I tried to compile tftpserverspV1.61 using the command listed in the README file and I receive an error.

    The OS is Solaris 10 : SunOS 5.10 Generic_118822-25 sun4u sparc SUNW,A70

    The command executed: c++ tftpserver.cpp -otftpserver -lsocket -lnsl -lpthread

    The error displayed:
    In file included from tftpserver.cpp:49:
    /usr/include/net/if.h:99: error: template argument required for `struct map'

    I'd appreciate any help to solve this issue

    Thanks

     
    • Achal Dhir

      Achal Dhir - 2009-04-27

      Thanks for Posting,

      The compile error on solaris is fixed in file tftpserverspV1.62

      Achal

       
  • Donald1010

    Donald1010 - 2020-08-26

    and it will produce bin programs of the form "foo-gcc-bar", so that you may differentiate different builds of gcc.

    Replace foo and/or bar with an appropriate "tag" for your build (eg "-4.6" for example).

    This way if it doesn't find your toolchain correctly it will fail fast rather than using the 3.4 version.

    It also means that different toolchain builds can coexist in the standard installation prefix directories.

     

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.