View Issue Details

IDProjectCategoryView StatusLast Update
0001227Anope Stable (1.8.x series)Otherpublic2011-01-19 06:57
Reporterzynox Assigned ToAdam  
Status resolvedResolutionfixed 
Summary0001227: anopesmtp cannot be built because it use $ANOPELIBS
DescriptionWhen running `make install` anopesmtp cannot be built because it doesn't link to certain libraries. I think that ANOPELIBS be passed here.

I don't quite understand your Makefiles but I think if it runs the following:
    gcc $ANOPELIBS anopesmtp.o -o anopesmtp
Instead of:
    gcc anopesmtp.o -o anopesmtp
Should fix the problem.
Steps To Reproduce./Config
make install
Additional Information>> gmake install
    gcc -pipe -g -O2 -I../include/ -c anopesmtp.c
    gcc anopesmtp.o -o anopesmtp
    Undefined first referenced
     symbol in file
    gethostbyname anopesmtp.o
    socket anopesmtp.o
    connect anopesmtp.o
    inet_addr anopesmtp.o
    ld: fatal: symbol referencing errors. No output written to anopesmtp
    collect2: ld returned 1 exit status
TagsNo tags attached.



2011-01-19 06:57

administrator   ~0005723

Fixed in 0dda705cdb0a950c9ffa38793272a43abfc16a2a

Issue History

Date Modified Username Field Change
2011-01-05 04:34 zynox New Issue
2011-01-19 06:57 Adam Note Added: 0005723
2011-01-19 06:57 Adam Status new => resolved
2011-01-19 06:57 Adam Resolution open => fixed
2011-01-19 06:57 Adam Assigned To => Adam