Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7067045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:09:14+00:00 2026-05-28T05:09:14+00:00

I am using a software called supersense tagger and I have a makefile which

  • 0

I am using a software called supersense tagger and I have a makefile which is pasted below.

#Makefile for sst-light

    CXX = g++
    CFLAGS = -g -O1 -DPIC -fPIC -ILIB -I.

    CXXFLAGS = $(CFLAGS) -fno-exceptions
    #CXXFLAGS = -g
    #LIB = -lm ${TAO_LIB} ${PETSC_SNES_LIB}
    #include ${TAO_DIR}/bmake/tao_common

    SOURCES = sst-light.cc \
LIB/utils/utils.cc \
LIB/stats/stats.cc \
LIB/results/results.cc \
LIB/evaluate/evaluate.cc \
LIB/Chain/Chain.cc  \
LIB/Perceptron/Perceptron.cc  \
LIB/tagger_light/Tlight.cc \
LIB/examples/examples.cc \
LIB/features/features.cc

    MLIBOBJECTS = LIB/utils/utils.o \
    LIB/stats/stats.o \
    LIB/results/results.o \
    LIB/evaluate/evaluate.o \
    LIB/Chain/Chain.o  \
    LIB/Perceptron/Perceptron.o  \
    LIB/tagger_light/Tlight.o \
    LIB/examples/examples.o \
LIB/features/features.o 


    OBJECTS = sst-light.o \
LIB/utils/utils.o \
LIB/stats/stats.o \
LIB/results/results.o \
LIB/evaluate/evaluate.o \
LIB/Chain/Chain.o  \
LIB/Perceptron/Perceptron.o  \
LIB/tagger_light/Tlight.o \
LIB/examples/examples.o \
LIB/features/features.o #\
     #  /usr/local/WordNet-2.1/lib/libWN.a

    PEROBJ  = Perceptron/Perceptron.o  Perceptron/Kernel_Perceptron.o
    CRFOBJ  = CRF/CRF.o

    SuperSenseTagger: $(OBJECTS) 
        g++ $(OBJECTS) -o sst

    videotagger: $(MLIBOBJECTS) videotagger.o
      g++ $(MLIBOBJECTS) videotagger.o -o videotagger

    to-conll: to-conll.o
       g++ to-conll.o -o to-conll

    libwnss.so:     $(MLIBOBJECTS)
g++ -shared -o libwnss.so  $(MLIBOBJECTS) -lm -lpthread -lc -lstdc++ -lgcc_s

    .PHONY: clean

    clean:
      find . -name '*.[od]' -print -exec rm {} \;
    clean_bak:
      find . -name '*~' -print -exec rm {} \;

    # this command tells GNU make to look for dependencies in *.d files
    -include $(patsubst %.c,%.d,$(SOURCES:%.cc=%.d))

On execution I get the following:

g++ -g -O1 -DPIC -fPIC -ILIB -I. -fno-exceptions   -c -o sst-light.o sst-light.cpp
In file included from /usr/include/c++/4.3/ext/hash_map:64,
                 from LIB/examples/../tagger_light/../results/../utils/../hash_stuff/hash_stuff.h:26,
                 from LIB/examples/../tagger_light/../results/../utils/utils.h:31,
                 from LIB/examples/../tagger_light/../results/results.h:29,
                 from LIB/examples/../tagger_light/Tlight.h:29,
                 from LIB/examples/examples.h:19,
                 from sst-light.cpp:21:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least
one deprecated or antiquated header which may be removed without further notice at a future date.
Please use a non-deprecated interface with equivalent functionality instead. For a listing of 
replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from LIB/examples/../tagger_light/../results/../utils/utils.h:31,
                 from LIB/examples/../tagger_light/../results/results.h:29,
                 from LIB/examples/../tagger_light/Tlight.h:29,
                 from LIB/examples/examples.h:19,
                 from sst-light.cpp:21:
LIB/examples/../tagger_light/../results/../utils/../hash_stuff/hash_stuff.h: In member function
    âbool std::equal_to<const char*>::operator()(const char*, const char*) constâ:
LIB/examples/../tagger_light/../results/../utils/../hash_stuff/hash_stuff.h:44: error: â::strcmpâ has not been declared
make: *** [sst-light.o] Error 1

Anyone got any ideas what may be causing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:09:15+00:00Added an answer on May 28, 2026 at 5:09 am

    Yes – gcc has updated their compiler and it is not ‘default including’ some header files it used to with older versions – The code you are using has not been updated to reflect this.

    Looks like you need to add include for strcmp in sst-light.cpp

    #include <cstring>
    

    Also it looks as the code is using the old style of C++ include – so change things like

    #include <iostream.h>
    

    to

    #include <iostream>
    

    But only do this for the C++ header files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using C# + winforms to develop software. I have a UserControl which
I'm developing software using the Google App Engine. I have some considerations about the
I am developing a software using C# 2.0 which uses about 200MB of memory
Coding Language: C# Framework: .NET We have built a software, which among many other
We build software using Hudson and Maven. We have C#, java and last, but
I have programmed an embedded software (using C of course) and now I'm considering
I have this part of code that was compiling using ARMASM : /* Software
a software called livecycle has got forms with different fields in which data is
I am using a scientific software (called vasp) that works only in bash, and
We have been told that we have to use a piece of software called

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.