-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile issue on Linux (Fedora 24 and raspian Jessy 2017) #3
Comments
Hi
Here is the Makefile for OpenWRT/LEDE |
Same issue when trying to compile latest master d4767d3 under Linux. Tried the make command above, still same errors.
|
Met same issue. Just work around by not touching the inconsistent conditioned code make BUILD=debug BACNET_PORT=linux BACDL_DEFINE=-DBACDL_BIP=1 BACNET_DEFINES=" -DPRINT_ENABLED=1 -DBACFILE -DBACAPP_ALL -DBACNET_PROPERTY_LISTS" Then I will be able to build it on ubuntu. |
Hi have been trying to compile but have struck an issue with the current master.
When I compile I get the following on any commit after 1b4cb0e
cc -pthread main.o ../../demo/object/device.o ../../demo/object/nc.o ../../demo/object/access_credential.o ../../demo/object/access_door.o ../../demo/object/access_point.o ../../demo/object/access_rights.o ../../demo/object/access_user.o ../../demo/object/access_zone.o ../../demo/object/credential_data_input.o ../../demo/object/bacfile.o -Wl,-L../../lib,-lbacnet,-lc,-lgcc,-lrt,-lm -o bacserv ../../demo/object/nc.o: In function
Notification_Class_Load_UCI_List':nc.c:(.text+0x1e): undefined reference to
ucix_get_option_int' ../../demo/object/nc.o: In function
Notification_Class_Init':nc.c:(.text+0xcb): undefined reference to
ucix_init' nc.c:(.text+0x122): undefined reference to
ucix_for_each_section_type'nc.c:(.text+0x13d): undefined reference to
ucix_get_option' nc.c:(.text+0x1b6): undefined reference to
ucix_get_option'nc.c:(.text+0x1da): undefined reference to
ucix_get_option_int' nc.c:(.text+0x235): undefined reference to
ucix_string_copy'nc.c:(.text+0x253): undefined reference to
ucix_get_option' nc.c:(.text+0x2d8): undefined reference to
ucix_string_copy'nc.c:(.text+0x31d): undefined reference to
ucix_get_list' nc.c:(.text+0x537): undefined reference to
ucix_cleanup'../../demo/object/nc.o: In function
Notification_Class_Write_Property': nc.c:(.text+0xb7a): undefined reference to
ucix_init'nc.c:(.text+0xe26): undefined reference to
ucix_add_option' nc.c:(.text+0x1430): undefined reference to
ucix_set_list'nc.c:(.text+0x1441): undefined reference to
ucix_commit' nc.c:(.text+0x144d): undefined reference to
ucix_cleanup'collect2: error: ld returned 1 exit status
Makefile:99: recipe for target 'bacserv' failed
`
When checkout 1b4cb0e compiles complete successfully
Any ideas on how to fix ?
The text was updated successfully, but these errors were encountered: