My catalog is as follows:
The include folder. H file detailed below
Lib folder to devolve the rabbitmq lib file detailed below
SRC put amqpmq. C case file in which the main function from amqp_bind. C copy of
The makefile in the folder in the root directory
The contents of the makefile detailed below
Cc:=mingw32-gcc as I need
LibPath:=)/SRC
Source1:=./SRC/main. CPP
Source2:=./SRC/utils. C
Source2H:=./include/utils. H
IncludeDir:=)/include
Closer:=./srcAmqp amqp_api. C
AmqpH:=)/srcAmqp
AmqpFram:=./srcAmqp amqp_framing. C
The main. Exe: main. O utils. O amqpFram. O closer. O
$(cc) - o work0. Exe./lib/rabbitmq. 4. Lib amqpFram. O closer. O utils. O main. O - I $(includeDir) - I $(amqpH)
The main. O: $(source1)
$(cc) - o main. O - c $(source1)
Utils. O: $(source2)
$(cc) - o utils. O - c $(source2) - I $(includeDir)
Closer. O: $(it)
$(cc) - o closer. O - c $(it) - I $(amqpH)
AmqpFram. O: $(amqpFram)
$(cc) - o amqpFram. O - c $(amqpFram) - I $(amqpH)
Now finding a function is the error report:
The function of the file can be found in the source code
But why the link can't find this function? O great god answer
CodePudding user response:
Top of the figure is the minGw GCC - 64 compiled the results of theWith the 32-bit results is still wrong